NABLA  Nabla Ain't Basic Linear Algebra
List of all members
base_matrix_expression< value_t, expr_t, tag, shape > Struct Template Reference

Base matrix expression template class. More...

Inheritance diagram for base_matrix_expression< value_t, expr_t, tag, shape >:
Inheritance graph

Detailed Description

template<typename value_t, typename expr_t, typename tag, typename shape>
struct nabla::base_matrix_expression< value_t, expr_t, tag, shape >

Base matrix expression template class.

This is a helper class to ease definition of matrix expression classes. Such a definition can look like

template<typename expression_type>
class some_expression :
public base_matrix_expression<
typename expr_traits<expression_type>::value_type, //type of elements
some_expression<expression_type>, //actual type
tag::expression<expr_traits<expression_type>::complexity>, //tag
typename expr_traits<expression_type>::shape //shape of expression
>
{
//rest of definition
};

It has nothing to do with matrix expressions. The only purpose of this class is to route derived classes to the appropriate base classes.

See Also
matrix_expression, shaped_expression

Definition at line 3324 of file matrix.h.


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