linbox
|
transpose matrix without copying. More...
#include <squarize.h>
Public Member Functions | |
Squarize (const Blackbox &A) | |
Constructor from a black box. | |
Squarize (const Squarize< Blackbox > &M) | |
Copy constructor. | |
~Squarize (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. |
transpose matrix without copying.
Vector | LinBox dense or sparse vector of field elements |
Squarize | ( | const Blackbox & | A | ) | [inline] |
Constructor from a black box.
This constructor creates a matrix that the transpose of a black box matrix A
A | pointer to black box matrix. |
Copy constructor.
Creates new black box objects in dynamic memory.
M | constant reference to compose black box matrix |
Vector1& apply | ( | Vector1 & | y, |
const Vector2 & | x | ||
) | const [inline] |
Vector1& applyTranspose | ( | Vector1 & | y, |
const Vector2 & | x | ||
) | const [inline] |
size_t rowdim | ( | void | ) | const [inline] |
Retreive row dimensions of BlackBox matrix.
This may be needed for applying preconditioners. Required by abstract base class.
size_t coldim | ( | void | ) | const [inline] |
Retreive column dimensions of BlackBox matrix.
Required by abstract base class.