AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects Version of the Day
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

Detailed Description

Matrix subclass for a scaled identity matrix.

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

Definition at line 54 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 54 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 62 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

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

Definition at line 127 of file AbstractLinAlgPack_MatrixSymIdent.hpp.

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

Returns 0 if not initalized.

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 73 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

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

Returns this->rows()

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 78 of file AbstractLinAlgPack_MatrixSymIdent.cpp.

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

Reimplemented from AbstractLinAlgPack::MatrixOp.

Definition at line 89 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]
void AbstractLinAlgPack::MatrixSymIdent::V_InvMtV ( VectorMutable v_lhs,
BLAS_Cpp::Transp  trans_rhs1,
const Vector v_rhs2 
) const [virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends