|
Expression Templates Library (ETL)
|
CRTP class to inject functions creating new expressions. More...
#include <expression_able.hpp>
Public Types | |
| using | derived_t = D |
| The derived type. | |
Public Member Functions | |
| derived_t & | as_derived () noexcept |
| Returns a reference to the derived object, i.e. the object using the CRTP injector. More... | |
| template<typename E > | |
| auto | scale (E &&e) |
| Scale the expression by a scalar factor or another expression. More... | |
| auto | fflip () |
| Flip the matrix horizontally and vertically. More... | |
| auto | hflip () |
| Flip the matrix horizontally. More... | |
| auto | vflip () |
| Flip the matrix vertically. More... | |
| auto | transpose () |
| Transpose the matrix. More... | |
| auto | real () |
| Extract the real part of a complex expression. More... | |
| auto | imag () |
| Extract the imag part of a complex expression. More... | |
| auto | conj () |
| Returns a new expression containg the conjugate of each value of the expression. More... | |
CRTP class to inject functions creating new expressions.
All the functions returns new expressions, no modificatio of the expression is done.j
|
inlinenoexcept |
Returns a reference to the derived object, i.e. the object using the CRTP injector.
|
inline |
Returns a new expression containg the conjugate of each value of the expression.
|
inline |
Flip the matrix horizontally and vertically.
|
inline |
Flip the matrix horizontally.
|
inline |
Extract the imag part of a complex expression.
|
inline |
Extract the real part of a complex expression.
Scale the expression by a scalar factor or another expression.
|
inline |
Transpose the matrix.
|
inline |
Flip the matrix vertically.
1.8.13