[35aab3] | 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 | *******************************************************************/ |
---|
[341696] | 10 | /* $Id$ */ |
---|
[35aab3] | 11 | |
---|
| 12 | |
---|
[b78996] | 13 | poly sm_Mult(poly, poly, const ring); |
---|
| 14 | void sm_PolyDiv(poly, poly, const ring); |
---|
| 15 | poly sm_MultDiv(poly, poly, const poly, const ring); |
---|
| 16 | void sm_SpecialPolyDiv(poly, poly, const ring); |
---|
[35aab3] | 17 | /* ----------------- macros ------------------ */ |
---|
| 18 | /* #define OLD_DIV 1 */ |
---|
| 19 | |
---|
| 20 | #ifdef OLD_DIV |
---|
[b78996] | 21 | #define SM_MULT(A,B,C, R) sm_Mult(A,B,R) |
---|
| 22 | #define SM_DIV sm_PolyDiv |
---|
[35aab3] | 23 | #else |
---|
[b78996] | 24 | #define SM_MULT sm_MultDiv |
---|
| 25 | #define SM_DIV sm_SpecialPolyDiv |
---|
[35aab3] | 26 | #endif |
---|
| 27 | |
---|
[b78996] | 28 | poly sm_CallDet(ideal I, const ring); |
---|
| 29 | void sm_CallBareiss(ideal smat, int x, int y, ideal & M, intvec ** iv, const ring); |
---|
| 30 | ideal sm_CallSolv(ideal I, const ring); |
---|
[35aab3] | 31 | |
---|
[b78996] | 32 | ring sm_RingChange(const ring, long); |
---|
| 33 | void sm_KillModifiedRing(ring r); |
---|
| 34 | long sm_ExpBound(ideal, int, int, int, const ring); |
---|
| 35 | BOOLEAN sm_CheckDet(ideal, int, BOOLEAN, const ring); |
---|
[35aab3] | 36 | #endif |
---|