42 #ifndef ALAP_MATRIX_ZERO_H
43 #define ALAP_MATRIX_ZERO_H
45 #include "AbstractLinAlgPack_MatrixOp.hpp"
46 #include "AbstractLinAlgPack_VectorSpace.hpp"
48 namespace AbstractLinAlgPack {
92 size_type
rows()
const;
94 size_type
cols()
const;
109 void Mt_S(value_type alpha);
113 std::ostream&
output(std::ostream& out)
const;
141 ,
const Vector& v_rhs2, value_type beta)
const;
151 ,
const Vector& v_rhs3, value_type beta)
const;
161 ,
const Vector& v_rhs3)
const;
177 ,value_type beta )
const;
183 ,value_type beta )
const;
197 void assert_initialized()
const;
203 #endif // ALAP_MATRIX_ZERO_H
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
void syr2k(BLAS_Cpp::Transp M_trans, value_type alpha, const GenPermMatrixSlice &P1, BLAS_Cpp::Transp P1_trans, const GenPermMatrixSlice &P2, BLAS_Cpp::Transp P2_trans, value_type beta, MatrixSymOp *symwo_lhs) const
void initialize(const VectorSpace::space_ptr_t &space_cols, const VectorSpace::space_ptr_t &space_rows)
Initialize (or initialize) given the columns and rows vector spaces.
value_type transVtMtV(const Vector &v_rhs1, BLAS_Cpp::Transp trans_rhs2, const Vector &v_rhs3) const
Interface adding operations specific for a symmetric matrix {abstract}.
Implementation of a matrix with all zeros.
std::ostream & output(std::ostream &out) const
Abstract interface for objects that represent a space for mutable coordinate vectors.
void Vp_StPtMtV(VectorMutable *vs_lhs, value_type alpha, const GenPermMatrixSlice &P_rhs1, BLAS_Cpp::Transp P_rhs1_trans, BLAS_Cpp::Transp M_rhs2_trans, const Vector &v_rhs3, value_type beta) const
void Vp_StMtV(VectorMutable *vs_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2, value_type beta) const
void Mt_S(value_type alpha)
Base class for all matrices that support basic matrix operations.
bool Mp_StM(MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs) const
bool Mp_StPtMtP(MatrixOp *mwo_lhs, value_type alpha, const GenPermMatrixSlice &P_rhs1, BLAS_Cpp::Transp P_rhs1_trans, BLAS_Cpp::Transp M_trans, const GenPermMatrixSlice &P_rhs2, BLAS_Cpp::Transp P_rhs2_trans) const
Abstract interface for mutable coordinate vectors {abstract}.
MatrixOp & operator=(const MatrixOp &M)
MatrixZero(const VectorSpace::space_ptr_t &space_cols=Teuchos::null, const VectorSpace::space_ptr_t &space_rows=Teuchos::null)
Calls this->initalize()
bool syrk(BLAS_Cpp::Transp M_trans, value_type alpha, value_type beta, MatrixSymOp *sym_lhs) const
bool Mp_StMtP(MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp M_trans, const GenPermMatrixSlice &P_rhs, BLAS_Cpp::Transp P_rhs_trans) const
bool Mp_StMtM(MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta) const
const VectorSpace & space_rows() const
Concrete matrix type to represent general permutation (mapping) matrices.
const VectorSpace & space_cols() const
bool Mp_StPtM(MatrixOp *mwo_lhs, value_type alpha, const GenPermMatrixSlice &P_rhs, BLAS_Cpp::Transp P_rhs_trans, BLAS_Cpp::Transp M_trans) const