MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 More...
 
void AbstractLinAlgPack::Vp_V_assert_compatibility (VectorMutable *v_lhs, const SpVectorSlice &sv_rhs)
 v_lhs += op sv_rhs More...
 
void AbstractLinAlgPack::VopV_assert_compatibility (const Vector &v_rhs1, const Vector &v_rhs2)
 v_rhs1 op v_rhs2 More...
 
void AbstractLinAlgPack::VopV_assert_compatibility (const Vector &v_rhs1, const SpVectorSlice &sv_rhs2)
 v_rhs1 op sv_rhs2 More...
 
void AbstractLinAlgPack::VopV_assert_compatibility (const SpVectorSlice &sv_rhs1, const Vector &v_rhs2)
 sv_rhs1 op v_rhs2 More...
 
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) More...
 
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) More...
 

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 More...
 
void AbstractLinAlgPack::MtV_assert_compatibility (const MatrixOp &m_rhs1, BLAS_Cpp::Transp trans_rhs1, const SpVectorSlice &sv_rhs2)
 op(m_rhs1) * sv_rhs2 More...
 
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 More...
 
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 More...
 

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) More...
 
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) More...
 

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 122 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 125 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 128 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 131 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 134 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 137 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 142 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 147 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 151 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 155 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 160 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 165 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 170 of file AbstractLinAlgPack_AssertOp.hpp.