1 | #ifndef SPARSEMAT_H |
---|
2 | #define SPARSEMAT_H |
---|
3 | /******************************************************************* |
---|
4 | * Computer Algebra System SINGULAR |
---|
5 | * |
---|
6 | * sparsmat.h: operations with sparse matrices |
---|
7 | * (bareis, ...) |
---|
8 | * |
---|
9 | *******************************************************************/ |
---|
10 | /* $Id: sparsmat.h,v 1.1.1.1 2003-10-06 12:16:03 Singular Exp $ */ |
---|
11 | |
---|
12 | |
---|
13 | poly smMult(poly, poly); |
---|
14 | void smPolyDiv(poly, poly); |
---|
15 | poly smMultDiv(poly, poly, const poly); |
---|
16 | void smSpecialPolyDiv(poly, poly); |
---|
17 | /* ----------------- macros ------------------ */ |
---|
18 | /* #define OLD_DIV 1 */ |
---|
19 | |
---|
20 | #ifdef OLD_DIV |
---|
21 | #define SM_MULT(A,B,C) smMult(A,B) |
---|
22 | #define SM_DIV smPolyDiv |
---|
23 | #else |
---|
24 | #define SM_MULT smMultDiv |
---|
25 | #define SM_DIV smSpecialPolyDiv |
---|
26 | #endif |
---|
27 | |
---|
28 | poly smCallDet(ideal I); |
---|
29 | void smCallBareiss(ideal smat, int x, int y, ideal & M, intvec ** iv); |
---|
30 | void smCallNewBareiss(ideal smat, int x, int y, ideal & M, intvec ** iv); |
---|
31 | ideal smCallSolv(ideal I); |
---|
32 | |
---|
33 | void smRingChange(ring *, sip_sring &, Exponent_t); |
---|
34 | void smRingClean(ring, ip_sring &); |
---|
35 | Exponent_t smExpBound(ideal, int, int, int); |
---|
36 | BOOLEAN smCheckDet(ideal, int, BOOLEAN); |
---|
37 | #endif |
---|