Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Companion Struct Template Reference
[linbox/blackbox]

#include <companion.h>

Inheritance diagram for Companion:

TriplesBB BlackboxInterface List of all members.

Detailed Description

template<class _Field>
struct LinBox::Companion< _Field >

Companion matrix of a monic polynomial.


Public Types

typedef _Field Field

Public Methods

template<class Polynomial>  Companion (const Field &F=Field(), const Polynomial &P=Polynomial(1))
 This is the n by n companion matrix of a given polynomial of degree n.

 Companion (const Field &F, size_t n, typename Field::RandIter r)
 Builds n by n matrix from degree n monic poly with other coefficients random.

 Companion (const Field &F, size_t n)


Member Typedef Documentation

typedef _Field Field
 

Reimplemented from TriplesBB.


Constructor & Destructor Documentation

Companion const Field   F = Field(),
const Polynomial   P = Polynomial(1)
[inline]
 

This is the n by n companion matrix of a given polynomial of degree n.

Companion const Field   F,
size_t    n,
typename Field::RandIter    r
[inline]
 

Builds n by n matrix from degree n monic poly with other coefficients random.

This constructs a random companion matrix.

Companion const Field   F,
size_t    n
[inline]
 


Generated on Mon Jun 20 09:16:53 2005 for linbox by doxygen1.2.18