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$ */ |
---|
11 | |
---|
12 | |
---|
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); |
---|
17 | /* ----------------- macros ------------------ */ |
---|
18 | /* #define OLD_DIV 1 */ |
---|
19 | |
---|
20 | #ifdef OLD_DIV |
---|
21 | #define SM_MULT(A,B,C, R) sm_Mult(A,B,R) |
---|
22 | #define SM_DIV sm_PolyDiv |
---|
23 | #else |
---|
24 | #define SM_MULT sm_MultDiv |
---|
25 | #define SM_DIV sm_SpecialPolyDiv |
---|
26 | #endif |
---|
27 | |
---|
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); |
---|
31 | |
---|
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); |
---|
36 | #endif |
---|