Jet  v1.3.3
Public Member Functions | List of all members
jet::MatrixCsrMatrixMul< T, ME > Class Template Reference

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

#include <jet/matrix_csr.h>

Inheritance diagram for jet::MatrixCsrMatrixMul< T, ME >:
jet::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 jet::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 jet::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 >
jet::MatrixCsrMatrixMul< T, ME >::MatrixCsrMatrixMul ( const MatrixCsr< T > &  m1,
const ME &  m2 
)

Member Function Documentation

◆ cols()

template<typename T , typename ME >
size_t jet::MatrixCsrMatrixMul< T, ME >::cols ( ) const

Number of columns.

◆ operator()()

template<typename T , typename ME >
T jet::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 jet::MatrixCsrMatrixMul< T, ME >::rows ( ) const

Number of rows.

◆ size()

template<typename T , typename ME >
Size2 jet::MatrixCsrMatrixMul< T, ME >::size ( ) const

Size of the matrix.


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