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