Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos mbed QEI
XprUnOp< UnOp, E > Class Template Reference
Unary operator working on one subexpression. More...
#include <tvmet/xpr/UnOperator.h>
Inherits TvmetBase< XprUnOp< UnOp, E > >.
Public Types | |
enum | |
Complexity counter. More... | |
Public Member Functions | |
XprUnOp (const E &e) | |
Constructor for an expressions. | |
XprUnOp (const XprUnOp &e) | |
Copy Constructor. | |
value_type | operator() (std::size_t i) const |
Index operator, evaluates the expression inside. | |
value_type | operator() (std::size_t i, std::size_t j) const |
index operator for arrays/matrices. |
Detailed Description
template<class UnOp, class E>
class tvmet::XprUnOp< UnOp, E >
Unary operator working on one subexpression.
Using the access operator() the unary operation will be evaluated.
Definition at line 37 of file UnOperator.h.
Member Enumeration Documentation
anonymous enum |
Complexity counter.
Definition at line 48 of file UnOperator.h.
Constructor & Destructor Documentation
XprUnOp | ( | const E & | e ) | [explicit] |
Constructor for an expressions.
Definition at line 55 of file UnOperator.h.
Member Function Documentation
value_type operator() | ( | std::size_t | i ) | const |
Index operator, evaluates the expression inside.
Definition at line 67 of file UnOperator.h.
value_type operator() | ( | std::size_t | i, |
std::size_t | j | ||
) | const |
index operator for arrays/matrices.
Definition at line 72 of file UnOperator.h.
Generated on Wed Jul 13 2022 18:42:00 by
