Assertion functions for linear algebra operations.


Level 1 BLAS

void AbstractLinAlgPack::Vp_V_assert_compatibility (VectorMutable *v_lhs, const Vector &v_rhs)
 v_lhs += op v_rhs
void AbstractLinAlgPack::Vp_V_assert_compatibility (VectorMutable *v_lhs, const SpVectorSlice &sv_rhs)
 v_lhs += op sv_rhs
void AbstractLinAlgPack::VopV_assert_compatibility (const Vector &v_rhs1, const Vector &v_rhs2)
 v_rhs1 op v_rhs2
void AbstractLinAlgPack::VopV_assert_compatibility (const Vector &v_rhs1, const SpVectorSlice &sv_rhs2)
 v_rhs1 op sv_rhs2
void AbstractLinAlgPack::VopV_assert_compatibility (const SpVectorSlice &sv_rhs1, const Vector &v_rhs2)
 sv_rhs1 op v_rhs2
void AbstractLinAlgPack::Mp_M_assert_compatibility (MatrixOp *m_lhs, BLAS_Cpp::Transp trans_lhs, const MatrixOp &m_rhs, BLAS_Cpp::Transp trans_rhs)
 op(m_lhs) += op op(m_rhs)
void AbstractLinAlgPack::MopM_assert_compatibility (const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &m_rhs2, BLAS_Cpp::Transp trans_rhs2)
 op(m_rhs1) op op(m_rhs2)

Level 2 BLAS

void AbstractLinAlgPack::MtV_assert_compatibility (const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2)
 op(m_rhs1) * v_rhs2
void AbstractLinAlgPack::MtV_assert_compatibility (const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const SpVectorSlice &sv_rhs2)
 op(m_rhs1) * sv_rhs2
void AbstractLinAlgPack::Vp_MtV_assert_compatibility (VectorMutable *v_lhs, const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2)
 v_lhs += op(m_rhs1) * v_rhs2
void AbstractLinAlgPack::Vp_MtV_assert_compatibility (VectorMutable *v_lhs, const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const SpVectorSlice &sv_rhs2)
 v_lhs += op(m_rhs1) * sv_rhs2

Level 3 BLAS

void AbstractLinAlgPack::MtM_assert_compatibility (const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &m_rhs2, BLAS_Cpp::Transp trans_rhs2)
 op(m_lhs) += op(m_rhs1)
void AbstractLinAlgPack::Mp_MtM_assert_compatibility (MatrixOp *m_lhs, BLAS_Cpp::Transp trans_lhs, const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &m_rhs2, BLAS_Cpp::Transp trans_rhs2)
 op(m_lhs) += op(m_rhs1) * op(m_rhs2)

Detailed Description

These functions check the compatibility of the vector spaces for many different types of linear algebra operations and throw VectorSpace::IncompatibleVectorSpaces expressions if the vector spaces do not match. These functions only perform there checks if ABSTRACTLINALGPACK_ASSERT_COMPATIBILITY is defined. These functions will also throw std::invalid_argument if a lhs argument is NULL.

Function Documentation

void AbstractLinAlgPack::Vp_V_assert_compatibility ( VectorMutable *  v_lhs,
const Vector &  v_rhs 
) [inline]

v_lhs += op v_rhs

Definition at line 109 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::Vp_V_assert_compatibility ( VectorMutable *  v_lhs,
const SpVectorSlice &  sv_rhs 
) [inline]

v_lhs += op sv_rhs

Definition at line 112 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::VopV_assert_compatibility ( const Vector &  v_rhs1,
const Vector &  v_rhs2 
) [inline]

v_rhs1 op v_rhs2

Definition at line 115 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::VopV_assert_compatibility ( const Vector &  v_rhs1,
const SpVectorSlice &  sv_rhs2 
) [inline]

v_rhs1 op sv_rhs2

Definition at line 118 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::VopV_assert_compatibility ( const SpVectorSlice &  sv_rhs1,
const Vector &  v_rhs2 
) [inline]

sv_rhs1 op v_rhs2

Definition at line 121 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::Mp_M_assert_compatibility ( MatrixOp *  m_lhs,
BLAS_Cpp::Transp  trans_lhs,
const MatrixOp &  m_rhs,
BLAS_Cpp::Transp  trans_rhs 
) [inline]

op(m_lhs) += op op(m_rhs)

Definition at line 124 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::MopM_assert_compatibility ( const MatrixOp &  m_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const MatrixOp &  m_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
) [inline]

op(m_rhs1) op op(m_rhs2)

Definition at line 129 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::MtV_assert_compatibility ( const MatrixOp &  m_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const Vector &  v_rhs2 
) [inline]

op(m_rhs1) * v_rhs2

Definition at line 134 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::MtV_assert_compatibility ( const MatrixOp &  m_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const SpVectorSlice &  sv_rhs2 
) [inline]

op(m_rhs1) * sv_rhs2

Definition at line 138 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::Vp_MtV_assert_compatibility ( VectorMutable *  v_lhs,
const MatrixOp &  m_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const Vector &  v_rhs2 
) [inline]

v_lhs += op(m_rhs1) * v_rhs2

Definition at line 142 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::Vp_MtV_assert_compatibility ( VectorMutable *  v_lhs,
const MatrixOp &  m_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const SpVectorSlice &  sv_rhs2 
) [inline]

v_lhs += op(m_rhs1) * sv_rhs2

Definition at line 147 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::MtM_assert_compatibility ( const MatrixOp &  m_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const MatrixOp &  m_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
) [inline]

op(m_lhs) += op(m_rhs1)

Definition at line 152 of file AbstractLinAlgPack_AssertOp.hpp.

void AbstractLinAlgPack::Mp_MtM_assert_compatibility ( MatrixOp *  m_lhs,
BLAS_Cpp::Transp  trans_lhs,
const MatrixOp &  m_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
const MatrixOp &  m_rhs2,
BLAS_Cpp::Transp  trans_rhs2 
) [inline]

op(m_lhs) += op(m_rhs1) * op(m_rhs2)

Definition at line 157 of file AbstractLinAlgPack_AssertOp.hpp.


Generated on Tue Jul 13 09:28:54 2010 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by  doxygen 1.4.7