#include <src/type-class.hpp>
template<typename Real, template<typename> typename V = Vec3>
Types struct
Template parameters | |
---|---|
Real | The basic scalar type, i.e float , double , etc. |
V |
Contents
- Reference
Type system that is used across the Space Hub system. This type class provide all basic type i.e Scalar
, Vector
, ScalarArray
, Coord
and etc,.
Public types
-
using Scalar = typename raw_
type<Real>::type - using ScalarArray = Container<Scalar>
- using IntArray = Container<int>
- using IdxArray = Container<size_t>
- using Vector = V<Scalar>
-
using VectorArray = SSO_
vec_ vector<Vector>
Typedef documentation
template<typename Real, template<typename> typename V>
using hub:: Types<Real, V>:: ScalarArray = Container<Scalar>
1-d array with value type Scalar
. Alias of Container<Scalar>
.
template<typename Real, template<typename> typename V>
using hub:: Types<Real, V>:: VectorArray = SSO_ vec_ vector<Vector>
1-d array with value type Vector
, Alias of Container<Vector>
.