My Project
Loading...
Searching...
No Matches
nforder_ideal.h
Go to the documentation of this file.
1//////////////////////////////////////////
2//////////////////////////////////////////
3//// ideals in oforder ////////////
4//////////////////////////////////////////
5//////////////////////////////////////////
6#ifndef NFORDER_IDEAL_HPP
7#define NFORDER_IDEAL_HPP
8
9#include "coeffs/bigintmat.h"
10
12{
13private:
14 ////////////////////////////////////
15 ////////// Membervariablen /////////
16 ////////////////////////////////////
18 coeffs ord; // but of dynamic type order! (as cring)
20 number den; // fractional ideals....
21public:
22
23 ////////////////////////////////////
24 /// 0 Konstruktoren/Destruktoren ///
25 ////////////////////////////////////
27 void init();
29 number * min, number * min_den,
30 number * norm, number * norm_den,
31 const coeffs ord);
34
36 void Write();
37 char * String();
38 void Print();
39
40 ////////////////////////////////////
41 // +1 Zugriff auf Membervariablen //
42 ////////////////////////////////////
43
45 inline coeffs order() const { return ord; }
46 inline bigintmat * viewBasis() {return basis;};
47 inline bigintmat * getBasis() {return new bigintmat(basis);};
48 inline number viewBasisDen() {return den;};
49 inline int isFractional() {return den!=NULL;};
50 inline void setMinTransfer(number a, number b){min = a; min_den = b;}
51 inline void setNormTransfer(number a, number b){norm = a; norm_den = b;}
52 inline number viewNorm() { return norm;};
53 inline number viewMin() { return norm;};
54 inline void setBasisDenTransfer(number a){den = a;}
55
56 ////////////////////////////////////
57 ////// +2 Elementoperationen ///////
58 ////////////////////////////////////
59 // Addiert/Subtrahiert/Multipliziert zu a das Element b hinzu
60};
61
71#endif
int i
Definition: cfEzgcd.cc:132
CanonicalForm b
Definition: cfModGcd.cc:4103
Matrices of numbers.
Definition: bigintmat.h:51
number viewNorm()
Definition: nforder_ideal.h:52
nforder_ideal()
0 Konstruktoren/Destruktoren ///
void setBasisDenTransfer(number a)
Definition: nforder_ideal.h:54
char * String()
number getNorm()
coeffs order() const
Definition: nforder_ideal.h:45
number getNormDen()
int isFractional()
Definition: nforder_ideal.h:49
void setMinTransfer(number a, number b)
Definition: nforder_ideal.h:50
bigintmat * basis
Definition: nforder_ideal.h:19
nforder_ideal(bigintmat *basis, number *min, number *min_den, number *norm, number *norm_den, const coeffs ord)
bigintmat * getBasis()
Definition: nforder_ideal.h:47
number viewBasisDen()
Definition: nforder_ideal.h:48
bigintmat * viewBasis()
Definition: nforder_ideal.h:46
void setNormTransfer(number a, number b)
Definition: nforder_ideal.h:51
number viewMin()
Definition: nforder_ideal.h:53
number getMinDen()
number getMin()
The main handler for Singular numbers which are suitable for Singular polynomials.
nforder_ideal * nf_idMeet(nforder_ideal *a, nforder_ideal *b)
nforder_ideal * nf_idInit(int, coeffs)
nforder_ideal * nf_idMult(nforder_ideal *a, nforder_ideal *b)
nforder_ideal * nf_idPower(nforder_ideal *a, int b)
nforder_ideal * nf_idAdd(nforder_ideal *a, nforder_ideal *b)
nforder_ideal * nf_idDiv(nforder_ideal *a, nforder_ideal *b)
#define NULL
Definition: omList.c:12