|
linbox
|
represent the matrix P(A) where A is a blackbox and P a polynomial More...
#include <polynomial.h>
Inheritance diagram for PolynomialBB< Blackbox, Poly >:Data Structures | |
| struct | rebind |
Public Types | |
| typedef Blackbox::Field | Field |
| typedef Blackbox::Element | Element |
| typedef Poly | Polynomial |
| typedef PolynomialBB< Blackbox, Polynomial > | Self_t |
Public Member Functions | |
| PolynomialBB (const Blackbox &A, const Polynomial &P) | |
| Constructor from a black box and a polynomial. | |
| PolynomialBB (const Blackbox *A_ptr, const Polynomial *P_ptr) | |
| PolynomialBB (const PolynomialBB< Blackbox, Polynomial > &Mat) | |
| Copy constructor. | |
| ~PolynomialBB (void) | |
| Destructor. | |
| template<class Vector1, class Vector2> | |
| Vector1 & | apply (Vector1 &y, const Vector2 &x) const |
| Application of BlackBox matrix. | |
| template<class Vector1, class Vector2> | |
| Vector1 & | applyTranspose (Vector1 &y, const Vector2 &x) const |
| Application of BlackBox matrix transpose. | |
| size_t | rowdim (void) const |
| Retreive row dimensions of BlackBox matrix. | |
| size_t | coldim (void) const |
| Retreive column dimensions of BlackBox matrix. | |
| const Polynomial * | getPolynomial () const |
| const Blackbox * | getBlackbox () const |
| const Field & | field () const |
represent the matrix P(A) where A is a blackbox and P a polynomial
| typedef Poly Polynomial |
| typedef PolynomialBB<Blackbox,Polynomial> Self_t |
|
inline |
Constructor from a black box and a polynomial.
|
inline |
|
inline |
Copy constructor.
Creates new black box objects in dynamic memory.
| Mat | constant reference to compose black box matrix |
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
Retreive row dimensions of BlackBox matrix.
This may be needed for applying preconditioners. Required by abstract base class.
|
inline |
Retreive column dimensions of BlackBox matrix.
Required by abstract base class.
|
inline |