#include <companion.h>
Inheritance diagram for Companion:
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. |
|
This constructs a random companion matrix. Builds n by n matrix from degree n monic poly with other coefficients random. |