source: git/libpolys/polys/sparsmat.h @ 4e654a2

spielwiese
Last change on this file since 4e654a2 was b78996, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
FIX: strting to fix sparse matrices (sparsmat.{h, cc})
  • Property mode set to 100644
File size: 1.0 KB
Line 
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
13poly sm_Mult(poly, poly, const ring);
14void sm_PolyDiv(poly, poly, const ring);
15poly sm_MultDiv(poly, poly, const poly, const ring);
16void 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
28poly sm_CallDet(ideal I, const ring);
29void sm_CallBareiss(ideal smat, int x, int y, ideal & M, intvec ** iv, const ring);
30ideal sm_CallSolv(ideal I, const ring);
31
32ring sm_RingChange(const ring, long);
33void sm_KillModifiedRing(ring r);
34long sm_ExpBound(ideal, int, int, int, const ring);
35BOOLEAN sm_CheckDet(ideal, int, BOOLEAN, const ring);
36#endif
Note: See TracBrowser for help on using the repository browser.