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
XprBinOp< BinOp, E1, E2 > Class Template Reference
Binary operators working on two sub expressions. More...
#include <tvmet/xpr/BinOperator.h>
Inherits TvmetBase< XprBinOp< BinOp, E1, E2 > >.
Public Types | |
enum | |
Complexity counter. More... | |
Public Member Functions | |
XprBinOp (const E1 &lhs, const E2 &rhs) | |
Constructor for two expressions. | |
XprBinOp (const XprBinOp &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 BinOp, class E1, class E2>
class tvmet::XprBinOp< BinOp, E1, E2 >
Binary operators working on two sub expressions.
On acessing using the index operator() the binary operation will be evaluated at compile time.
Definition at line 40 of file BinOperator.h.
Member Enumeration Documentation
anonymous enum |
Complexity counter.
Definition at line 51 of file BinOperator.h.
Constructor & Destructor Documentation
XprBinOp | ( | const E1 & | lhs, |
const E2 & | rhs | ||
) | [explicit] |
Constructor for two expressions.
Definition at line 59 of file BinOperator.h.
Member Function Documentation
value_type operator() | ( | std::size_t | i ) | const |
Index operator, evaluates the expression inside.
Definition at line 71 of file BinOperator.h.
value_type operator() | ( | std::size_t | i, |
std::size_t | j | ||
) | const |
Index operator for arrays/matrices.
Definition at line 76 of file BinOperator.h.
Generated on Wed Jul 13 2022 18:42:00 by
