[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.2, Sun Jan 16 07:55:39 2000 UTC (24 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: maekawa-ipv6, R_1_3_1-2, RELEASE_20000124, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, RELEASE_1_1_3, RELEASE_1_1_2, KNOPPIX_2006, HEAD, DEB_REL_1_2_3-9
Changes since 1.1: +1 -0 lines

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)]