CubbyFlow::MatrixCSRMatrixMul< T, ME > Class Template Reference

Matrix expression for CSR matrix-matrix multiplication. More...

#include <Core/Matrix/MatrixCSR.h>

Inheritance diagram for CubbyFlow::MatrixCSRMatrixMul< T, ME >:
CubbyFlow::MatrixExpression< T, MatrixCSRMatrixMul< T, ME > >

Public Member Functions

 MatrixCSRMatrixMul (const MatrixCSR< T > &m1, const ME &m2)
 
Size2 size () const
 Size of the matrix. More...
 
size_t Rows () const
 Number of rows. More...
 
size_t Cols () const
 Number of columns. More...
 
operator() (size_t i, size_t j) const
 Returns matrix element at (i, j). More...
 
- Public Member Functions inherited from CubbyFlow::MatrixExpression< T, MatrixCSRMatrixMul< T, ME > >
Size2 size () const
 Size of the matrix. More...
 
size_t Rows () const
 Number of rows. More...
 
size_t Cols () const
 Number of columns. More...
 
const MatrixCSRMatrixMul< T, ME > & operator() () const
 Returns actual implementation (the subclass). More...
 

Detailed Description

template<typename T, typename ME>
class CubbyFlow::MatrixCSRMatrixMul< T, ME >

Matrix expression for CSR matrix-matrix multiplication.

This matrix expression represents a CSR matrix-matrix operation that takes one CSR input matrix expression and one (probably dense) matrix expression.

Template Parameters
TElement value type.
MEMatrix expression.

Constructor & Destructor Documentation

◆ MatrixCSRMatrixMul()

template<typename T , typename ME >
CubbyFlow::MatrixCSRMatrixMul< T, ME >::MatrixCSRMatrixMul ( const MatrixCSR< T > &  m1,
const ME &  m2 
)

Member Function Documentation

◆ Cols()

template<typename T , typename ME >
size_t CubbyFlow::MatrixCSRMatrixMul< T, ME >::Cols ( ) const

Number of columns.

◆ operator()()

template<typename T , typename ME >
T CubbyFlow::MatrixCSRMatrixMul< T, ME >::operator() ( size_t  i,
size_t  j 
) const

Returns matrix element at (i, j).

◆ Rows()

template<typename T , typename ME >
size_t CubbyFlow::MatrixCSRMatrixMul< T, ME >::Rows ( ) const

Number of rows.

◆ size()

template<typename T , typename ME >
Size2 CubbyFlow::MatrixCSRMatrixMul< T, ME >::size ( ) const

Size of the matrix.


The documentation for this class was generated from the following files: