Annotation of OpenXM/src/Ti/matrices.h, Revision 1.1
1.1 ! maekawa 1: /*
! 2: ** matrices.h 4/99
! 3: **
! 4: ** Definition and Minipulation of integer and double matrices and vectors.
! 5: ** vectors are simply C-vectors (with indices starting at zero) and matrices
! 6: ** are stored Numerical Recepies style -- as a vector of pointers to the
! 7: ** rows of the matrix [which are themselves just regular C vectors].
! 8: **
! 9: ** TiGERS, Toric Groebner Basis Enumeration by Reverse Search
! 10: ** copyright (c) 1999 Birk Huber
! 11: */
! 12: #define IMref(M,i,j) ((M)[i][j])
! 13:
! 14:
! 15: int **imatrix_read(FILE *is,int *m, int *n);
! 16: void print_imatrix(FILE *of, char *prefix,int **M, int m, int n);
! 17: int **new_imatrix(int r, int c);
! 18: void free_imatrix(int **M);
! 19: int *new_ivector(int c);
! 20: void free_ivector(int *V);
! 21: double **new_matrix(int r, int c);
! 22: void free_matrix(double **M);
! 23: double *new_vector(int c);
! 24: void free_vector(double *V);
! 25:
! 26:
! 27:
! 28:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>