[BACK]Return to matrix.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

File: [local] / OpenXM / src / kan96xx / Kan / matrix.h (download)

Revision 1.1, Fri Oct 8 02:12:02 1999 UTC (24 years, 8 months ago) by maekawa
Branch: MAIN

Initial revision

/* 1992/09/21,
   The size of the matrix must be (m,n) and (m2,n2) respectively.
   They are older.
*/
#define ind(i,j)   ((i)*n+(j))
#define ind2(i,j)  ((i)*n2+(j))


/* 1992/11/14, they are newer.  struct arrayOfPOLY and matrixOfPOLY */
#define getArrayOfPOLY(ap,i)  (ap->array)[i]
#define getMatrixOfPOLY(mp,i,j) (mp->mat)[(i)*(mp->n)+(j)]