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 >:

Public Member Functions

unsigned long AccBound (const Element r) const
 Max number of operations before reducing.

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.C, examples/solve.C, examples/sparseelimdet.C, and examples/sparseelimrank.C.


Member Function Documentation

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: