-
Notifications
You must be signed in to change notification settings - Fork 357
Open
Description
Are there any reasons why i
and j
are flipped? I thought it should be a[ (i)*lda + (j) ]
instead of the code below:
#define A(i,j) a[ (j)*lda + (i) ]
Example:
Result of matrices a, b and cref (randomized integers):
// a
83.000000 86.000000
77.000000 15.000000
// b
93.000000 35.000000
86.000000 92.000000
// cref
10463.000000 8544.000000
14284.000000 8803.000000
Metadata
Metadata
Assignees
Labels
No labels