linbox
|
Companion matrix of a monic polynomial. More...
#include <companion.h>
Inherits SparseMatrix< _Field, _Storage >.
Public Member Functions | |
template<class Polynomial > | |
Companion (const Field &F, const Polynomial &P) | |
This is the n by n companion matrix of a given polynomial of degree n. | |
Companion (const Field &F) | |
zero matrix | |
Companion (const Field &F, size_t n, typename Field::RandIter r) | |
This constructs a random companion matrix. More... | |
Companion (const Field &F, size_t n) | |
This constructs a random companion matrix. More... | |
Companion matrix of a monic polynomial.
|
inline |
This constructs a random companion matrix.
Builds n by n matrix from degree n monic poly with other coefficients random.
|
inline |
This constructs a random companion matrix.
Builds n by n matrix from degree n monic poly with other coefficients random.