42 #ifndef MULTI_VECTOR_MUTABLE_DENSE_H
43 #define MULTI_VECTOR_MUTABLE_DENSE_H
45 #include "AbstractLinAlgPack_MatrixOpSerial.hpp"
46 #include "AbstractLinAlgPack_MatrixOpGetGMSMutable.hpp"
47 #include "AbstractLinAlgPack_MultiVectorMutable.hpp"
48 #include "DenseLinAlgPack_DMatrixClass.hpp"
49 #include "ReleaseResource.hpp"
51 namespace AbstractLinAlgPack {
100 const size_type
rows = 0
101 ,
const size_type
cols = 0
115 ,
const size_type
cols
183 size_type
rows()
const;
185 size_type
cols()
const;
195 void Mt_S( value_type alpha );
199 std::ostream&
output(std::ostream& out)
const;
219 ,value_type beta )
const;
225 ,value_type beta )
const;
274 EApplyBy apply_by,
const RTOpPack::RTOp& primary_op
275 ,
const size_t num_multi_vecs,
const MultiVector** multi_vecs
278 ,
const index_type primary_first_ele ,
const index_type primary_sub_dim ,
const index_type primary_global_offset
279 ,
const index_type secondary_first_ele ,
const index_type secondary_sub_dim
283 EApplyBy apply_by,
const RTOpPack::RTOp& primary_op,
const RTOpPack::RTOp& secondary_op
284 ,
const size_t num_multi_vecs,
const MultiVector** multi_vecs
287 ,
const index_type primary_first_ele ,
const index_type primary_sub_dim ,
const index_type primary_global_offset
288 ,
const index_type secondary_first_ele ,
const index_type secondary_sub_dim
337 #endif // MULTI_VECTOR_MUTABLE_DENSE_H
void apply_op(EApplyBy apply_by, const RTOpPack::RTOp &primary_op, const size_t num_multi_vecs, const MultiVector **multi_vecs, const size_t num_targ_multi_vecs, MultiVectorMutable **targ_multi_vecs, RTOpPack::ReductTarget *reduct_objs[], const index_type primary_first_ele, const index_type primary_sub_dim, const index_type primary_global_offset, const index_type secondary_first_ele, const index_type secondary_sub_dim) const
std::ostream & output(std::ostream &out) const
vec_mut_ptr_t diag(int k)
void initialize(const size_type rows, const size_type cols)
Call this->initialize(v,v_release) with an allocated DenseLinAlgPack::DVector object.
void Vp_StMtV(DVectorSlice *vs_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta) const
MultiVectorMutable "Adapter" subclass for DenseLinAlgPack::DMatrixSlice or DenseLinAlgPack::DMatrix o...
void free_gms_view(const DMatrixSlice *gms_view) const
multi_vec_mut_ptr_t mv_sub_view(const Range1D &row_rng, const Range1D &col_rng)
void Mt_S(value_type alpha)
bool Mp_StM(MatrixOp *mwo_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs) const
BLAS_Cpp::Transp gms_trans() const
Return if underlying matrix is being viewed as the transpose or non-transposed.
access_by_t access_by() const
Base class for all matrices implemented in a shared memory address space.
bool Mp_StMtM(MatrixOp *mwo_lhs, value_type alpha, const MatrixOp &mwo_rhs1, BLAS_Cpp::Transp trans_rhs1, BLAS_Cpp::Transp trans_rhs2, value_type beta) const
Interface adding operations specific for a symmetric matrix {abstract}.
DMatrixSlice set_gms()
Return the non-const dense matrix.
vec_mut_ptr_t row(index_type i)
const DMatrixSlice get_gms() const
Return a const dense matrix.
Teuchos::RCP< MemMngPack::ReleaseResource > release_resource_ptr_t
const DMatrixSlice get_gms_view() const
vec_mut_ptr_t col(index_type j)
void commit_gms_view(DMatrixSlice *gms_view)
Abstract interface that allows the extraction of a const DMatrixSlice view of an abstract matrix...
Base class for all matrices that support basic matrix operations.
Interface for a collection of non-mutable vectors (multi-vector, matrix).
MultiVectorMutableDense(const size_type rows=0, const size_type cols=0)
Calls this->initialize(rows,cols).
MatrixOp & operator=(const MatrixOp &mwo_rhs)
Interface for a collection of mutable vectors (multi-vector, matrix).
bool syrk(BLAS_Cpp::Transp M_trans, value_type alpha, value_type beta, MatrixSymOp *sym_lhs) const
const release_resource_ptr_t & gms_release() const
Return a RCP<> pointer to the object that will release the associated resource.