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

Base class for vector expression. More...

#include <Core/Vector/VectorExpression.h>

Public Member Functions

size_t size () const
 Size of the vector. More...
 
const E & operator() () const
 Returns actual implementation (the subclass). More...
 

Detailed Description

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

Base class for vector expression.

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

Template Parameters
T- Real number type.
E- Subclass type.

Member Function Documentation

◆ operator()()

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

Returns actual implementation (the subclass).

◆ size()

template<typename T , typename E >
size_t CubbyFlow::VectorExpression< T, E >::size ( ) const

Size of the vector.


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