linbox
Sylvester< _Field > Class Template Reference

This is a representation of the Sylvester matrix of two polynomials. More...

#include <ntl-sylvester.h>

+ Inheritance diagram for Sylvester< _Field >:

Data Structures

struct  rebind
 

Public Types

typedef _Field Field
 
typedef Field::Element element
 

Public Member Functions

 ~Sylvester ()
 
 Sylvester (const Field &F)
 
 Sylvester (const Field F, const std::vector< element > &vpx, const std::vector< element > &vpy)
 
 Sylvester (const BlasVector< Field > &vpx, const BlasVector< Field > &vpy)
 
void print (std::ostream &os=std::cout) const
 
void print (char *outFileName) const
 
void printcp (char *outFileName) const
 
size_t rowdim () const
 
size_t coldim () const
 
size_t sysdim () const
 
const Fieldfield () const
 
template<class OutVector, class InVector>
OutVector & apply (OutVector &v_out, const InVector &v_in) const
 
template<class OutVector, class InVector>
OutVector & applyTranspose (OutVector &v_out, const InVector &v_in) const
 
std::ostream & write (std::ostream &os)
 

Protected Member Functions

size_t pxdeg () const
 
size_t qxdeg () const
 

Protected Attributes

size_t rowDim
 
size_t colDim
 
size_t sysDim
 
NTL::ZZ_pX pxdata
 
NTL::ZZ_pX qxdata
 
std::vector< NTL::ZZ_p > pdata
 
std::vector< NTL::ZZ_p > qdata
 
const FieldK
 

Detailed Description

template<class _Field>
class LinBox::Sylvester< _Field >

This is a representation of the Sylvester matrix of two polynomials.

Member Typedef Documentation

◆ Field

template<class _Field>
typedef _Field Field

◆ element

template<class _Field>
typedef Field::Element element

Constructor & Destructor Documentation

◆ ~Sylvester()

template<class Field>
~Sylvester ( )
inline

◆ Sylvester() [1/3]

template<class Field>
Sylvester ( const Field & F)

◆ Sylvester() [2/3]

template<class Field>
Sylvester ( const Field F,
const std::vector< element > & vpx,
const std::vector< element > & vpy )

◆ Sylvester() [3/3]

template<class Field>
Sylvester ( const BlasVector< Field > & vpx,
const BlasVector< Field > & vpy )

Member Function Documentation

◆ print() [1/2]

template<class Field>
void print ( std::ostream & os = std::cout) const

◆ print() [2/2]

template<class Field>
void print ( char * outFileName) const

◆ printcp()

template<class Field>
void printcp ( char * outFileName) const

◆ rowdim()

template<class _Field>
size_t rowdim ( ) const
inline

◆ coldim()

template<class _Field>
size_t coldim ( ) const
inline

◆ sysdim()

template<class _Field>
size_t sysdim ( ) const
inline

◆ field()

template<class _Field>
const Field & field ( ) const
inline

◆ apply()

template<class Field>
template<class OutVector, class InVector>
OutVector & apply ( OutVector & v_out,
const InVector & v_in ) const

◆ applyTranspose()

template<class Field>
template<class OutVector, class InVector>
OutVector & applyTranspose ( OutVector & v_out,
const InVector & v_in ) const

◆ write()

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

◆ pxdeg()

template<class _Field>
size_t pxdeg ( ) const
inlineprotected

◆ qxdeg()

template<class _Field>
size_t qxdeg ( ) const
inlineprotected

Field Documentation

◆ rowDim

template<class _Field>
size_t rowDim
protected

◆ colDim

template<class _Field>
size_t colDim
protected

◆ sysDim

template<class _Field>
size_t sysDim
protected

◆ pxdata

template<class _Field>
NTL::ZZ_pX pxdata
protected

◆ qxdata

template<class _Field>
NTL::ZZ_pX qxdata
protected

◆ pdata

template<class _Field>
std::vector<NTL::ZZ_p> pdata
protected

◆ qdata

template<class _Field>
std::vector<NTL::ZZ_p> qdata
protected

◆ K

template<class _Field>
const Field& K
protected

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