represent the matrix P(A) where A is a blackbox and P a polynomial
More...
#include <polynomial.h>
List of all members.
Public Member Functions |
| PolynomialBB (const Blackbox &A, const Polynomial &P) |
| PolynomialBB (const PolynomialBB< Blackbox, Polynomial > &M) |
| ~PolynomialBB (void) |
| Destructor.
|
template<class Vector1 , class Vector2 > |
Vector1 & | apply (Vector1 &y, const Vector2 &x) const |
template<class Vector1 , class Vector2 > |
Vector1 & | applyTranspose (Vector1 &y, const Vector2 &x) const |
size_t | rowdim (void) const |
size_t | coldim (void) const |
Detailed Description
template<class Blackbox, class Poly>
class LinBox::PolynomialBB< Blackbox, Poly >
represent the matrix P(A) where A is a blackbox and P a polynomial
Constructor & Destructor Documentation
PolynomialBB |
( |
const Blackbox & |
A, |
|
|
const Polynomial & |
P |
|
) |
| [inline] |
Constructor from a black box and a polynomial.
Copy constructor. Creates new black box objects in dynamic memory.
- Parameters:
-
M | constant reference to compose black box matrix |
Member Function Documentation
Vector1& apply |
( |
Vector1 & |
y, |
|
|
const Vector2 & |
x |
|
) |
| const [inline] |
Application of BlackBox matrix. y = P(A)x Requires one vector conforming to the LinBox} vector archetype. Required by abstract base class.
- Returns:
- reference to vector y containing output.
- Parameters:
-
x | constant reference to vector to contain input |
Vector1& applyTranspose |
( |
Vector1 & |
y, |
|
|
const Vector2 & |
x |
|
) |
| const [inline] |
Application of BlackBox matrix transpose. y= transpose(A*B)*x. Requires one vector conforming to the LinBox} vector archetype. Required by abstract base class.
- Returns:
- reference to vector y containing output.
- Parameters:
-
x | constant reference to vector to contain input |
size_t rowdim |
( |
void |
| ) |
const [inline] |
Retreive row dimensions of BlackBox matrix. This may be needed for applying preconditioners. Required by abstract base class.
- Returns:
- integer number of rows of black box matrix.
size_t coldim |
( |
void |
| ) |
const [inline] |
Retreive column dimensions of BlackBox matrix. Required by abstract base class.
- Returns:
- integer number of columns of black box matrix.
The documentation for this class was generated from the following file:
- /build/buildd/linbox-1.1.6~rc0/linbox/blackbox/polynomial.h