transpose matrix without copying.
More...
#include <transpose.h>
template<class
Blackbox>
class LinBox::Transpose< Blackbox >
transpose matrix without copying.
- Parameters
-
- Bug
- no write here. test-blackbox.h requires it
- Examples
- examples/minpoly.C, examples/smithsparse.C, and examples/valence.C.
◆ Blackbox_t
◆ Self_t
◆ Field
| typedef Blackbox::Field Field |
◆ Element
◆ Transpose() [1/4]
Constructor from a black box.
This constructor creates a matrix that is the transpose of a black box matrix A
- Parameters
-
| A | pointer to black box matrix. |
◆ Transpose() [2/4]
◆ Transpose() [3/4]
◆ Transpose() [4/4]
Copy constructor.
- Parameters
-
| Mat | constant reference to compose black box matrix |
◆ ~Transpose()
◆ apply()
template<class Vector1, class Vector2>
| Vector1 & apply |
( |
Vector1 & | y, |
|
|
const Vector2 & | x ) const |
|
inline |
Application of BlackBox matrix.
y= (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 |
| y | |
◆ applyTranspose()
template<class Vector1, class Vector2>
| 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 |
| y | |
◆ rowdim()
| 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.
◆ coldim()
| 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.
◆ field()
| const Field & field |
( |
| ) |
const |
|
inline |
◆ getPtr()
◆ write()
| std::ostream & write |
( |
std::ostream & | os | ) |
const |
|
inline |
◆ read()
| std::istream & read |
( |
std::istream & | is | ) |
|
|
inline |
◆ _A_ptr
The documentation for this class was generated from the following file: