3 #ifndef WMTK_MAX_ATTRIBUTE_DIMENSION
4 #define WMTK_MAX_ATTRIBUTE_DIMENSION Eigen::Dynamic
14 template <
typename T,
int R = Eigen::Dynamic>
15 using VectorResult = Eigen::Matrix<T, R, 1, 0, (R == Eigen::Dynamic ? MAX_ATTR_SIZE : R), 1>;
20 template <
typename T,
int R = Eigen::Dynamic>
22 template <
typename T,
int R = Eigen::Dynamic>
#define WMTK_MAX_ATTRIBUTE_DIMENSION
typename VectorResult< T, R >::MapType MapResult
the default map type used by attributes is a map of our vector type.
typename VectorResult< T, R >::ConstMapType ConstMapResult
Eigen::Matrix< T, R, 1, 0,(R==Eigen::Dynamic ? MAX_ATTR_SIZE :R), 1 > VectorResult
Underlying vector type used by attribute is dynamically sized but bounded.