22 template <
typename MAT,
int TypeSizeAtCompileTime>
28 template <
typename MAT>
33 obj.derived().conservativeResize(row, col);
37 obj.derived().conservativeResize(nsize);
42 template <
int R,
int C>
45 template <
typename MAT>
46 static inline void doit(MAT& mat,
size_t new_rows,
size_t new_cols)
56 template <
typename MAT>
57 static inline void doit(MAT& mat,
size_t new_rows,
size_t)
60 MAT, MAT::SizeAtCompileTime>::internal_resize(mat, new_rows);
67 template <
typename MAT>
68 static inline void doit(MAT& mat,
size_t,
size_t new_cols)
71 MAT, MAT::SizeAtCompileTime>::internal_resize(mat, new_cols);
77 template <
typename MAT>
78 static inline void doit(MAT& mat,
size_t,
size_t new_cols)
81 MAT, MAT::SizeAtCompileTime>::internal_resize(mat, new_cols);
static void internal_resize(MAT &, size_t)
static void doit(MAT &mat, size_t, size_t new_cols)
This base provides a set of functions for maths stuff.
static void doit(MAT &mat, size_t new_rows, size_t)
static void internal_resize(MAT &obj, size_t row, size_t col)
static void internal_resize(MAT &obj, size_t nsize)
static void internal_resize(MAT &, size_t, size_t)
static void doit(MAT &mat, size_t new_rows, size_t new_cols)
Internal resize which compiles to nothing on fixed-size matrices.
static void doit(MAT &mat, size_t, size_t new_cols)