Loading...
Searching...
No Matches
nforder_ideal.h
Go to the documentation of this file.
//////////////////////////////////////////
//////////////////////////////////////////
//// ideals in oforder ////////////
//////////////////////////////////////////
//////////////////////////////////////////
#ifndef NFORDER_IDEAL_HPP
#define NFORDER_IDEAL_HPP
#include "coeffs/bigintmat.h"
class nforder_ideal
{
private:
////////////////////////////////////
////////// Membervariablen /////////
////////////////////////////////////
number norm, norm_den, min, min_den;
coeffs ord; // but of dynamic type order! (as cring)
bigintmat *basis;
number den; // fractional ideals....
public:
////////////////////////////////////
/// 0 Konstruktoren/Destruktoren ///
////////////////////////////////////
nforder_ideal();
void init();
nforder_ideal(bigintmat *basis,
number * min, number * min_den,
number * norm, number * norm_den,
const coeffs ord);
nforder_ideal(bigintmat *basis, const coeffs q);
nforder_ideal(nforder_ideal *i, int);
~nforder_ideal();
void Write();
char * String();
void Print();
////////////////////////////////////
// +1 Zugriff auf Membervariablen //
////////////////////////////////////
number getNorm(), getNormDen(), getMin(), getMinDen();
inline coeffs order() const { return ord; }
inline bigintmat * viewBasis() {return basis;};
inline bigintmat * getBasis() {return new bigintmat(basis);};
inline number viewBasisDen() {return den;};
inline int isFractional() {return den!=NULL;};
inline void setMinTransfer(number a, number b){min = a; min_den = b;}
inline void setNormTransfer(number a, number b){norm = a; norm_den = b;}
inline number viewNorm() { return norm;};
inline number viewMin() { return norm;};
inline void setBasisDenTransfer(number a){den = a;}
////////////////////////////////////
////// +2 Elementoperationen ///////
////////////////////////////////////
// Addiert/Subtrahiert/Multipliziert zu a das Element b hinzu
};
nforder_ideal* nf_idAdd(nforder_ideal *a, nforder_ideal *b);
nforder_ideal* nf_idMult(nforder_ideal *a, nforder_ideal *b);
nforder_ideal* nf_idMult(nforder_ideal *a, number b);
nforder_ideal* nf_idMult(nforder_ideal *a, int b);
nforder_ideal* nf_idPower(nforder_ideal *a, int b);
nforder_ideal* nf_idInit(int, coeffs);
nforder_ideal* nf_idInit(number, coeffs);
nforder_ideal* nf_idDiv(nforder_ideal *a, nforder_ideal *b);
nforder_ideal* nf_idMeet(nforder_ideal *a, nforder_ideal *b);
#endif
bigintmat.h
i
int i
Definition cfEzgcd.cc:132
b
CanonicalForm b
Definition cfModGcd.cc:4111
bigintmat
Matrices of numbers.
Definition bigintmat.h:51
nforder_ideal
Definition nforder_ideal.h:12
nforder_ideal::viewNorm
number viewNorm()
Definition nforder_ideal.h:52
nforder_ideal::min_den
number min_den
Definition nforder_ideal.h:17
nforder_ideal::nforder_ideal
nforder_ideal()
0 Konstruktoren/Destruktoren ///
nforder_ideal::setBasisDenTransfer
void setBasisDenTransfer(number a)
Definition nforder_ideal.h:54
nforder_ideal::~nforder_ideal
~nforder_ideal()
Definition nforder_ideal.cc:86
nforder_ideal::den
number den
Definition nforder_ideal.h:20
nforder_ideal::min
number min
Definition nforder_ideal.h:17
nforder_ideal::ord
coeffs ord
Definition nforder_ideal.h:18
nforder_ideal::String
char * String()
Definition nforder_ideal.cc:74
nforder_ideal::getNorm
number getNorm()
nforder_ideal::order
coeffs order() const
Definition nforder_ideal.h:45
nforder_ideal::norm_den
number norm_den
Definition nforder_ideal.h:17
nforder_ideal::getNormDen
number getNormDen()
nforder_ideal::isFractional
int isFractional()
Definition nforder_ideal.h:49
nforder_ideal::setMinTransfer
void setMinTransfer(number a, number b)
Definition nforder_ideal.h:50
nforder_ideal::Print
void Print()
Definition nforder_ideal.cc:79
nforder_ideal::basis
bigintmat * basis
Definition nforder_ideal.h:19
nforder_ideal::nforder_ideal
nforder_ideal(bigintmat *basis, number *min, number *min_den, number *norm, number *norm_den, const coeffs ord)
nforder_ideal::getBasis
bigintmat * getBasis()
Definition nforder_ideal.h:47
nforder_ideal::viewBasisDen
number viewBasisDen()
Definition nforder_ideal.h:48
nforder_ideal::viewBasis
bigintmat * viewBasis()
Definition nforder_ideal.h:46
nforder_ideal::setNormTransfer
void setNormTransfer(number a, number b)
Definition nforder_ideal.h:51
nforder_ideal::init
void init()
Definition nforder_ideal.cc:17
nforder_ideal::norm
number norm
Definition nforder_ideal.h:17
nforder_ideal::viewMin
number viewMin()
Definition nforder_ideal.h:53
nforder_ideal::Write
void Write()
Definition nforder_ideal.cc:45
nforder_ideal::getMinDen
number getMinDen()
nforder_ideal::getMin
number getMin()
coeffs
The main handler for Singular numbers which are suitable for Singular polynomials.
nf_idMeet
nforder_ideal * nf_idMeet(nforder_ideal *a, nforder_ideal *b)
nf_idInit
nforder_ideal * nf_idInit(int, coeffs)
Definition nforder_ideal.cc:259
nf_idMult
nforder_ideal * nf_idMult(nforder_ideal *a, nforder_ideal *b)
Definition nforder_ideal.cc:170
nf_idPower
nforder_ideal * nf_idPower(nforder_ideal *a, int b)
Definition nforder_ideal.cc:305
nf_idAdd
nforder_ideal * nf_idAdd(nforder_ideal *a, nforder_ideal *b)
Definition nforder_ideal.cc:101
nf_idDiv
nforder_ideal * nf_idDiv(nforder_ideal *a, nforder_ideal *b)
NULL
#define NULL
Definition omList.c:12