AbstractLinAlgPack::MatrixSymIdent Class Reference

Matrix subclass for a scaled identity matrix. More...

#include <AbstractLinAlgPack_MatrixSymIdent.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixSymIdent:

Inheritance graph
List of all members.


 MatrixSymIdent (const VectorSpace::space_ptr_t &vec_space=Teuchos::null, const value_type scale=1.0)
 Calls this->initialize().
void initialize (const VectorSpace::space_ptr_t &vec_space, const value_type scale=1.0)


value_type scale () const

Overridden from MatrixBase

size_type rows () const
 Returns 0 if not initalized.
size_type nz () const
 Returns this->rows().

Overridden from MatrixOp

const VectorSpacespace_cols () const
std::ostream & output (std::ostream &out) const
void Vp_StMtV (VectorMutable *v_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2, value_type beta) const

Overridden from MatrixNonsing

void V_InvMtV (VectorMutable *v_lhs, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2) const

Private Attributes

VectorSpace::space_ptr_t vec_space_
value_type scale_

Detailed Description

Matrix subclass for a scaled identity matrix.

More operations will be overridden as they are needed by various applications.

Definition at line 41 of file AbstractLinAlgPack_MatrixSymIdent.hpp.

Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixSymIdent::MatrixSymIdent ( const VectorSpace::space_ptr_t vec_space = Teuchos::null,
const value_type  scale = 1.0 

Calls this->initialize().

Definition at line 41 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

Member Function Documentation

void AbstractLinAlgPack::MatrixSymIdent::initialize ( const VectorSpace::space_ptr_t vec_space,
const value_type  scale = 1.0 

Definition at line 49 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

value_type AbstractLinAlgPack::MatrixSymIdent::scale (  )  const [inline]

Definition at line 114 of file AbstractLinAlgPack_MatrixSymIdent.hpp.

size_type AbstractLinAlgPack::MatrixSymIdent::rows (  )  const [virtual]

Returns 0 if not initalized.

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 60 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

size_type AbstractLinAlgPack::MatrixSymIdent::nz (  )  const [virtual]

Returns this->rows().

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 65 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

const VectorSpace & AbstractLinAlgPack::MatrixSymIdent::space_cols (  )  const [virtual]

Implements AbstractLinAlgPack::MatrixBase.

Definition at line 72 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

std::ostream & AbstractLinAlgPack::MatrixSymIdent::output ( std::ostream &  out  )  const [virtual]

Reimplemented from AbstractLinAlgPack::MatrixOp.

Definition at line 76 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

void AbstractLinAlgPack::MatrixSymIdent::Vp_StMtV ( VectorMutable v_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2,
value_type  beta 
) const [virtual]

Implements AbstractLinAlgPack::MatrixOp.

Definition at line 82 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

void AbstractLinAlgPack::MatrixSymIdent::V_InvMtV ( VectorMutable v_lhs,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2 
) const [virtual]

Implements AbstractLinAlgPack::MatrixNonsing.

Definition at line 94 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

Member Data Documentation

VectorSpace::space_ptr_t AbstractLinAlgPack::MatrixSymIdent::vec_space_ [private]

Definition at line 105 of file AbstractLinAlgPack_MatrixSymIdent.hpp.

value_type AbstractLinAlgPack::MatrixSymIdent::scale_ [private]

Definition at line 106 of file AbstractLinAlgPack_MatrixSymIdent.hpp.

The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:35:38 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7