CubbyFlow::MatrixExpression< T, E > Class Template Reference

Base class for matrix expression. More...

#include <Core/Matrix/MatrixExpression.h>

Public Member Functions

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 E & operator() () const
 Returns actual implementation (the subclass). More...
 

Detailed Description

template<typename T, typename E>
class CubbyFlow::MatrixExpression< T, E >

Base class for matrix expression.

Matrix expression is a meta type that enables template expression pattern.

Template Parameters
TReal number type.
ESubclass type.

Member Function Documentation

◆ Cols()

template<typename T , typename E >
size_t CubbyFlow::MatrixExpression< T, E >::Cols ( ) const

Number of columns.

◆ operator()()

template<typename T , typename E >
const E & CubbyFlow::MatrixExpression< T, E >::operator() ( ) const

Returns actual implementation (the subclass).

◆ Rows()

template<typename T , typename E >
size_t CubbyFlow::MatrixExpression< T, E >::Rows ( ) const

Number of rows.

◆ size()

template<typename T , typename E >
Size2 CubbyFlow::MatrixExpression< T, E >::size ( ) const

Size of the matrix.


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