source: git/libpolys/polys/sparsmat.h @ 975db18

spielwiese
Last change on this file since 975db18 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
RevLine 
[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]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);
[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]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);
[35aab3]31
[b78996]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);
[35aab3]36#endif
Note: See TracBrowser for help on using the repository browser.