Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

Transpose Class Template Reference
[linbox/blackbox]

#include <transpose.h>

Inheritance diagram for Transpose:

BlackboxInterface

Detailed Description

template<class Blackbox>
class LinBox::Transpose< Blackbox >

transpose matrix without copying.

Parameters:
Vector {LinBox} dense or sparse vector of field elements


Public Types

typedef Blackbox::Field Field
typedef Blackbox::Element Element

Public Member Functions

 Transpose (const Blackbox &A)
 Transpose (const Blackbox *A_ptr)
 Transpose (const Transpose< Blackbox > &M)
 ~Transpose (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
const Fieldfield () const


Member Typedef Documentation

typedef Blackbox::Field Field
 

typedef Blackbox::Element Element
 


Constructor & Destructor Documentation

Transpose const Blackbox &  A  )  [inline]
 

Constructor from a black box. This constructor creates a matrix that the transpose of a black box matrix A

Parameters:
A_ptr pointer to black box matrix.

Transpose const Blackbox *  A_ptr  )  [inline]
 

Transpose const Transpose< Blackbox > &  M  )  [inline]
 

Copy constructor. Creates new black box objects in dynamic memory.

Parameters:
M constant reference to compose black box matrix

~Transpose void   )  [inline]
 

Destructor.


Member Function Documentation

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

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.

const Field& field  )  const [inline]
 


Generated on Fri Jul 8 10:29:50 2005 for linbox by doxygen 1.3.7