Return to matrix.h CVS log | Up to [local] / OpenXM / src / kan96xx / Kan |
File: [local] / OpenXM / src / kan96xx / Kan / matrix.h (download)
Revision 1.2, Sun Jan 16 07:55:39 2000 UTC (24 years, 8 months ago) by takayama
Congratulation of sm1 version 3.* ! |
/* $OpenXM: OpenXM/src/kan96xx/Kan/matrix.h,v 1.2 2000/01/16 07:55:39 takayama Exp $ */ /* 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)]