MOOCHO (Single Doxygen Collection) Version of the Day
Public Types | Public Member Functions | Private Member Functions | Private Attributes
AbstractLinAlgPack::COOMatrixPartitionViewSubclass Class Reference

Implementation of MatrixOp abstract interface for COOMatrixWithPartitionedView::partition_type. More...

#include <AbstractLinAlgPack_COOMatrixPartitionViewSubclass.hpp>

Inheritance diagram for AbstractLinAlgPack::COOMatrixPartitionViewSubclass:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
COOMatrixWithPartitionedView::partition_type 
M
 

Public Member Functions

 COOMatrixPartitionViewSubclass ()
 
 COOMatrixPartitionViewSubclass (BLAS_Cpp::Transp trans)
 
 COOMatrixPartitionViewSubclass (const M &m)
 
 COOMatrixPartitionViewSubclass (const M &m, BLAS_Cpp::Transp trans)
 
void set_trans (BLAS_Cpp::Transp trans)
 
size_type rows () const
 
size_type cols () const
 
MatrixOpoperator= (const MatrixOp &m)
 

Private Member Functions

BLAS_Cpp::Transp op (BLAS_Cpp::Transp trans) const

Private Attributes

M m_
BLAS_Cpp::Transp trans_

Representation access

Mm ()
 Get the underlying M object.
const Mm () const
 

Level-1 BLAS

void Mp_StM (DMatrixSlice *gms_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs) const
 (1) gms_lhs += alpha * op(M_rhs) (BLAS xAXPY)

Level-2 BLAS

void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta) const
 (2) vs_lhs = alpha * op(M_rhs1) * vs_rhs2 + beta * vs_lhs (BLAS xGEMV)
void Vp_StMtV (DVectorSlice *vs_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const SpVectorSlice &sv_rhs2, value_type beta) const
 (3) vs_lhs = alpha * op(M_rhs1) * sv_rhs2 + beta * vs_lhs (BLAS xGEMV)
value_type transVtMtV (const DVectorSlice &vs_rhs1, BLAS_Cpp::Transp trans_rhs2, const DVectorSlice &vs_rhs3) const
 (4) result = vs_rhs1' * op(M_rhs2) * vs_rhs3
value_type transVtMtV (const SpVectorSlice &sv_rhs1, BLAS_Cpp::Transp trans_rhs2, const SpVectorSlice &sv_rhs3) const
 (5) result = sv_rhs1' * op(M_rhs2) * sv_rhs3

Level-3 BLAS

void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const DMatrixSlice &gms_rhs2, BLAS_Cpp::Transp trans_rhs2, value_type beta) const
 (6) gms_lhs = alpha * op(M_rhs1) * op(gms_rhs2) + beta * gms_lhs (right) (xGEMM)
void Mp_StMtM (DMatrixSlice *gms_lhs, value_type alpha, const DMatrixSlice &gms_rhs1, BLAS_Cpp::Transp trans_rhs1, BLAS_Cpp::Transp trans_rhs2, value_type beta) const
 (7) gms_lhs = alpha * op(gms_rhs1) * op(M_rhs2) + beta * gms_lhs (left) (xGEMM)

Detailed Description

Implementation of MatrixOp abstract interface for COOMatrixWithPartitionedView::partition_type.

Definition at line 43 of file AbstractLinAlgPack_COOMatrixPartitionViewSubclass.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

AbstractLinAlgPack::COOMatrixPartitionViewSubclass::COOMatrixPartitionViewSubclass ( ) [inline]
AbstractLinAlgPack::COOMatrixPartitionViewSubclass::COOMatrixPartitionViewSubclass ( BLAS_Cpp::Transp  trans) [inline]
AbstractLinAlgPack::COOMatrixPartitionViewSubclass::COOMatrixPartitionViewSubclass ( const M m) [inline]
AbstractLinAlgPack::COOMatrixPartitionViewSubclass::COOMatrixPartitionViewSubclass ( const M m,
BLAS_Cpp::Transp  trans 
) [inline]

Member Function Documentation

void AbstractLinAlgPack::COOMatrixPartitionViewSubclass::set_trans ( BLAS_Cpp::Transp  trans) [inline]
M& AbstractLinAlgPack::COOMatrixPartitionViewSubclass::m ( ) [inline]

Get the underlying M object.

Definition at line 80 of file AbstractLinAlgPack_COOMatrixPartitionViewSubclass.hpp.

const M& AbstractLinAlgPack::COOMatrixPartitionViewSubclass::m ( ) const [inline]
size_type AbstractLinAlgPack::COOMatrixPartitionViewSubclass::rows ( ) const [virtual]

Reimplemented from AbstractLinAlgPack::MatrixBase.

size_type AbstractLinAlgPack::COOMatrixPartitionViewSubclass::cols ( ) const [virtual]

Reimplemented from AbstractLinAlgPack::MatrixBase.

MatrixOp& AbstractLinAlgPack::COOMatrixPartitionViewSubclass::operator= ( const MatrixOp m) [virtual]

Reimplemented from AbstractLinAlgPack::MatrixOp.

void AbstractLinAlgPack::COOMatrixPartitionViewSubclass::Mp_StM ( DMatrixSlice gms_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs 
) const

(1) gms_lhs += alpha * op(M_rhs) (BLAS xAXPY)

void AbstractLinAlgPack::COOMatrixPartitionViewSubclass::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const DVectorSlice vs_rhs2,
value_type  beta 
) const

(2) vs_lhs = alpha * op(M_rhs1) * vs_rhs2 + beta * vs_lhs (BLAS xGEMV)

void AbstractLinAlgPack::COOMatrixPartitionViewSubclass::Vp_StMtV ( DVectorSlice vs_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const SpVectorSlice sv_rhs2,
value_type  beta 
) const

(3) vs_lhs = alpha * op(M_rhs1) * sv_rhs2 + beta * vs_lhs (BLAS xGEMV)

value_type AbstractLinAlgPack::COOMatrixPartitionViewSubclass::transVtMtV ( const DVectorSlice vs_rhs1,
BLAS_Cpp::Transp  trans_rhs2,
const DVectorSlice vs_rhs3 
) const

(4) result = vs_rhs1' * op(M_rhs2) * vs_rhs3

value_type AbstractLinAlgPack::COOMatrixPartitionViewSubclass::transVtMtV ( const SpVectorSlice sv_rhs1,
BLAS_Cpp::Transp  trans_rhs2,
const SpVectorSlice sv_rhs3 
) const [virtual]

(5) result = sv_rhs1' * op(M_rhs2) * sv_rhs3

Reimplemented from AbstractLinAlgPack::MatrixOp.

void AbstractLinAlgPack::COOMatrixPartitionViewSubclass::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
BLAS_Cpp::Transp  trans_rhs1,
const DMatrixSlice gms_rhs2,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta 
) const

(6) gms_lhs = alpha * op(M_rhs1) * op(gms_rhs2) + beta * gms_lhs (right) (xGEMM)

void AbstractLinAlgPack::COOMatrixPartitionViewSubclass::Mp_StMtM ( DMatrixSlice gms_lhs,
value_type  alpha,
const DMatrixSlice gms_rhs1,
BLAS_Cpp::Transp  trans_rhs1,
BLAS_Cpp::Transp  trans_rhs2,
value_type  beta 
) const

(7) gms_lhs = alpha * op(gms_rhs1) * op(M_rhs2) + beta * gms_lhs (left) (xGEMM)

BLAS_Cpp::Transp AbstractLinAlgPack::COOMatrixPartitionViewSubclass::op ( BLAS_Cpp::Transp  trans) const [inline, private]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines