#include <Number.h>
|
class | Poly |
|
class | Vector |
|
template<poly_variant , class , class > |
class | PolyBase |
|
class | PolyImpl |
|
Number | operator+ (const Number &n1, const Number &n2) |
|
Number | operator- (const Number &n1, const Number &n2) |
|
Number | operator/ (const Number &n1, const Number &n2) |
|
Number | operator* (const Number &n1, const Number &n2) |
|
bool | operator== (const Number &n1, const Number &n2) |
|
Number | operator+ (const Number &n1, int n2) |
|
Number | operator- (const Number &n1, int n2) |
|
Number | operator/ (const Number &n1, int n2) |
|
Number | operator* (const Number &n1, int n2) |
|
bool | operator== (const Number &n1, int n2) |
|
Number | operator+ (int n1, const Number &n2) |
|
Number | operator- (int n1, const Number &n2) |
|
Number | operator/ (int n1, const Number &n2) |
|
Number | operator* (int n1, const Number &n2) |
|
bool | operator== (int n1, const Number &n2) |
|
Definition at line 33 of file Number.h.
◆ Number() [1/6]
Definition at line 169 of file Number.h.
intrusive_ptr< ip_sring > r
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
◆ Number() [2/6]
Definition at line 177 of file Number.h.
static FORCE_INLINE number n_Copy(number n, const coeffs r)
return a copy of 'n'
◆ Number() [3/6]
Number::Number |
( |
number |
n, |
|
|
ring |
r |
|
) |
| |
|
inline |
◆ Number() [4/6]
Number::Number |
( |
int |
n, |
|
|
ring |
r |
|
) |
| |
|
inline |
◆ Number() [5/6]
Number::Number |
( |
int |
n, |
|
|
intrusive_ptr< ip_sring > |
r |
|
) |
| |
|
inline |
◆ Number() [6/6]
◆ ~Number()
Definition at line 207 of file Number.h.
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
◆ as_number()
number Number::as_number |
( |
| ) |
const |
|
inline |
◆ getRing()
ring Number::getRing |
( |
| ) |
const |
|
inline |
◆ operator*=() [1/2]
Definition at line 91 of file Number.h.
static FORCE_INLINE number n_Mult(number a, number b, const coeffs r)
return the product of 'a' and 'b', i.e., a*b
void WerrorS(const char *s)
◆ operator*=() [2/2]
Number & Number::operator*= |
( |
int |
n2 | ) |
|
|
inline |
◆ operator+=() [1/2]
Definition at line 79 of file Number.h.
static FORCE_INLINE number n_Add(number a, number b, const coeffs r)
return the sum of 'a' and 'b', i.e., a+b
◆ operator+=() [2/2]
Number & Number::operator+= |
( |
int |
n2 | ) |
|
|
inline |
◆ operator-()
Definition at line 72 of file Number.h.
static FORCE_INLINE number n_InpNeg(number n, const coeffs r)
in-place negation of n MUST BE USED: n = n_InpNeg(n) (no copy is returned)
◆ operator-=() [1/2]
Definition at line 103 of file Number.h.
110 number nv=
n_Sub(
n,n2.
n,
r.get()->cf);
static FORCE_INLINE number n_Sub(number a, number b, const coeffs r)
return the difference of 'a' and 'b', i.e., a-b
◆ operator-=() [2/2]
Number & Number::operator-= |
( |
int |
n2 | ) |
|
|
inline |
◆ operator/=() [1/2]
Definition at line 115 of file Number.h.
122 number nv=
n_Div(
n,n2.
n,
r.get()->cf);
static FORCE_INLINE number n_Div(number a, number b, const coeffs r)
return the quotient of 'a' and 'b', i.e., a/b; raises an error if 'b' is not invertible in r exceptio...
◆ operator/=() [2/2]
Number & Number::operator/= |
( |
int |
n2 | ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
Number & Number::operator= |
( |
int |
n2 | ) |
|
|
inline |
◆ write()
void Number::write |
( |
| ) |
const |
|
inline |
Definition at line 202 of file Number.h.
static FORCE_INLINE void n_Write(number n, const coeffs r, const BOOLEAN bShortOut=TRUE)
◆ operator* [1/3]
◆ operator* [2/3]
◆ operator* [3/3]
◆ operator+ [1/3]
◆ operator+ [2/3]
◆ operator+ [3/3]
◆ operator- [1/3]
◆ operator- [2/3]
◆ operator- [3/3]
◆ operator/ [1/3]
◆ operator/ [2/3]
◆ operator/ [3/3]
◆ operator== [1/3]
Definition at line 245 of file Number.h.
static FORCE_INLINE BOOLEAN n_Equal(number a, number b, const coeffs r)
TRUE iff 'a' and 'b' represent the same number; they may have different representations.
◆ operator== [2/3]
◆ operator== [3/3]
◆ Poly
◆ PolyBase
◆ PolyImpl
◆ Vector
The documentation for this class was generated from the following file: