source: git/Singular/sparsmat.h @ b3f6d8

fieker-DuValspielwiese
Last change on this file since b3f6d8 was b3f6d8, checked in by Wilfred Pohl <pohl@…>, 24 years ago
OLD_DIV for arithmetic git-svn-id: file:///usr/local/Singular/svn/trunk@4135 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 868 bytes
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: sparsmat.h,v 1.4 2000-02-09 08:15:10 pohl Exp $ */
11
12
13poly smMult(poly, poly);
14void smPolyDiv(poly, poly);
15poly smMultDiv(poly, poly, const poly);
16void smSpecialPolyDiv(poly, poly);
17/* ----------------- macros ------------------ */
18#ifdef HAVE_SHIFTED_EXPONENTS
19#define OLD_DIV 1
20#endif
21
22#ifdef OLD_DIV
23#define SM_MULT(A,B,C) smMult(A,B)
24#define SM_DIV smPolyDiv
25#else
26#define SM_MULT smMultDiv
27#define SM_DIV smSpecialPolyDiv
28#endif
29
30poly smCallDet(ideal I);
31lists smCallBareiss(ideal smat, int x, int y);
32lists smCallNewBareiss(ideal smat, int x, int y);
33
34#endif
Note: See TracBrowser for help on using the repository browser.