You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation should be non-instrusive, relying on external template class with specializations.
// some declarationstemplate<classExpr>
classmatexpr_typeinfo;
template<typename T, classExpr>
matexpr_typeinfo<Expr> get_matexpr_type(const IMatrixXpr<Expr, T>& )
{
return matexpr_typeinfo<Expr>();
}
// some usage: let a be an matrix expression instance// return a type name (e.g. "unary_expr", "dense", etc) as std::stringget_matexpr_type( a ).name();
// return a short string (e.g. "add(dense, sqr(dense))") as std::stringget_matexpr_type( a ).short_repr();
The text was updated successfully, but these errors were encountered:
Devices to inspect the structure of an expression
The implementation should be non-instrusive, relying on external template class with specializations.
The text was updated successfully, but these errors were encountered: