42 #ifndef MULTI_VECTOR_MUTABLE_DENSE_H
43 #define MULTI_VECTOR_MUTABLE_DENSE_H
51 namespace AbstractLinAlgPack {
199 std::ostream&
output(std::ostream&
out)
const;
275 ,
const size_t num_multi_vecs,
const MultiVector** multi_vecs
277 ,RTOpPack::ReductTarget* reduct_objs[]
284 ,
const size_t num_multi_vecs,
const MultiVector** multi_vecs
286 ,RTOpPack::ReductTarget *reduct_obj
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)
release_resource_ptr_t gms_release_
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
RTOp_index_type index_type
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)
RTOp_value_type value_type
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
. One-based subregion index range class.
RTOpT< RTOp_value_type > RTOp
RTOp_index_type size_type
Abstract interface for releasing an object when it is not needed anymore {abstract}.
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...
BLAS_Cpp::Transp gms_trans_
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.