DampingMatrixExpressionGroup< FP, E > Class Template Reference
|
CPP API
|
Public Types |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Private Attributes |
List of all members
mio::DampingMatrixExpressionGroup< FP, E > Class Template Reference
represents a collection of DampingMatrixExpressions that are summed up. More...
#include <contact_matrix.h>
Public Types | |
| using | const_iterator = typename std::vector< value_type >::const_iterator |
| using | const_reference = const value_type & |
| using | DampingsType = typename value_type::DampingsType |
| using | iterator = typename std::vector< value_type >::iterator |
| using | Matrix = typename value_type::Matrix |
| using | reference = value_type & |
| using | Shape = typename value_type::Shape |
| using | value_type = E |
Public Member Functions | |
| T class Derived static IOResult< Derived > | deserialize (IOContext &io, Tag< Derived >) |
| template<class... T> | |
| requires (std::is_constructible_v< Shape, T... >) explicit DampingMatrixExpressionGroup(size_t num_matrices | |
| create a collection. More... | |
Static Public Member Functions | |
| template<class IOContext > | |
| static IOResult< DampingMatrixExpressionGroup > | deserialize (IOContext &io) |
| deserialize an object of this class. More... | |
Public Attributes | |
| T | shape_args: m_matrices(num_matrices |
| T | value_type |
Private Attributes | |
| std::vector< value_type > | m_matrices |
Detailed Description
template<typename FP, class E>
class mio::DampingMatrixExpressionGroup< FP, E >
represents a collection of DampingMatrixExpressions that are summed up.
- Parameters
-
FP floating point, e.g. double
- Template Parameters
-
E some instance of DampingMatrixExpression or compatible type.
Member Typedef Documentation
◆ const_iterator
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::const_iterator = typename std::vector<value_type>::const_iterator |
◆ const_reference
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::const_reference = const value_type& |
◆ DampingsType
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::DampingsType = typename value_type::DampingsType |
◆ iterator
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::iterator = typename std::vector<value_type>::iterator |
◆ Matrix
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::Matrix = typename value_type::Matrix |
◆ reference
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::reference = value_type& |
◆ Shape
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::Shape = typename value_type::Shape |
◆ value_type
template<typename FP , class E >
| using mio::DampingMatrixExpressionGroup< FP, E >::value_type = E |
Member Function Documentation
◆ deserialize() [1/2]
template<typename FP , class E >
template<class IOContext >
|
inlinestatic |
deserialize an object of this class.
- See also
- mio::deserialize
◆ deserialize() [2/2]
template<typename FP , class E >
|
inline |
◆ requires()
template<typename FP , class E >
template<class... T>
| mio::DampingMatrixExpressionGroup< FP, E >::requires | ( | std::is_constructible_v< Shape, T... > | ) |
create a collection.
- Parameters
-
num_groups number of groups. num_matrices number of matrices.
Member Data Documentation
◆ m_matrices
template<typename FP , class E >
|
private |
◆ shape_args
template<typename FP , class E >
| T mio::DampingMatrixExpressionGroup< FP, E >::shape_args |
◆ value_type
template<typename FP , class E >
| T mio::DampingMatrixExpressionGroup< FP, E >::value_type |
Generated by