#include "gfanlib/gfanlib.h"
#include "coeffs/bigintmat.h"
#include "coeffs/longrat.h"
#include "coeffs/numbers.h"
Go to the source code of this file.
◆ bigintmatToZMatrix()
Definition at line 57 of file callgfanlib_conversion.cc.
58{
64 {
69 }
71}
#define BIMATELEM(M, I, J)
gfan::Integer * numberToInteger(const number &n)
◆ bigintmatToZVector()
◆ expvToZVector()
◆ integerToNumber()
Definition at line 9 of file callgfanlib_conversion.cc.
10{
14
16
19}
static FORCE_INLINE number n_InitMPZ(mpz_t n, const coeffs r)
conversion of a GMP integer to number
◆ intStar2ZVector()
◆ numberToInteger()
◆ rays()
◆ toFanStar()
Definition at line 137 of file callgfanlib_conversion.cc.
138{
140 {
146 }
147 else
149}
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
◆ toString()
Definition at line 127 of file callgfanlib_conversion.cc.
128{
133 delete bim;
135}
bigintmat * zMatrixToBigintmat(const gfan::ZMatrix &zm)
char * StringAsPrinted()
Returns a string as it would have been printed in the interpreter.
const CanonicalForm int s
◆ wvhdlEntryToZVector()
◆ zMatrixToBigintmat()
Definition at line 34 of file callgfanlib_conversion.cc.
35{
40 for(
int j=1;
j<=n;
j++)
41 {
45 }
46 return bim;
47}
number integerToNumber(const gfan::Integer &I)
void set(int i, int j, number n, const coeffs C=NULL)
replace an entry with a copy (delete old + copy new!). NOTE: starts at [1,1]
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
◆ zVectorToBigintmat()
◆ ZVectorToIntStar()
Definition at line 110 of file callgfanlib_conversion.cc.
111{
113 for (
unsigned i=0;
i<
v.size();
i++)
114 {
116 {
118 WerrorS(
"int overflow converting gfan:ZVector to int*");
119 overflow = true;
121 }
123 }
125}
const Variable & v
< [in] a sqrfree bivariate poly
void WerrorS(const char *s)