NABLA
Nabla Ain't Basic Linear Algebra
|
Expression tag. More...
Expression tag.
This tag holds algorithmic complexity value for an expression. For more info see Complexity Concept.
expression
must provide access to elements, i.e. one can get object's elements using subscript operator. Here is a concept description of a matrix expression class.
And here is one for a vector expression class.
All entities are fully analogous to the case of tag::storage
.
For description of value_type
, const_reference
, subscript operator, rows()
, cols()
and size()
members see Storage Concept Description.
The complexity
constant represents the complexity value as defined by Complexity Concept.
Objects of this type are intended to be immediate constant (i.e. read-only) values. Thus it is forbidden to copy construct them or directly assign an expression to them. That's why the copy constructor and copy assignment operator must be hidden (declared private and not implemented). It states that copy constructor and copy assignment are not the part of the interface implied by tag::expression
, however they may be implemented in user types as convenience functions.