linbox
Hilbert< _Field > Class Template Reference

Example of a blackbox that is space efficient, though not time efficient. More...

#include <hilbert.h>

+ Inheritance diagram for Hilbert< _Field >:

Public Types

typedef _Field Field
 
typedef Field::Element Element
 
typedef MatrixCategories::BlackboxTag MatrixCategory
 

Public Member Functions

 Hilbert (const Field &F, size_t n=0)
 Constructor from field and size.
 
std::ostream & write (std::ostream &os) const
 
std::istream & read (std::istream &is)
 
 Hilbert (MatrixStream< _Field > &ms)
 
OutVector & apply (OutVector &y, const InVector &x) const
 
OutVector & applyTranspose (OutVector &y, const InVector &x) const
 
size_t rowdim (void) const
 
size_t coldim (void) const
 
const Fieldfield () const
 

Protected Attributes

const Field_field
 
size_t _m
 
size_t _n
 
Hilbert_JIT_Entry< _Field > _gen
 

Detailed Description

template<typename _Field>
class LinBox::Hilbert< _Field >

Example of a blackbox that is space efficient, though not time efficient.

Blackbox for the matrix whose i,j entry is 1/(i+j), i in 1..n, j in 1..n.

Member Typedef Documentation

◆ Field

template<typename _Field>
typedef _Field Field

◆ Element

typedef Field::Element Element
inherited

◆ MatrixCategory

Constructor & Destructor Documentation

◆ Hilbert() [1/2]

template<typename _Field>
Hilbert ( const Field & F,
size_t n = 0 )
inline

Constructor from field and size.

Parameters
Fthe field.
nthe size : size_t integer number of rows and columns of matrix.

◆ Hilbert() [2/2]

template<typename _Field>
Hilbert ( MatrixStream< _Field > & ms)
inline

Member Function Documentation

◆ write()

template<typename _Field>
std::ostream & write ( std::ostream & os) const
inline

◆ read()

template<typename _Field>
std::istream & read ( std::istream & is)
inline

◆ apply()

OutVector & apply ( OutVector & y,
const InVector & x ) const
inlineinherited

◆ applyTranspose()

OutVector & applyTranspose ( OutVector & y,
const InVector & x ) const
inlineinherited

◆ rowdim()

size_t rowdim ( void ) const
inlineinherited

◆ coldim()

size_t coldim ( void ) const
inlineinherited

◆ field()

const Field & field ( ) const
inlineinherited

Field Documentation

◆ _field

const Field* _field
protectedinherited

◆ _m

size_t _m
protectedinherited

◆ _n

size_t _n
protectedinherited

◆ _gen

Hilbert_JIT_Entry< _Field > _gen
protectedinherited

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