linbox
rational-solver-sn.inl File Reference

Macros

#define debug(x)
 
#define debug2(x, y)
 
#define debugneol(x)
 
#define log_2(x)
 

Functions

int zw_shift (NumericSolver &NS_S, size_t n, FVector &r, FVector &x)
 
template<class IMatrix>
int rat_sol (IVector &numx, Int &denx, FVector &xs_int, FVector &xs_frac, IVector &b, IVector &lastb, FVector &r, FVector &lastr, FVector &x, integer &loopBound, IMatrix &IM)
 
void upshift ()
 
void downshift ()
 
void update_xs (FVector &xs_int, FVector &xs_frac, FVector &x)
 
void update_r (FVector &r, FVector &xs_int)
 
template<class IMatrix>
void update_r_exact (IVector &r_exact, FVector &r, FVector &xs_int, IMatrix &IM)
 
IVector & update_num (IVector &num, const FVector &d)
 
template<class Vec>
std::ostream & writeVec (Vec &out, const char *tag="", integer bound=0, size_t numEntries=5, std::ostream &os=std::cerr)
 
template<class Vec>
void writeVecFile (Vec &out, const char *file)
 
template<class Matrix>
void dumpData (const Matrix &M, const IVector &b, IVector &numx, integer &denx, integer &denBound)
 

Macro Definition Documentation

◆ debug

#define debug ( x)

◆ debug2

#define debug2 ( x,
y )

◆ debugneol

#define debugneol ( x)

◆ log_2

#define log_2 ( x)
Value:
(log(x)/M_LN2)

Function Documentation

◆ zw_shift()

int zw_shift ( NumericSolver & NS_S,
size_t n,
FVector & r,
FVector & x )

◆ rat_sol()

template<class IMatrix>
int rat_sol ( IVector & numx,
Int & denx,
FVector & xs_int,
FVector & xs_frac,
IVector & b,
IVector & lastb,
FVector & r,
FVector & lastr,
FVector & x,
integer & loopBound,
IMatrix & IM )

◆ upshift()

void upshift ( )
inline

◆ downshift()

void downshift ( )
inline

◆ update_xs()

void update_xs ( FVector & xs_int,
FVector & xs_frac,
FVector & x )
inline

◆ update_r()

void update_r ( FVector & r,
FVector & xs_int )
inline

◆ update_r_exact()

template<class IMatrix>
void update_r_exact ( IVector & r_exact,
FVector & r,
FVector & xs_int,
IMatrix & IM )
inline

◆ update_num()

IVector & update_num ( IVector & num,
const FVector & d )
inline

◆ writeVec()

template<class Vec>
std::ostream & writeVec ( Vec & out,
const char * tag = "",
integer bound = 0,
size_t numEntries = 5,
std::ostream & os = std::cerr )

◆ writeVecFile()

template<class Vec>
void writeVecFile ( Vec & out,
const char * file )

◆ dumpData()

template<class Matrix>
void dumpData ( const Matrix & M,
const IVector & b,
IVector & numx,
integer & denx,
integer & denBound )