Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class 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 Member Functions

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)
 This constructs a random companion matrix.


Constructor & Destructor Documentation

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

This constructs a random companion matrix.

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


The documentation for this struct was generated from the following file:
Generated on Thu Feb 8 22:32:57 2007 for linbox by doxygen 1.3.4