source: git/libpolys/coeffs/shortfl.h @ 0acf3e

spielwiese
Last change on this file since 0acf3e was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[35aab3]1#ifndef SHORTFL_H
2#define SHORTFL_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/*
7* ABSTRACT
8*/
[2d805a]9#include <coeffs/coeffs.h>
[35aab3]10
[51d835]11
12/// Get a mapping function from src into the domain of this type: n_R
13nMapFunc nrSetMap(const coeffs src, const coeffs dst);
14
15/// Initialize r
[1cce47]16BOOLEAN nrInitChar(coeffs r, void*);
[51d835]17
[2b957a]18// Private interface should be hidden!!!
[51d835]19
[7d90aa]20BOOLEAN nrGreaterZero (number k, const coeffs r);
21number  nrMult        (number a, number b, const coeffs r);
[2f3764]22number  nrInit        (long i, const coeffs r);
[7d90aa]23int     nrInt         (number &n, const coeffs r);
24number  nrAdd         (number a, number b, const coeffs r);
25number  nrSub         (number a, number b, const coeffs r);
26void    nrPower       (number a, int i, number * result, const coeffs r);
27BOOLEAN nrIsZero      (number a, const coeffs r);
28BOOLEAN nrIsOne       (number a, const coeffs r);
29BOOLEAN nrIsMOne      (number a, const coeffs r);
30number  nrDiv         (number a, number b, const coeffs r);
31number  nrNeg         (number c, const coeffs r);
32number  nrInvers      (number c, const coeffs r);
33BOOLEAN nrGreater     (number a, number b, const coeffs r);
34BOOLEAN nrEqual       (number a, number b, const coeffs r);
35void    nrWrite       (number &a, const coeffs r);
36const char *  nrRead  (const char *s, number *a, const coeffs r);
[35aab3]37#ifdef LDEBUG
[3aae0e]38BOOLEAN nrDBTest(number a, const coeffs r, const char *f, const int l);
[35aab3]39#endif
[51d835]40
[35aab3]41
42
[3aae0e]43// Where are the following used?
44// int     nrGetChar();
[7089a9]45number nrMapQ(number from, const coeffs r, const coeffs aRing);
[3aae0e]46
47
48/// Converts a n_R number into a float. Needed by Maps
[51d835]49float   nrFloat(number n);
50
[3aae0e]51
[35aab3]52#endif
53
Note: See TracBrowser for help on using the repository browser.