Go to the source code of this file.
Define Documentation
#define TVMET_DECLARE_MACRO |
( |
|
NAME | ) |
|
Value:template<class E, std::size_t Rows, std::size_t Cols> \
inline \
XprMatrix< \
XprUnOp< \
Fcnl_##NAME<typename E::value_type>, \
XprMatrix<E, Rows, Cols> \
>, \
Rows, Cols \
> \
NAME(const XprMatrix<E, Rows, Cols>& rhs) TVMET_CXX_ALWAYS_INLINE;
#define TVMET_IMPLEMENT_MACRO |
( |
|
NAME | ) |
|
Value:template<class E, std::size_t Rows, std::size_t Cols> \
inline \
XprMatrix< \
XprUnOp< \
Fcnl_##NAME<typename E::value_type>, \
XprMatrix<E, Rows, Cols> \
>, \
Rows, Cols \
> \
NAME(const XprMatrix<E, Rows, Cols>& rhs) { \
typedef XprUnOp< \
Fcnl_##NAME<typename E::value_type>, \
XprMatrix<E, Rows, Cols> \
> expr_type; \
return XprMatrix<expr_type, Rows, Cols>(expr_type(rhs)); \
}
- Todo:
- isnan etc.
- default return is only an int!