Skip to main content
7 events
when toggle format what by license comment
Jan 12, 2021 at 13:13 comment added brhans Since this is C you're using, what makes you think that your 'matrix' is not already an array? C doesn't have a 'matrix' datatype - so what else could it be other than an array? There's no conversion necessary...
Jan 12, 2021 at 8:10 answer added Mohammad timeline score: 1
Jan 12, 2021 at 6:02 comment added Souvik Saha I've added the link for the particular matrix operations I'm mentioning
Jan 12, 2021 at 6:00 history edited Souvik Saha CC BY-SA 4.0
clarification
Jan 12, 2021 at 5:13 comment added DKNguyen I have no idea what this matrix type you are talking about is, but I'm guessing you could make a pointer to it and trick C into think this matrix type is an array which lets you access it as an array. But if the matrix type isn't implemented in memory as expected it could also destroy things.
Jan 12, 2021 at 4:52 comment added user57037 Are you programming in C or C++? And what is this matrix thing you are talking about. I just leafed through my copy of "The C Programming Language" by Kernighan and Ritchie and there was no mention of matrixes. OK. I am being a bit of a smart alec. But the point is, it is not clear what this matrix thing is, so it will be hard to tell you how to convert it.
Jan 12, 2021 at 4:38 history asked Souvik Saha CC BY-SA 4.0