23 class precomputed_expr :
public _expr<precomputed_expr<T> >
28 enum{Space = 1, ScalarValued=0, ColBlocks=0};
34 std::vector<gsMatrix<T> > m_data;
45 index_t cardinality_impl()
const
51 void clear() { m_data.clear(); }
56 explicit precomputed_expr(_expr<E>
const& u) :
57 m_rowvar(u.rowVar()), m_colvar(u.colVar())
69 {
return m_data[m_curId]; }
79 index_t cols()
const {
return 0; }
81 void print(std::ostream &os)
const { os <<
"u"; }
#define MatExprType
[Include namespace]
Definition: gsThinShellUtils.h:32
Definition: gsExpressions.h:96
#define index_t
Definition: gsConfig.h:32
EIGEN_STRONG_INLINE idMat_expr id(const index_t dim)
The identity matrix of dimension dim.
Definition: gsExpressions.h:4470