linbox
Public Member Functions
Modular< double > Class Template Reference

Standard representation of $\mathbf{Z}/m\mathbf{Z}$. More...

#include <modular-double.h>

+ Inheritance diagram for Modular< double >:
+ Collaboration diagram for Modular< double >:

Public Member Functions

const Modular< double > & operator= (const Modular< double > &F)
 
unsigned long AccBound (const Element r) const
 Max number of operations before reducing. More...
 

Detailed Description

template<>
class LinBox::Modular< double >

Standard representation of $\mathbf{Z}/m\mathbf{Z}$.

If m is the modulus, then elements are represented in

\[ \left \llbracket 0, m-1 \right \rrbracket.\]

Examples:
examples/charpoly.C, examples/checksolve.C, examples/det.C, examples/echelon.C, examples/minpoly.C, examples/smithvalence.h, examples/solve.C, examples/sparseelimdet.C, and examples/sparseelimrank.C.

Member Function Documentation

const Modular<double>& operator= ( const Modular< double > &  F)
inline
Bug:
use FFPACK operator
unsigned long AccBound ( const Element  r) const
inline

Max number of operations before reducing.

Parameters
rif r=0, we consider how many += are performable. if r=1, then we look for the maximum axpy operations doable.
Returns
0 if the field is too big, a positive number otherwise, -1 if infinity on general fields, it is 1.

The documentation for this class was generated from the following file: