42 #ifndef MATRIX_PERM_AGGR_H
43 #define MATRIX_PERM_AGGR_H
45 #include "AbstractLinAlgPack_MatrixOp.hpp"
47 namespace AbstractLinAlgPack {
143 size_type
rows()
const;
145 size_type
cols()
const;
147 size_type
nz()
const;
163 std::ostream&
output(std::ostream& out)
const;
193 ,
const Vector& v_rhs2, value_type beta)
const;
203 ,
const Vector& v_rhs3, value_type beta)
const;
213 ,
const Vector& v_rhs3)
const;
243 #ifdef DOXYGEN_COMPILE
261 const MatrixOp::mat_ptr_t&
289 #endif // MATRIX_PERM_AGGR_H
MatrixOp & operator=(const MatrixOp &M)
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
const VectorSpace & space_cols() const
value_type transVtMtV(const Vector &v_rhs1, BLAS_Cpp::Transp trans_rhs2, const Vector &v_rhs3) const
bool syrk(BLAS_Cpp::Transp M_trans, value_type alpha, value_type beta, MatrixSymOp *sym_lhs) const
Aggregate matrix class for a matrix and its permuted view.
const perm_ptr_t & row_perm() const
const VectorSpace & space_rows() const
void Vp_StMtV(VectorMutable *vs_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2, value_type beta) const
Interface adding operations specific for a symmetric matrix {abstract}.
const mat_ptr_t & mat_orig() const
void initialize(const mat_ptr_t &mat_orig, const perm_ptr_t &row_perm, const perm_ptr_t &col_perm, const mat_ptr_t &mat_perm)
Initialize.
MatrixPermAggr()
Construct to uninitialized.
Teuchos::RCP< const Permutation > perm_ptr_t
Abstract interface for objects that represent a space for mutable coordinate vectors.
const mat_ptr_t & mat_perm() const
MatrixOp::mat_ptr_t sub_view(const Range1D &row_rng, const Range1D &col_rng) 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
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
Base class for all matrices that support basic matrix operations.
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 perm_ptr_t & col_perm() const
Abstract interface to permutation matrices.
void set_uninitialized()
Set uninitialized.
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
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
Abstract interface for mutable coordinate vectors {abstract}.
std::ostream & output(std::ostream &out) const
bool Mp_StM(MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs) const
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
Concrete matrix type to represent general permutation (mapping) matrices.