CubbyFlow::MatrixMul< T, E1, E2 > Class Template Reference

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

#include <Core/Matrix/MatrixExpression.h>

Inheritance diagram for CubbyFlow::MatrixMul< T, E1, E2 >:
CubbyFlow::MatrixExpression< T, MatrixMul< T, E1, E2 > >

Public Member Functions

 MatrixMul (const E1 &u, const E2 &v)
 Constructs matrix-matrix multiplication expression for given two input matrices. More...
 
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, MatrixMul< T, E1, E2 > >
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 MatrixMul< T, E1, E2 > & operator() () const
 Returns actual implementation (the subclass). More...
 

Detailed Description

template<typename T, typename E1, typename E2>
class CubbyFlow::MatrixMul< T, E1, E2 >

Matrix expression for matrix-matrix multiplication.

This matrix expression represents a matrix-matrix operation that takes two input matrices.

Template Parameters
TElement value type.
E1- First input expression type.
E2- Second input expression type.

Constructor & Destructor Documentation

◆ MatrixMul()

template<typename T , typename E1 , typename E2 >
CubbyFlow::MatrixMul< T, E1, E2 >::MatrixMul ( const E1 &  u,
const E2 &  v 
)

Constructs matrix-matrix multiplication expression for given two input matrices.

Member Function Documentation

◆ Cols()

template<typename T , typename E1 , typename E2 >
size_t CubbyFlow::MatrixMul< T, E1, E2 >::Cols ( ) const

Number of columns.

◆ operator()()

template<typename T , typename E1 , typename E2 >
T CubbyFlow::MatrixMul< T, E1, E2 >::operator() ( size_t  i,
size_t  j 
) const

Returns matrix element at (i, j).

◆ Rows()

template<typename T , typename E1 , typename E2 >
size_t CubbyFlow::MatrixMul< T, E1, E2 >::Rows ( ) const

Number of rows.

◆ size()

template<typename T , typename E1 , typename E2 >
Size2 CubbyFlow::MatrixMul< T, E1, E2 >::size ( ) const

Size of the matrix.


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