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.
Fork of Eurobot2013 by
XprEval< E1, E2, E3 > Class Template Reference
evaluate the expression More...
#include <tvmet/xpr/Eval.h>
Inherits TvmetBase< XprEval< E1, E2, E3 > >.
Public Types | |
| enum | |
Complexity Counter. More... | |
Public Member Functions | |
| XprEval (const expr1_type &e1, const expr2_type &e2, const expr3_type &e3) | |
| Constructor.   | |
| XprEval (const XprEval &rhs) | |
| Copy Constructor.   | |
| value_type | operator() (std::size_t i) const | 
| index operator for vectors.   | |
| value_type | operator() (std::size_t i, std::size_t j) const | 
| index operator for matrizes.   | |
Detailed Description
template<class E1, class E2, class E3>
 class tvmet::XprEval< E1, E2, E3 >
evaluate the expression
Since we can't overwrite the ? operator we have to write a wrapper for expression like return v1>v2 ? true : false
Definition at line 38 of file Eval.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| XprEval | ( | const expr1_type & | e1, | 
| const expr2_type & | e2, | ||
| const expr3_type & | e3 | ||
| ) |  [explicit] | 
        
Member Function Documentation
| value_type operator() | ( | std::size_t | i ) | const | 
Generated on Tue Jul 12 2022 18:53:26 by
 1.7.2 
    