Specialization for an array of dimension dim as expression.
More...
#include <Point_operators.hpp>
|
|
typedef int | has_init |
| | indicate that init must be called before value
|
| |
|
typedef int | is_expression |
| | indicate that this class encapsulate an expression
|
| |
|
typedef T | coord_type |
| | The type of the internal vector.
|
| |
|
|
static const unsigned int | nvals = dim |
| | this operation produce a vector as result of size dims
|
| |
|
|
T(& | d )[dim] |
| | array of dimension dim
|
| |
template<typename T, unsigned int dim>
class point_expression< T[dim]>
Specialization for an array of dimension dim as expression.
- Template Parameters
-
| T | type of the array |
| dim | dimensionality of the array |
Definition at line 1840 of file Point_operators.hpp.
◆ point_expression()
template<typename T , unsigned int dim>
◆ init()
template<typename T , unsigned int dim>
This function must be called before value.
it calculate the scalar product before return the values
Definition at line 1931 of file Point_operators.hpp.
◆ operator=() [1/2]
template<typename T , unsigned int dim>
template<typename T_ >
Operator= for point expression.
- Parameters
-
- Returns
- a point expression
Definition at line 1900 of file Point_operators.hpp.
◆ operator=() [2/2]
template<typename T , unsigned int dim>
template<typename orig , typename exp1 , typename exp2 , unsigned int op>
Operator= for point expression.
- Template Parameters
-
| orig | origin type |
| exp1 | expression 1 |
| exp2 | expression 2 |
| op | operation |
- Parameters
-
- Returns
- a point expression
Definition at line 1882 of file Point_operators.hpp.
◆ value()
template<typename T , unsigned int dim>
Evaluate the expression at coordinate k.
It just return the value set in the constructor
- Parameters
-
- Returns
- the value
Definition at line 1944 of file Point_operators.hpp.
The documentation for this class was generated from the following file: