Annotation of OpenXM/src/kan96xx/Kan/matrix.h, Revision 1.1
1.1 ! maekawa 1: /* 1992/09/21,
! 2: The size of the matrix must be (m,n) and (m2,n2) respectively.
! 3: They are older.
! 4: */
! 5: #define ind(i,j) ((i)*n+(j))
! 6: #define ind2(i,j) ((i)*n2+(j))
! 7:
! 8:
! 9: /* 1992/11/14, they are newer. struct arrayOfPOLY and matrixOfPOLY */
! 10: #define getArrayOfPOLY(ap,i) (ap->array)[i]
! 11: #define getMatrixOfPOLY(mp,i,j) (mp->mat)[(i)*(mp->n)+(j)]
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>