wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
Loading...
Searching...
No Matches
wuzp Namespace Reference

Classes

struct  AccessImplementation
 Type wrapper which is used to access traits partially specialized in the implementation header files. More...
struct  AccessUnits
 The units for values of the arithmetic type ValueT_, e.g. double, specialized for AccessImplementation<ValueT_> by the units backend, e.g. Length and Force (see UnitSystem in concepts.hpp). More...
struct  AccessUnits< AccessImplementation< ValueT_ > >
class  ActiveLinearTransformation
class  ActiveProperRigidTransformationTemplate
 An active proper rigid transformation, which first rotates, then translates: x -> R x + t, in a Euclidean coordinate system (EuclideanCoordinateSystem), like its rotation. More...
class  ActiveSpatialRotation
 An active rotation in its coordinate system: the dimensionless linear transformation x -> R x whose matrix R is orthogonal with determinant 1, R R^T = I and det(R) = 1. More...
class  ActiveTransformation
 An active transformation, which moves objects within its coordinate system (see Transformation). More...
class  ActiveTranslation
 An active translation, which moves points by a vector t, p' = p + t, and leaves vectors, covectors and tensors with two upper indices, e.g. covariances, unchanged (see the conventions in DESIGN.md). More...
struct  AddTwoTuples
struct  AddTwoTuples< std::tuple< TsLhs... >, std::tuple< TsRhs... > >
struct  AddTwoTuplesImpl
struct  AddTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::index_sequence< Is... > >
struct  Block
struct  Block< AccessImplementation< ImplementationT_ >, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_ >
struct  Block< MatrixSize< RowsV_, ColsV_ >, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_ >
struct  Block< Quantities< ValuesT_, UnitsT_ >, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_ >
struct  Block< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ >, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_ >
struct  Block< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Types... > >, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_ >
struct  Block< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_ >
struct  BlockImpl
struct  BlockImpl< ColsV_, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_, std::tuple< Ts... >, std::index_sequence< BlockRowIs... > >
struct  CastCoordinateSystem
struct  CastCoordinateSystem< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ >, NewCoordinateSystemT_ >
struct  Cat
struct  Coefficient
 Element access of a matrix of a value matrix backend: get(impl, row, col) returns an element, set(impl, row, col, value) sets it. More...
struct  Coefficient< AccessImplementation< ImplementationT_ > >
struct  Cols
struct  Cols< MatrixSize< RowsV_, ColsV_ > >
struct  Cols< Quantities< ValuesT_, UnitsT_ > >
struct  Cols< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  Cols< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, Types > >
struct  Cols< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  Comparison
struct  Comparison< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  CompositionTraits
 The composition lhs * rhs of two transformations, which applies rhs first, then lhs: (lhs * rhs).transform(x) is lhs.transform(rhs.transform(x)), like the product of their matrices. More...
struct  CompositionTraits< ActiveLinearTransformation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... >, ActiveLinearTransformation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > >
struct  CompositionTraits< ActiveLinearTransformation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... >, ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< ActiveProperRigidTransformationTemplate< CoordinateSystemLhsT_, RotationLhsT_, TranslationLhsT_ >, ActiveProperRigidTransformationTemplate< CoordinateSystemRhsT_, RotationRhsT_, TranslationRhsT_ > >
struct  CompositionTraits< ActiveProperRigidTransformationTemplate< CoordinateSystemT_, RotationT_, TranslationT_ >, ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< ActiveProperRigidTransformationTemplate< CoordinateSystemT_, RotationT_, TranslationT_ >, ActiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, CoordinateSystemRhsT_, UnitsRhsT_... > >
struct  CompositionTraits< ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ >, ActiveLinearTransformation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > >
struct  CompositionTraits< ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ >, ActiveProperRigidTransformationTemplate< CoordinateSystemT_, RotationT_, TranslationT_ > >
struct  CompositionTraits< ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ >, ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ >, ActiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, CoordinateSystemRhsT_, UnitsRhsT_... > >
struct  CompositionTraits< ActiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, CoordinateSystemLhsT_, UnitsLhsT_... >, ActiveProperRigidTransformationTemplate< CoordinateSystemT_, RotationT_, TranslationT_ > >
struct  CompositionTraits< ActiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, CoordinateSystemLhsT_, UnitsLhsT_... >, ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< ActiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, CoordinateSystemLhsT_, UnitsLhsT_... >, ActiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, CoordinateSystemRhsT_, UnitsRhsT_... > >
struct  CompositionTraits< Jacobian< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... >, Jacobian< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > >
struct  CompositionTraits< Jacobian< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... >, RhsT_ >
struct  CompositionTraits< LhsT_, Jacobian< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > >
struct  CompositionTraits< LorentzTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ >, LorentzTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< LorentzTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ >, PassiveLinearTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_, UnitsRhsT_... > >
struct  CompositionTraits< PassiveLinearTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_, UnitsLhsT_... >, LorentzTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< PassiveLinearTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_, UnitsLhsT_... >, PassiveLinearTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_, UnitsRhsT_... > >
struct  CompositionTraits< PassiveLinearTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_, UnitsLhsT_... >, PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< PassiveProperRigidTransformationTemplate< FromLhsT_, ToLhsT_, RotationLhsT_, TranslationLhsT_ >, PassiveProperRigidTransformationTemplate< FromRhsT_, ToRhsT_, RotationRhsT_, TranslationRhsT_ > >
struct  CompositionTraits< PassiveProperRigidTransformationTemplate< FromLhsT_, ToLhsT_, RotationLhsT_, TranslationLhsT_ >, PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< PassiveProperRigidTransformationTemplate< FromLhsT_, ToLhsT_, RotationLhsT_, TranslationLhsT_ >, PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... > >
struct  CompositionTraits< PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ >, PassiveLinearTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_, UnitsRhsT_... > >
struct  CompositionTraits< PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ >, PassiveProperRigidTransformationTemplate< FromRhsT_, ToRhsT_, RotationRhsT_, TranslationRhsT_ > >
struct  CompositionTraits< PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ >, PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ >, PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... > >
struct  CompositionTraits< PassiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, FromLhsT_, ToLhsT_, UnitsLhsT_... >, PassiveProperRigidTransformationTemplate< FromRhsT_, ToRhsT_, RotationRhsT_, TranslationRhsT_ > >
struct  CompositionTraits< PassiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, FromLhsT_, ToLhsT_, UnitsLhsT_... >, PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > >
struct  CompositionTraits< PassiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, FromLhsT_, ToLhsT_, UnitsLhsT_... >, PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... > >
struct  ContractTuples
struct  ContractTuples< std::tuple< TuplesLhs... >, std::tuple< TuplesRhs... >, std::index_sequence< Is... > >
struct  ContractTwoTuples
struct  ContractTwoTuples< std::tuple< TsLhs... >, std::tuple< TsRhs... > >
struct  ContractTwoTuplesImpl
struct  ContractTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::index_sequence< Is... > >
struct  CoordinateSystem
 A coordinate system: axes, an origin and a metric, as a type without runtime cost. More...
struct  Copy
 Copies a matrix of a value matrix backend: value returns the copy, which must not share its values with the original. More...
struct  Copy< AccessImplementation< ImplementationT_ > >
struct  CreateHomogeneousTuple
struct  CreateHomogeneousTupleImpl
struct  CreateHomogeneousTupleImpl< 0, T >
struct  CreateTypeMatrix
struct  CreateTypeMatrix< RowsV_, ColsV_, TypeT_ >
struct  CrossProduct
struct  CrossProduct< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  CrossProduct< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > >
 The indices of the cross product of two vectors: those of a vector. More...
struct  CrossProduct< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  CrossProduct< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
struct  CrossProduct< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
struct  CrossProduct< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  CrossProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  CwiseFunction
 A function applied to every element of a matrix, like Eigen's DenseBase::unaryExpr(): value(impl, function) returns the matrix of the results. More...
struct  CwiseFunction< AccessImplementation< ImplementationT_ >, FunctionT_ >
struct  CwiseFunction< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, FunctionT_ >
struct  CwiseInverse
 The elementwise reciprocal of a matrix, like Eigen's ArrayBase::inverse() or cwiseInverse(). More...
struct  CwiseInverse< AccessImplementation< ImplementationT_ > >
struct  CwiseInverse< Quantities< ValuesT_, UnitsT_ > >
struct  CwiseInverse< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Types... > > >
 The elementwise reciprocal. The matrix inverse is only defined for matrices of units (see Units.hpp). More...
struct  CwiseInverse< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  Determinant
struct  Determinant< AccessImplementation< ImplementationT_ > >
struct  Determinant< Indices< Variance0T_, Variance1T_ > >
struct  Determinant< Indices< VarianceT_ > >
struct  Determinant< Indices<> >
 The indices of the determinant, a scalar. More...
struct  Determinant< Quantities< ValuesT_, UnitsT_ > >
struct  Determinant< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
 The determinant of a tensor of rank 0 or of a mixed tensor of rank 2, a quantity (see Tensor::determinant()). More...
struct  Determinant< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Unit< UnitImplementationsT_ >... > > >
 The unit of the determinant of a matrix. More...
struct  DiagonalProductImpl
struct  DiagonalProductImpl< Matrix, std::index_sequence< Is... > >
struct  DiagonalTypeMatrixImpl
struct  DiagonalTypeMatrixImpl< SizeV_, ZeroType, OneType, std::index_sequence< Is... > >
struct  Difference< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  Difference< CoordinateSystem< IdentifierLhsT_, MetricLhsT_ >, CoordinateSystem< IdentifierRhsT_, MetricRhsT_ > >
struct  Difference< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > >
struct  Difference< internal::AbsoluteImpl< ValueLhs_ >, internal::AbsoluteImpl< ValueRhs_ > >
struct  Difference< internal::ReducedRational< DividendLhsV_, DivisorLhsV_ >, internal::ReducedRational< DividendRhsV_, DivisorRhsV_ > >
struct  Difference< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  Difference< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
struct  Difference< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
struct  Difference< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  Difference< Unit< ImplementationLhsT_ >, Unit< ImplementationRhsT_ > >
struct  Difference< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Difference< ValueType< Lhs >, ValueType< Rhs > >
 The difference is performed elementwise. More...
struct  Dimension
struct  Dimension< Quantities< ValuesT_, UnitsT_ > >
struct  Dimension< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  Dimension< TypeMatrixImpl< MatrixSize< 1, 1 >, Types > >
struct  Dimension< TypeMatrixImpl< MatrixSize< 1, ColsV_ >, Types > >
struct  Dimension< TypeMatrixImpl< MatrixSize< RowsV_, 1 >, Types > >
struct  Dimension< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, Types > >
struct  Division< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  Division< AccessImplementation< ImplementationLhsT_ >, ValueRhsT_ >
struct  Division< CoordinateSystem< IdentifierLhsT_, MetricLhsT_ >, CoordinateSystem< IdentifierRhsT_, MetricRhsT_ > >
struct  Division< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > >
 The indices of the quotient of a tensor and a tensor of rank 0: those of the tensor. See Product for the reasons. More...
struct  Division< internal::AbsoluteImpl< ValueLhs_ >, internal::AbsoluteImpl< ValueRhs_ > >
 Quotients, e.g. by a scalar. Scalars are relative.
struct  Division< internal::ReducedRational< DividendLhsV_, DivisorLhsV_ >, internal::ReducedRational< DividendRhsV_, DivisorRhsV_ > >
struct  Division< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< 1, 1 > >
struct  Division< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  Division< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
 The elementwise quotient of quantities of the same size. More...
struct  Division< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantity< ValueRhsT_, UnitRhsT_ > >
struct  Division< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
 The quotient of a tensor and a quantity, a 1x1 matrix of quantities (see Product<Tensor<...>, Quantities<...>>). More...
struct  Division< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
 The quotient of a tensor and a tensor of rank 0 (see Division<Indices<...>, Indices<...>>). More...
struct  Division< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< 1, 1 >, std::tuple< TypeRhs > > >
struct  Division< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  Division< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeRhs >
struct  Division< Unit< ImplementationLhsT_ >, Unit< ImplementationRhsT_ > >
struct  Division< Unit< UnitLhsT_ >, Unit< UnitRhsT_ > >
struct  Division< Unit< wuzp_units::UnitImpl< ExponentsLhsT_... > >, Unit< wuzp_units::UnitImpl< ExponentsRhsT_... > > >
struct  Division< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValueRhsT_ >
struct  Division< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSize< 1, 1 >, ValueRhsT_, ImplementationRhsT_ > >
struct  Division< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Division< ValueType< Lhs >, ValueType< Rhs > >
 The division is performed elementwise. More...
struct  DotProduct
struct  DotProduct< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  DotProduct< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
struct  DotProduct< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
struct  DotProduct< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  DotProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Down
 A lower, or covariant, index, e.g. of a covector w_i, whose components transform with the inverse of the coordinates. More...
struct  Element
struct  Element< Quantities< ValuesT_, UnitsT_ >, ElementRowIdV_, ElementColIdV_ >
struct  Element< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Types... > >, ElementRowIdV_, ElementColIdV_ >
struct  Euclidean
 The Euclidean metric delta_ij of a coordinate system with orthonormal axes, e.g. of space in Cartesian coordinates, and the default metric of coordinate systems. More...
struct  Evaluate
struct  Evaluate< AccessImplementation< ImplementationT_ > >
struct  Evaluate< Quantities< ValuesT_, UnitsT_ > >
struct  Evaluate< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  Evaluate< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  ExtractAndApply
struct  ExtractAndApply< X, std::tuple< Ts... > >
struct  FailOnInstantiation
 False for every type, so that a static_assert on it fails only when the template that names it is instantiated, e.g. a specialization or an overload that rejects its arguments with a message. More...
struct  FromImplementationArgsLabel
struct  FromImplementationLabel
struct  FromSimilarLabel
struct  GetCoordinateSystem
struct  GetCoordinateSystem< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... > >
struct  GetCoordinateSystem< ActiveProperRigidTransformationTemplate< CoordinateSystemT_, RotationT_, TranslationT_ > >
struct  GetCoordinateSystem< ActiveSpatialRotation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionV_ > >
struct  GetCoordinateSystem< ActiveTranslation< ValuesT_, DimensionV_, ValueT_, CoordinateSystemT_, UnitsT_... > >
struct  GetCoordinateSystem< SpatialAcceleration< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ > >
struct  GetCoordinateSystem< SpatialForce< ValuesT_, ValueT_, FrameT_, PointT_, ExpressedInT_ > >
struct  GetCoordinateSystem< SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ > >
struct  GetCoordinateSystem< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  GetSubsetImpl
struct  GetSubsetImpl< Start, End, Increment, std::tuple< Ts... >, std::index_sequence< Is... > >
struct  GetTag
struct  GetTag< Quantities< ValuesT_, UnitsT_ >, Ts... >
struct  GetTag< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ >, Ts... >
struct  GetTag< ValuesWrapper< Xs... >, Ts... >
struct  GetType
struct  GetType< Quantities< ValuesT_, UnitsT_ > >
struct  GetType< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, Types > >
struct  GetTypes
struct  GetTypes< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, Types > >
struct  GetValue
struct  GetValue< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  Identity
struct  Identity< internal::ReducedRational< DividendV_, DivisorV_ > >
struct  Identity< Unit< boost::units::unit< DimensionT_, SystemT_ > > >
struct  Identity< Unit< UnitT_ > >
struct  Identity< Unit< wuzp_units::UnitImpl< ExponentsT_... > > >
struct  IfThenElse
 Trait to select one type or another depending on a boolean. Note that both types must be defined even if not selected. More...
struct  IfThenElse< false, TypeA, TypeB >
struct  IfThenElse< true, TypeA, TypeB >
struct  Indices
 The indices of a tensor, in their order, e.g. Indices<Up, Down> for a linear map T^i_j, Indices<Down, Down> for a bilinear form such as a mass matrix M_ij, Indices<Up> for a vector and Indices<> for a scalar. More...
struct  Initialize
 Initializes an allocated matrix of a value matrix backend with its elements, row by row: run(impl, values...), where ArgsTupleT_ is the std::tuple of their types. More...
struct  Initialize< ImplementationT_, std::tuple< Arg0T_, ArgsT_... > >
struct  InnerProduct< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  InnerProduct< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > >
 The indices of the inner product, which contracts the last index of the left-hand side with the first index of the right-hand side: the remaining indices, in their order. More...
struct  InnerProduct< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  InnerProduct< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
struct  InnerProduct< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
 The inner product, which contracts the last index of the left-hand side with the first index of the right-hand side (see InnerProduct<Indices<...>, Indices<...>>). More...
struct  InnerProduct< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  InnerProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Inverse
 The inverse: the matrix inverse of a matrix, like Eigen's MatrixBase::inverse(), and the reciprocal of a single unit or number. More...
struct  Inverse< AccessImplementation< ImplementationT_ > >
struct  Inverse< Indices< Variance0T_, Variance1T_ > >
struct  Inverse< Indices< VarianceT_ > >
struct  Inverse< Indices<> >
 The indices of the matrix inverse, which exists for tensors of rank 0 and 2: the indices (X, Y) become (not Y, not X), since (M^-1)^ij M_jk = delta^i_k contracts the second index of the inverse with the first index of M. More...
struct  Inverse< internal::AbsoluteImpl< Value_ > >
 The matrix inverse and the elementwise reciprocal.
struct  Inverse< internal::ReducedRational< DividendV_, DivisorV_ > >
struct  Inverse< MatrixSize< RowsV_, ColsV_ > >
 The size of the matrix inverse. The elementwise reciprocal keeps the size of any matrix. More...
struct  Inverse< Quantities< ValuesT_, UnitsT_ > >
struct  Inverse< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
 The matrix inverse of a tensor of rank 0 or 2 (see Tensor::inverse()). More...
struct  Inverse< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Unit< UnitImplementationsT_ >... > > >
 The units of the matrix inverse: (M^-1)_ij = 1 / M_ji = b_i / a_j for M_ij = a_i / b_j, i.e. the transpose of the reciprocals. More...
struct  Inverse< Unit< ImplementationT_ > >
struct  Inverse< Unit< UnitT_ > >
struct  Inverse< Unit< wuzp_units::UnitImpl< ExponentsT_... > > >
struct  Inverse< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
 The type of the matrix inverse. More...
struct  IsAbsolute
struct  IsAbsolute< internal::AbsoluteImpl< Value_ > >
struct  IsAbsolute< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  IsHomogeneous
struct  IsHomogeneous< Quantities< ValuesT_, UnitsT_ > >
struct  IsHomogeneous< std::tuple< Ts... > >
struct  IsHomogeneous< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, Types > >
struct  IsSpecialization
 Whether T is a specialization of Template. More...
struct  IsSpecialization< Template1< Args... >, Template2 >
struct  IsValidConversion
 Whether converting a From into a To passes the checks of the converting constructor of To, e.g. whether the units of two quantity matrices match. More...
struct  IsValidConversion< Quantities< ValuesT_, UnitsT_ >, Quantities< ValuesOtherT_, UnitsOtherT_ > >
struct  IsValidConversion< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ >, Tensor< IndicesOtherT_, QuantitiesOtherT_, CoordinateSystemOtherT_, AbsoluteOtherT_ > >
struct  IsValidConversion< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, ValuesWrapper< MatrixSizeOtherT_, ValueOtherT_, ImplementationOtherT_ > >
class  Jacobian
 The Jacobian J = d(To)/d(From) of a change of coordinates from the coordinate system From to the coordinate system To, possibly of another dimension, at one point, e.g. of the task space coordinates of a robot with respect to its joint coordinates: J_ij = dx_i / dq_j for the coordinates q of From and x of To, with the units [x_i] / [q_j]. More...
class  LorentzTransformation
 A Lorentz transformation Lambda from the inertial frame From to the inertial frame To, which must be coordinate systems with the Minkowski metric (MinkowskiCoordinateSystem, see Minkowski and SpacetimeVector): the dimensionless passive linear transformation of spacetime vectors, with the time component first and in length units (x^0 = c t), that preserves the Minkowski metric eta = diag(1, -1, ..., -1): Lambda^T eta Lambda = eta (Carroll, Lecture Notes on General Relativity, https://arxiv.org/abs/gr-qc/9712019, eq. 1.14, whose signature (-, +, +, +) has the metric -eta, which gives the same condition), e.g. a boost (see createBoostMatrix()), a spatial rotation, or their compositions. More...
struct  MakeAbsolute
struct  MakeAbsolute< internal::AbsoluteImpl< Value_ > >
 The point at a vector from the origin (see makeAbsolute()).
struct  MakeAbsolute< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
 The point at a vector from the origin of the coordinate system, o + v, which has the components of the vector. More...
struct  MakeRelative
struct  MakeRelative< internal::AbsoluteImpl< Value_ > >
 The vector from the origin to a point (see makeRelative()).
struct  MakeRelative< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
 The vector from the origin of the coordinate system to a point, p - o, which has the components of the point. More...
struct  MatrixSize
struct  Metric
 The metric of a coordinate system, Euclidean or Minkowski, its second template parameter, which is Euclidean by default. More...
struct  Metric< CoordinateSystem< IdentifierT_, MetricT_ > >
struct  Minkowski
 The Minkowski metric eta = diag(1, -1, ..., -1) of an inertial frame of special relativity, with the signature (+, -, ..., -) and the time component first, in length units (x^0 = c t), like LorentzTransformation. More...
struct  Move
 Moves a matrix of a value matrix backend: construct returns the moved matrix, assign moves it into another one. More...
struct  Move< AccessImplementation< ImplementationT_ > >
struct  MultiplyTwoTuples
struct  MultiplyTwoTuples< std::tuple< TsLhs... >, std::tuple< TsRhs... > >
struct  MultiplyTwoTuplesImpl
struct  MultiplyTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::index_sequence< Is... > >
struct  Negation
 The negation is performed elementwise. More...
struct  Negation< AccessImplementation< ImplementationT_ > >
struct  Negation< internal::AbsoluteImpl< Value_ > >
struct  Negation< internal::ReducedRational< DividendV_, DivisorV_ > >
struct  Negation< Quantities< ValuesT_, UnitsT_ > >
struct  Negation< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  Negation< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  Norm
struct  Norm< AccessImplementation< ImplementationT_ > >
struct  Norm< internal::AbsoluteImpl< Value_ > >
 The norm and the squared norm.
struct  OuterProduct< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  OuterProduct< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > >
 The indices of the outer (tensor) product: those of the left-hand side, followed by those of the right-hand side, e.g. v^i w_j has the indices (Up, Down). More...
struct  OuterProduct< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  OuterProduct< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
struct  OuterProduct< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
 The outer product, whose indices are those of the left-hand side, followed by those of the right-hand side (see OuterProduct<Indices<...>, Indices<...>>): the left-hand side as a column times the right-hand side as a row, e.g. v^i w_j. More...
struct  OuterProduct< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  OuterProduct< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
class  PassiveLinearTransformation
 A passive linear transformation, i.e. a change of basis, from the coordinate system From to the coordinate system To of the same dimension, like a rotation, whose square matrix A transforms the components v of a vector in From into its components A v in To. More...
class  PassiveProperRigidTransformationTemplate
 A passive proper rigid transformation from From to To, which first rotates, then translates: p -> R p + t. More...
class  PassiveSpatialRotation
 A passive rotation from the coordinate system From to the coordinate system To, which have the same origin: the dimensionless passive linear transformation whose matrix R, which transforms the components v of a vector in From into its components R v in To, is orthogonal with determinant 1, R R^T = I and det(R) = 1. More...
class  PassiveTransformation
 A passive transformation, which expresses the objects of the coordinate system From in the coordinate system To (see Transformation). More...
class  PassiveTranslation
 A passive translation from the coordinate system From to the coordinate system To, which have the same axes but different origins: a point p in From is the point p + t in To, and vectors, covectors and tensors with two upper indices, e.g. covariances, keep their components. More...
struct  Power
struct  Power< internal::AbsoluteImpl< Value_ >, ExponentT_ >
struct  Power< internal::ReducedRational< 0, 1 >, internal::ReducedRational< DividendExponentV_, DivisorExponentV_ > >
struct  Power< Quantities< ValuesT_, UnitsT_ >, ExponentT_ >
 The elementwise power, like the product of quantities, which is elementwise too (see pow()). More...
struct  Power< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Types... > >, ExponentT_ >
 The elementwise power, like the product of type matrices, which is elementwise too, e.g. the units of pow<2>() of quantities. More...
struct  Power< Unit< ImplementationT_ >, ExponentT_ >
struct  Power< Unit< UnitT_ >, ExponentT_ >
struct  Power< Unit< wuzp_units::UnitImpl< ExponentsT_... > >, ExponentT_ >
struct  Precision
 The default precision of isApprox() for values of the type ValueT_, which compares relatively: 1e-12 for double and 1e-5 for float. More...
struct  Precision< double >
struct  Precision< float >
struct  Precision< long double >
struct  Product< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  Product< AccessImplementation< ImplementationLhsT_ >, ValueRhsT_ >
struct  Product< CoordinateSystem< IdentifierLhsT_, MetricLhsT_ >, CoordinateSystem< IdentifierRhsT_, MetricRhsT_ > >
struct  Product< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > >
 The indices of the product of two tensors, one of which has rank 0: those of the other one. More...
struct  Product< internal::AbsoluteImpl< ValueLhs_ >, internal::AbsoluteImpl< ValueRhs_ > >
 Products, e.g. with a scalar, and the dot, inner, outer and cross products. Scalars are relative.
struct  Product< internal::ReducedRational< DividendLhsV_, DivisorLhsV_ >, internal::ReducedRational< DividendRhsV_, DivisorRhsV_ > >
struct  Product< MatrixSize< 1, 1 >, MatrixSize< 1, 1 > >
struct  Product< MatrixSize< 1, 1 >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  Product< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< 1, 1 > >
struct  Product< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  Product< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
struct  Product< Quantities< ValuesLhsT_, UnitsLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
struct  Product< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
 The product of a tensor and a quantity, a 1x1 matrix of quantities. More...
struct  Product< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
 The product of two tensors, one of which has rank 0, e.g. of a scalar field and a vector. More...
struct  Product< TypeLhs, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  Product< TypeMatrixImpl< MatrixSize< 1, 1 >, std::tuple< TypeLhs > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< Type0Rhs, Type1Rhs, TypesRhs... > > >
struct  Product< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< Type0Lhs, Type1Lhs, TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< Type0Rhs, Type1Rhs, TypesRhs... > > >
struct  Product< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< 1, 1 >, std::tuple< TypeRhs > > >
struct  Product< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeRhs >
struct  Product< Unit< ImplementationLhsT_ >, Unit< ImplementationRhsT_ > >
struct  Product< Unit< UnitLhsT_ >, Unit< UnitRhsT_ > >
struct  Product< Unit< wuzp_units::UnitImpl< ExponentsLhsT_... > >, Unit< wuzp_units::UnitImpl< ExponentsRhsT_... > > >
struct  Product< ValueLhsT_, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Product< ValuesWrapper< MatrixSize< 1, 1 >, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSize< 1, 1 >, ValueRhsT_, ImplementationRhsT_ > >
struct  Product< ValuesWrapper< MatrixSize< 1, 1 >, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Product< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValueRhsT_ >
struct  Product< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSize< 1, 1 >, ValueRhsT_, ImplementationRhsT_ > >
struct  Product< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Product< ValueType< Lhs >, ValueType< Rhs > >
 The product is performed elementwise. More...
class  Quantities
 Container to store quantities. More...
struct  Random
struct  Random< AccessImplementation< ImplementationT_ > >
struct  Rebind
 The evaluated type of another value type and size, of the same backend as T: e.g. the 1x1 values of a scalar that an operation combines with values of the type T. More...
struct  Rebind< AccessImplementation< ImplementationT_ >, ValueT_, RowsV_, ColsV_ >
struct  Rebind< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ >, ValueOtherT_, RowsV_, ColsV_ >
 Evaluated values of the same value matrix backend, with another value type and size. More...
struct  ReserveMemory
 Allocates a default constructed matrix of a value matrix backend for the size MatrixSizeT_: run(impl), e.g. nothing for the fixed-size arrays of Eigen, and resize() for Blitz++. More...
struct  ReserveMemory< ImplementationT_, MatrixSize< SizesV_... > >
struct  Rows
struct  Rows< MatrixSize< RowsV_, ColsV_ > >
struct  Rows< Quantities< ValuesT_, UnitsT_ > >
struct  Rows< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  Rows< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, Types > >
struct  Rows< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  SelectIf
struct  SelectIf< false >
class  SpatialAcceleration
 The spatial acceleration A_MBp_E of the frame B, measured in the frame M, about the point Bp, expressed in the coordinate system E, in the monogram notation of Drake's SpatialAcceleration (https://drake.mit.edu/doxygen_cxx/classdrake_1_1multibody_1_1_spatial_acceleration.html): the angular acceleration alpha_MB of B relative to M and the acceleration a_MBp of the point Bp, which moves with B, relative to M, both the derivatives in M of the parts of the spatial velocity V_MBp, expressed in E, the rotational part first. More...
class  SpatialForce
 The spatial force (wrench) F_Bp_E on the frame B, about the point Bp, expressed in the coordinate system E, in the monogram notation of Drake's SpatialForce (https://drake.mit.edu/doxygen_cxx/classdrake_1_1multibody_1_1_spatial_force.html): the torque tau_Bp about Bp and the force f on B, both expressed in E, the rotational part first, like Drake and Modern Robotics (Lynch and Park, Cambridge University Press, 2017, section 3.4), where a wrench is (m, f). More...
class  SpatialVector
 The base class of the spatial vectors SpatialVelocity, SpatialAcceleration and SpatialForce: a rotational and a translational part, two three-dimensional vectors expressed in the same coordinate system, the rotational part first, like the spatial vectors of Drake (https://drake.mit.edu/doxygen_cxx/group__multibody__spatial__vectors.html), Modern Robotics (Lynch and Park, Cambridge University Press, 2017, sections 3.3.2 and 3.4) and Featherstone (Rigid Body Dynamics Algorithms, Springer, 2008). More...
class  SpatialVelocity
 The spatial velocity (twist) V_MBp_E of the frame B, measured in the frame M, about the point Bp, expressed in the coordinate system E, in the monogram notation of Drake's SpatialVelocity (https://drake.mit.edu/doxygen_cxx/classdrake_1_1multibody_1_1_spatial_velocity.html): the angular velocity w_MB of B relative to M and the velocity v_MBp of the point Bp, which moves with B, relative to M, both expressed in E, the rotational part first, like Drake and Modern Robotics (Lynch and Park, Cambridge University Press, 2017, section 3.3.2). More...
struct  SquaredNorm
struct  SquaredNorm< AccessImplementation< ImplementationT_ > >
struct  SubtractTwoTuples
struct  SubtractTwoTuples< std::tuple< TsLhs... >, std::tuple< TsRhs... > >
struct  SubtractTwoTuplesImpl
struct  SubtractTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::index_sequence< Is... > >
struct  Sum< AccessImplementation< ImplementationLhsT_ >, AccessImplementation< ImplementationRhsT_ > >
struct  Sum< CoordinateSystem< IdentifierLhsT_, MetricLhsT_ >, CoordinateSystem< IdentifierRhsT_, MetricRhsT_ > >
struct  Sum< Indices< VariancesLhsT_... >, Indices< VariancesRhsT_... > >
struct  Sum< internal::AbsoluteImpl< ValueLhs_ >, internal::AbsoluteImpl< ValueRhs_ > >
struct  Sum< internal::ReducedRational< DividendLhsV_, DivisorLhsV_ >, internal::ReducedRational< DividendRhsV_, DivisorRhsV_ > >
struct  Sum< MatrixSize< RowsLhsV_, ColsLhsV_ >, MatrixSize< RowsRhsV_, ColsRhsV_ > >
struct  Sum< Quantities< ValuesLhsT_, UnitsLhsT_ >, Quantities< ValuesRhsT_, UnitsRhsT_ > >
struct  Sum< Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ >, Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > >
struct  Sum< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >
struct  Sum< Unit< ImplementationLhsT_ >, Unit< ImplementationRhsT_ > >
struct  Sum< ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ >, ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > >
struct  Sum< ValueType< Lhs >, ValueType< Rhs > >
 The sum is performed elementwise. More...
struct  Tag
class  Tensor
 A tensor of rank 0, 1 or 2, whose components are quantities, expressed in a coordinate system, e.g. a vector, a covector, a linear map or a mass matrix. More...
struct  ToColsImpl
struct  ToColsImpl< ColsV_, std::tuple< Ts... >, std::index_sequence< ColIs... > >
struct  ToRowsImpl
struct  ToRowsImpl< ColsV_, std::tuple< Ts... >, std::index_sequence< RowIs... > >
class  Transformation
 The base class of all transformations: linear transformations, e.g. rotations and Lorentz transformations, translations, proper rigid transformations (first rotation, then translation) and Jacobians. More...
struct  TransformationTraits
 How a transformation transforms an object: static auto transform(const TransformationT_&, const Object&) returns the result. More...
struct  TransformationTraits< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... >, ActiveLinearTransformation< ValuesOtherT_, ValueOtherT_, CoordinateSystemOtherT_, DimensionFromOtherV_, DimensionToOtherV_, UnitsOtherT_... > >
struct  TransformationTraits< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... >, ActiveTranslation< ValuesOtherT_, DimensionOtherV_, ValueOtherT_, CoordinateSystemOtherT_, UnitsOtherT_... > >
struct  TransformationTraits< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Down >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Down, Down >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Up >, QuantitiesOtherT_, CoordinateSystemOtherT_, AbsoluteOtherT_ > >
struct  TransformationTraits< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Up, Down >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Up, Up >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< ActiveProperRigidTransformationTemplate< CoordinateSystemT_, RotationT_, TranslationT_ >, Object >
struct  TransformationTraits< ActiveSpatialRotation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionV_ >, ActiveSpatialRotation< ValuesOtherT_, ValueOtherT_, CoordinateSystemOtherT_, DimensionOtherV_ > >
struct  TransformationTraits< ActiveSpatialRotation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionV_ >, Object >
struct  TransformationTraits< ActiveTranslation< ValuesT_, DimensionV_, ValueT_, CoordinateSystemT_, UnitsT_... >, ActiveTranslation< ValuesOtherT_, DimensionOtherV_, ValueOtherT_, CoordinateSystemOtherT_, UnitsOtherT_... > >
struct  TransformationTraits< ActiveTranslation< ValuesT_, DimensionV_, ValueT_, CoordinateSystemT_, UnitsT_... >, Tensor< IndicesOtherT_, QuantitiesOtherT_, CoordinateSystemOtherT_, AbsoluteOtherT_ > >
struct  TransformationTraits< Jacobian< ValuesT_, ValueT_, FromT_, ToT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Up >, QuantitiesOtherT_, CoordinateSystemOtherT_, Absolute > >
struct  TransformationTraits< Jacobian< ValuesT_, ValueT_, FromT_, ToT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Up >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< Jacobian< ValuesT_, ValueT_, FromT_, ToT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< Indices< Up, Up >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< Jacobian< ValuesT_, ValueT_, FromT_, ToT_, DimensionFromV_, DimensionToV_, UnitsT_... >, Tensor< IndicesOtherT_, QuantitiesOtherT_, CoordinateSystemOtherT_, AbsoluteOtherT_ > >
struct  TransformationTraits< LorentzTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ >, Object >
struct  TransformationTraits< PassiveLinearTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_, UnitsT_... >, Tensor< Indices< Down >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< PassiveLinearTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_, UnitsT_... >, Tensor< Indices< Down, Down >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< PassiveLinearTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_, UnitsT_... >, Tensor< Indices< Up >, QuantitiesOtherT_, CoordinateSystemOtherT_, AbsoluteOtherT_ > >
struct  TransformationTraits< PassiveLinearTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_, UnitsT_... >, Tensor< Indices< Up, Down >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< PassiveLinearTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_, UnitsT_... >, Tensor< Indices< Up, Up >, QuantitiesOtherT_, CoordinateSystemOtherT_, Relative > >
struct  TransformationTraits< PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ >, Object >
struct  TransformationTraits< PassiveSpatialRotation< ValuesT_, ValueT_, FromT_, ToT_, 3 >, SpatialVectorT_ >
struct  TransformationTraits< PassiveSpatialRotation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ >, Object >
struct  TransformationTraits< PassiveTranslation< ValuesT_, DimensionV_, ValueT_, FromT_, ToT_, UnitsT_... >, SpatialVectorT_ >
struct  TransformationTraits< PassiveTranslation< ValuesT_, DimensionV_, ValueT_, FromT_, ToT_, UnitsT_... >, Tensor< IndicesOtherT_, QuantitiesOtherT_, CoordinateSystemOtherT_, AbsoluteOtherT_ > >
struct  Transpose
struct  Transpose< AccessImplementation< ImplementationT_ > >
struct  Transpose< Indices< Variance0T_, Variance1T_ > >
struct  Transpose< Indices< VarianceT_ > >
struct  Transpose< Indices<> >
 The indices of the transpose: the transpose of a tensor of rank 2 swaps its indices, e.g. (T^T)_j^i = T^i_j, and the transpose of a vector, a column, is a covector, a row, and vice versa. More...
struct  Transpose< MatrixSize< RowsV_, ColsV_ > >
struct  Transpose< Quantities< ValuesT_, UnitsT_ > >
struct  Transpose< Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > >
struct  Transpose< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Types... > > >
struct  Transpose< ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > >
struct  TypeMatrixImpl
 A matrix of the types in the std::tuple Types, row by row, of the size MatrixSizeT_, a MatrixSize like that of ValuesWrapper. More...
struct  TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Types... > >
struct  Unit
struct  UnitsDescribeLinearMap
 Whether the units of a matrix describe a linear map, M_ij = a_i / b_j (Hart, section 3.1, see above): then M_ij M_00 = a_i a_0 / (b_j b_0) = M_i0 M_0j for all i and j, and conversely, a_i = M_i0 and b_j = M_00 / M_0j satisfy M_ij = a_i / b_j if M_ij M_00 = M_i0 M_0j. More...
struct  Up
 An upper, or contravariant, index, e.g. of a vector v^i, whose components transform like the coordinates. More...
struct  ValidityTolerance
 The tolerance of the validity checks of rotations and Lorentz transformations, for values of the type ValueT_: the largest absolute deviation of an element of R R^T from the identity, or of Lambda^T eta Lambda from eta (see ActiveSpatialRotation::isValid() and LorentzTransformation::isValid()). More...
struct  ValidityTolerance< double >
struct  ValidityTolerance< float >
struct  ValidityTolerance< long double >
class  ValuesWrapper
 Wrapper for the actual implementation of a value container. More...
struct  ValueType
 Wrapper for partial specializations of trait for values types. More...
struct  Zero
struct  Zero< AccessImplementation< ImplementationT_ > >

Concepts

concept  AbsoluteOrRelative
 Absolute or Relative: whether a tensor is a point or a vector.
concept  AnyCoordinateSystem
 Any coordinate system: a specialization of CoordinateSystem, including the intermediate ones of transformations.
concept  AnyIndices
 Any indices of a tensor: a specialization of Indices, e.g. Indices<Up, Down>.
concept  AnyMatrixSize
 Any size of a matrix: a MatrixSize with rows and columns.
concept  AnyQuantities
 Any quantity matrix: a specialization of Quantities, including Quantity.
concept  AnyRotation
 A rotation, i.e. an ActiveSpatialRotation or a PassiveSpatialRotation, whose matrix is orthogonal with determinant 1, so that its inverse is its transpose: e.g. the rotation of a proper rigid transformation.
concept  AnySpatialVector
 A spatial vector of wuzp, i.e. a type that derives from SpatialVector: SpatialVelocity, SpatialAcceleration or SpatialForce.
concept  AnyTensor
 Any tensor: a specialization of Tensor, including points, vectors and their aliases.
concept  AnyTransformation
 A transformation of wuzp, i.e. a type that derives from Transformation, also through a class that derives from a transformation.
concept  AnyUnit
 Any unit of any units backend: a specialization of Unit.
concept  AnyUnitMatrix
 Any unit matrix: a TypeMatrix of units.
concept  AnyValueMatrix
 The alias template ValueMatrix<ValueT_, RowsV_, ColsV_> of any value matrix backend, e.g. wuzp_eigen::ValueMatrix, rather than e.g. the matrices of its linear algebra library.
concept  AnyValuesWrapper
 Any value matrix: a specialization of ValuesWrapper.
concept  ArithmeticValue
 An arithmetic type, e.g. int, float or double: the type of the elements of value matrices.
concept  CopiesOrMoves
 Whether constructing a Class from the arguments copies or moves it, i.e. whether they are a single Class.
concept  EuclideanCoordinateSystem
 A coordinate system with the Euclidean metric, the default, e.g. CoordinateSystem<World>: the coordinate system of rotations and proper rigid transformations, whose orthogonality is defined by this metric (see Metric).
concept  EuclideanOrMinkowski
 The metric of a coordinate system: Euclidean or Minkowski.
concept  InvertibleValueMatrixBackend
 A value matrix backend that also provides the matrix inverse (Inverse) of floating point matrices, and the determinant (Determinant) of floating point and integer matrices: the core rejects the inverse of an integer matrix, which is not an integer matrix in general, but not its determinant (see "Inverses and determinants" in DESIGN.md).
concept  MinkowskiCoordinateSystem
 A coordinate system with the Minkowski metric, e.g. CoordinateSystem<Spacetime, Minkowski>: an inertial frame of special relativity, in which spacetime vectors are expressed and between which Lorentz transformations transform (see Metric).
concept  Specializable
 Whether the template can be specialized with the arguments, e.g. whether their number fits and they satisfy its constraints.
concept  UnitSystem
 The units of a units backend, e.g. AccessUnits<AccessImplementation<double>>: the base and derived units that the core and its aliases use, e.g. Length and Force, which are consistent with the arithmetic traits of the backend, Product, Division, Power (with rational exponents), Inverse and Identity, e.g. Velocity is Length divided by Time, and also AngularVelocity times Length, for the transport formulas of rigid body kinematics, e.g. w x r.
concept  UpOrDown
 Up or Down: whether an index of a tensor is upper (contravariant) or lower (covariant).
concept  ValueMatrixBackend
 A value matrix backend, given as its alias template ValueMatrix<ValueT_, RowsV_, ColsV_>, e.g. wuzp_eigen::ValueMatrix: its value matrices are ValuesWrappers of the given value type and size, and it specializes the traits the core needs for their implementation types.

Typedefs

using Absolute = internal::AbsoluteImpl<true>
using Relative = internal::AbsoluteImpl<false>
template<int Size, typename T>
using HomogeneousTuple = decltype(std::tuple_cat(std::declval<std::array<T, std::size_t{Size}>>()))
template<int Start, int End, int Increment, typename Tuple>
using GetSubset = GetSubsetImpl<Start, End, Increment, Tuple, std::make_index_sequence<std::tuple_size<Tuple>::value>>
template<int ValueV_>
using Integer = Rational<ValueV_, 1>
template<typename ValueT_, typename UnitT_>
using Quantity = Quantities<ValueT_, TypeMatrixImpl<MatrixSize<1, 1>, std::tuple<UnitT_>>>
 Container to store a single quantity.
template<int DividendV_, int DivisorV_>
using Rational = typename internal::ReduceRational<DividendV_, DivisorV_>::type
template<typename QuantityVectorT_, typename CoordinateSystemT_>
using Vector = Tensor<Indices<Up>, QuantityVectorT_, CoordinateSystemT_, Relative>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename UnitT_, typename CoordinateSystemT_>
using HomogeneousVector = Vector<Quantities<ValuesT_<ValueT_, DimensionV_, 1>, TypeMatrix<DimensionV_, 1, UnitT_>>, CoordinateSystemT_>
template<typename QuantityVectorT_, typename CoordinateSystemT_>
using Covector = Tensor<Indices<Down>, QuantityVectorT_, CoordinateSystemT_, Relative>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename UnitT_, typename CoordinateSystemT_>
using HomogeneousCovector = Covector<Quantities<ValuesT_<ValueT_, 1, DimensionV_>, TypeMatrix<1, DimensionV_, UnitT_>>, CoordinateSystemT_>
template<typename QuantityVectorT_, typename CoordinateSystemT_>
using Point = Tensor<Indices<Up>, QuantityVectorT_, CoordinateSystemT_, Absolute>
 A point, or a batch of points, one per column, e.g. a point cloud.
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename UnitT_, typename CoordinateSystemT_>
using HomogeneousPoint = Point<Quantities<ValuesT_<ValueT_, DimensionV_, 1>, TypeMatrix<DimensionV_, 1, UnitT_>>, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using DirectionVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using DirectionVector2 = DirectionVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using DirectionVector3 = DirectionVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using RotationVector3
 A rotation vector, the angle of a rotation times its unit axis, e.g. the logarithm of a rotation, an increment of boxPlus() or the angular velocity times a time step (see ActiveSpatialRotation::fromRotationVector()).
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using PositionPoint
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using PositionPoint2 = PositionPoint<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using PositionPoint3 = PositionPoint<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using PositionVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using PositionVector2 = PositionVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using PositionVector3 = PositionVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using VelocityVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using VelocityVector2 = VelocityVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using VelocityVector3 = VelocityVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AccelerationVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AccelerationVector2 = AccelerationVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AccelerationVector3 = AccelerationVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AngularVelocityVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AngularVelocityVector2 = AngularVelocityVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AngularVelocityVector3 = AngularVelocityVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AngularAccelerationVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AngularAccelerationVector2 = AngularAccelerationVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using AngularAccelerationVector3 = AngularAccelerationVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ForceVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ForceVector2 = ForceVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ForceVector3 = ForceVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ForceCovector
 A force as a covector, the dual of a velocity: their pairing innerProduct(force, velocity) is the power, which needs no metric, and a Jacobian pulls it back, e.g. into the joint torques tau = J^T F (see Jacobian::pullback()), like the spatial force vectors of Featherstone, whose space is the dual of the space of motion vectors, with the power v .
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ForceCovector2 = ForceCovector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ForceCovector3 = ForceCovector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using TorqueVector
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using TorqueVector2 = TorqueVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using TorqueVector3 = TorqueVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using TimePoint = HomogeneousPoint<1, ValuesT_, ValueT_, typename AccessUnits<AccessImplementation<ValueT_>>::Time, CoordinateSystemT_>
 A point in time, a one-dimensional point in a coordinate system whose origin is an epoch, e.g. CoordinateSystem<Epoch>.
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using Duration = HomogeneousVector<1, ValuesT_, ValueT_, typename AccessUnits<AccessImplementation<ValueT_>>::Time, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimePoint = PositionPoint<DimensionV_, ValuesT_, ValueT_, CoordinateSystemT_>
 An event, a point in spacetime, with the time component first, in length units (x^0 = c t), expressed in an inertial frame of special relativity, i.e. a coordinate system with the Minkowski metric, e.g. CoordinateSystem<Spacetime, Minkowski> (see Minkowski).
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimePoint2 = SpacetimePoint<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimePoint3 = SpacetimePoint<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimePoint4 = SpacetimePoint<4, ValuesT_, ValueT_, CoordinateSystemT_>
template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimeVector = PositionVector<DimensionV_, ValuesT_, ValueT_, CoordinateSystemT_>
 A displacement in spacetime, with the time component first, in length units (x^0 = c t), expressed in a coordinate system with the Minkowski metric (see SpacetimePoint).
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimeVector2 = SpacetimeVector<2, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimeVector3 = SpacetimeVector<3, ValuesT_, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using SpacetimeVector4 = SpacetimeVector<4, ValuesT_, ValueT_, CoordinateSystemT_>
using FromSimilar = Tag<FromSimilarLabel>
using FromImplementation = Tag<FromImplementationLabel>
using FromImplementationArgs = Tag<FromImplementationArgsLabel>
template<typename TypeT_>
using Type = TypeMatrix<1, 1, TypeT_>
template<size_t ColsV_, typename... Ts>
using ToRows = ToRowsImpl<ColsV_, std::tuple<Ts...>, std::make_index_sequence<sizeof...(Ts) / ColsV_>>
template<size_t ColsV_, typename... Ts>
using ToCols = ToColsImpl<ColsV_, std::tuple<Ts...>, std::make_index_sequence<ColsV_>>
template<int SizeV_, typename ZeroType, typename OneType>
using DiagonalTypeMatrix
template<int RowsV_, int ColsV_, typename... Types>
using TypeMatrix = typename CreateTypeMatrix<RowsV_, ColsV_, Types...>::type
 A matrix storing types at compile-time.
template<int RowsV_, typename... Types>
using TypeVector = typename CreateTypeMatrix<RowsV_, 1, Types...>::type
 A vector storing types at compile-time.
template<typename TypeT_>
using TypeScalar = typename CreateTypeMatrix<1, 1, TypeT_>::type
 A scalar storing a type at compile-time.
template<typename ValuesT_, typename ValueT_>
using ScalarValues = typename Rebind<ValuesT_, ValueT_, 1, 1>::type
 Evaluated 1x1 values of the value matrix backend of ValuesT_, with the value type ValueT_: e.g. a scalar that an operation combines with values of the type ValuesT_, which is converted into values of the same backend.
template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename CoordinateSystemT_, typename ValueT_>
using ActiveProperRigidTransformation
 The active proper rigid transformation of a rotation and a spatial translation, which first rotates, then translates: x -> R x + t (see ActiveProperRigidTransformationTemplate).
template<template< typename, int, int > typename ValuesT_, typename CoordinateSystemT_, typename ValueT_>
using ActiveProperRigidTransformation2 = ActiveProperRigidTransformation<ValuesT_, 2, CoordinateSystemT_, ValueT_>
template<template< typename, int, int > typename ValuesT_, typename CoordinateSystemT_, typename ValueT_>
using ActiveProperRigidTransformation3 = ActiveProperRigidTransformation<ValuesT_, 3, CoordinateSystemT_, ValueT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ActiveSpatialRotation2 = ActiveSpatialRotation<ValuesT_, ValueT_, CoordinateSystemT_, 2>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ActiveSpatialRotation3 = ActiveSpatialRotation<ValuesT_, ValueT_, CoordinateSystemT_, 3>
template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename CoordinateSystemT_>
using ActiveSpatialTranslation
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ActiveSpatialTranslation2 = ActiveSpatialTranslation<ValuesT_, 2, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using ActiveSpatialTranslation3 = ActiveSpatialTranslation<ValuesT_, 3, ValueT_, CoordinateSystemT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using LorentzTransformation2 = LorentzTransformation<ValuesT_, ValueT_, FromT_, ToT_, 2>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using LorentzTransformation3 = LorentzTransformation<ValuesT_, ValueT_, FromT_, ToT_, 3>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using LorentzTransformation4 = LorentzTransformation<ValuesT_, ValueT_, FromT_, ToT_, 4>
template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename FromT_, typename ToT_, typename ValueT_>
using PassiveProperRigidTransformation
 The passive proper rigid transformation of a rotation and a spatial translation from From to To, which first rotates, then translates: p -> R p + t (see PassiveProperRigidTransformationTemplate).
template<template< typename, int, int > typename ValuesT_, typename FromT_, typename ToT_, typename ValueT_>
using PassiveProperRigidTransformation2 = PassiveProperRigidTransformation<ValuesT_, 2, FromT_, ToT_, ValueT_>
template<template< typename, int, int > typename ValuesT_, typename FromT_, typename ToT_, typename ValueT_>
using PassiveProperRigidTransformation3 = PassiveProperRigidTransformation<ValuesT_, 3, FromT_, ToT_, ValueT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using PassiveSpatialRotation2 = PassiveSpatialRotation<ValuesT_, ValueT_, FromT_, ToT_, 2>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using PassiveSpatialRotation3 = PassiveSpatialRotation<ValuesT_, ValueT_, FromT_, ToT_, 3>
template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename FromT_, typename ToT_>
using PassiveSpatialTranslation
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using PassiveSpatialTranslation2 = PassiveSpatialTranslation<ValuesT_, 2, ValueT_, FromT_, ToT_>
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using PassiveSpatialTranslation3 = PassiveSpatialTranslation<ValuesT_, 3, ValueT_, FromT_, ToT_>

Functions

template<typename First, typename... Rest>
void applyCommas (First &&first, Rest &&... rest)
 Applies the comma operator from left to right: applyCommas(a, b, c) evaluates ((a, b), c).
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto sum (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto operator+ (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto difference (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto operator- (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesT_, typename UnitsT_>
auto negation (const Quantities< ValuesT_, UnitsT_ > &rhs)
template<typename ValuesT_, typename UnitsT_>
auto operator- (const Quantities< ValuesT_, UnitsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto product (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValueLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto product (const ValueLhsT_ lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto product (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto product (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto product (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
 The elementwise product of quantities of the same size, or with a quantity.
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto operator* (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValueLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto operator* (const ValueLhsT_ lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator* (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto operator* (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto operator* (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto innerProduct (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto outerProduct (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto division (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto division (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_, typename UnitRhsT_>
auto division (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantity< ValueRhsT_, UnitRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto division (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
 The elementwise quotient of quantities of the same size.
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto operator/ (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator/ (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_, typename UnitRhsT_>
auto operator/ (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantity< ValueRhsT_, UnitRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
bool operator== (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
bool operator!= (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesT_, typename UnitsT_>
std::ostream & operator<< (std::ostream &lhs, const Quantities< ValuesT_, UnitsT_ > &rhs)
template<typename ExponentT_, typename ValuesT_, typename UnitsT_>
auto pow (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The quantities raised to a rational power P/Q, elementwise, e.g. pow<Rational<1, 2>>(area) is a length, and pow<2>() of a length and a time is an area and a squared time.
template<int ExponentV_, typename ValuesT_, typename UnitsT_>
auto pow (const Quantities< ValuesT_, UnitsT_ > &quantities)
template<int ExponentDividendV_, int ExponentDivisorV_, typename ValuesT_, typename UnitsT_>
auto pow (const Quantities< ValuesT_, UnitsT_ > &quantities)
template<typename ValuesT_, typename UnitsT_>
auto sqrt (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The square root, elementwise: pow<1, 2>(), computed with std::sqrt (https://en.cppreference.com/w/cpp/numeric/math/sqrt), e.g. the square root of an area is a length.
template<typename ValuesT_, typename UnitsT_>
auto cbrt (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The cube root, elementwise: pow<1, 3>(), computed with std::cbrt (https://en.cppreference.com/w/cpp/numeric/math/cbrt), e.g. the cube root of a volume is a length.
template<typename ValuesT_, typename UnitsT_>
auto abs (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The absolute value, elementwise, of the same unit, like std::abs (https://en.cppreference.com/w/cpp/numeric/math/fabs), and the values themselves for unsigned values, for which std::abs is ambiguous.
template<typename ValuesT_, typename UnitsT_>
auto sin (const Quantities< ValuesT_, UnitsT_ > &angles)
 The sine of angles in radians, elementwise, like std::sin (https://en.cppreference.com/w/cpp/numeric/math/sin): dimensionless quantities.
template<typename ValuesT_, typename UnitsT_>
auto cos (const Quantities< ValuesT_, UnitsT_ > &angles)
 The cosine of angles in radians, elementwise, like std::cos (https://en.cppreference.com/w/cpp/numeric/math/cos), see sin().
template<typename ValuesT_, typename UnitsT_>
auto tan (const Quantities< ValuesT_, UnitsT_ > &angles)
 The tangent of angles in radians, elementwise, like std::tan (https://en.cppreference.com/w/cpp/numeric/math/tan), see sin().
template<typename ValuesT_, typename UnitsT_>
auto asin (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The arc sine of dimensionless quantities, elementwise, like std::asin (https://en.cppreference.com/w/cpp/numeric/math/asin): the angles in [-pi/2, pi/2] in radians, which are dimensionless (see "Angles are dimensionless" in DESIGN.md).
template<typename ValuesT_, typename UnitsT_>
auto acos (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The arc cosine of dimensionless quantities, elementwise, like std::acos (https://en.cppreference.com/w/cpp/numeric/math/acos): the angles in [0, pi] in radians, see asin().
template<typename ValuesT_, typename UnitsT_>
auto atan (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The arc tangent of dimensionless quantities, elementwise, like std::atan (https://en.cppreference.com/w/cpp/numeric/math/atan): the angles in [-pi/2, pi/2] in radians, see asin().
template<typename ValuesT_, typename UnitsT_>
auto exp (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The exponential function e^x of dimensionless quantities, elementwise, like std::exp (https://en.cppreference.com/w/cpp/numeric/math/exp): not the matrix exponential of a matrix.
template<typename ValuesT_, typename UnitsT_>
auto log (const Quantities< ValuesT_, UnitsT_ > &quantities)
 The natural logarithm of dimensionless quantities, elementwise, like std::log (https://en.cppreference.com/w/cpp/numeric/math/log): NaN for negative values, and -infinity for zero.
template<typename ValuesYT_, typename UnitYT_, typename ValuesXT_, typename UnitXT_>
auto atan2 (const Quantity< ValuesYT_, UnitYT_ > &y, const Quantity< ValuesXT_, UnitXT_ > &x)
 The angle of the point (x, y) from the positive x axis, in [-pi, pi] in radians, of two quantities with the same unit, e.g. lengths, like std::atan2 (https://en.cppreference.com/w/cpp/numeric/math/atan2): y comes first, the angle is counterclockwise from the x axis to the y axis, and its branch cut is the negative x axis, where it is pi for y = +0 and -pi for y = -0.
template<typename ValuesXT_, typename UnitXT_, typename ValuesYT_, typename UnitYT_>
auto hypot (const Quantity< ValuesXT_, UnitXT_ > &x, const Quantity< ValuesYT_, UnitYT_ > &y)
 The length sqrt(x^2 + y^2) of two quantities with the same unit, e.g. the components of a vector, without overflow or underflow in the intermediate steps, like std::hypot (https://en.cppreference.com/w/cpp/numeric/math/hypot).
template<typename ValuesLhsT_, typename UnitLhsT_, typename ValuesRhsT_, typename UnitRhsT_>
auto min (const Quantity< ValuesLhsT_, UnitLhsT_ > &lhs, const Quantity< ValuesRhsT_, UnitRhsT_ > &rhs)
 The smaller of two quantities with the same unit, like std::min (https://en.cppreference.com/w/cpp/algorithm/min), which returns lhs if neither is smaller, e.g. if one is NaN.
template<typename ValuesT_, typename UnitT_>
auto min (const Quantity< ValuesT_, UnitT_ > &lhs, const Quantity< ValuesT_, UnitT_ > &rhs)
 min() of two quantities of the same type.
template<typename ValuesLhsT_, typename UnitLhsT_, typename ValuesRhsT_, typename UnitRhsT_>
auto max (const Quantity< ValuesLhsT_, UnitLhsT_ > &lhs, const Quantity< ValuesRhsT_, UnitRhsT_ > &rhs)
 The larger of two quantities with the same unit, like std::max (https://en.cppreference.com/w/cpp/algorithm/max), which returns lhs if neither is larger, e.g. if one is NaN.
template<typename ValuesT_, typename UnitT_>
auto max (const Quantity< ValuesT_, UnitT_ > &lhs, const Quantity< ValuesT_, UnitT_ > &rhs)
 max() of two quantities of the same type, see min().
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto sum (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto operator+ (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto difference (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto operator- (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto negation (const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > &rhs)
template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto operator- (const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto product (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValueRhsT_ rhs)
 The product with an arithmetic scalar, which is converted into the value type of the tensor if their common type is the value type, e.g. 2 * vector for a vector of doubles (see internal::toDimensionlessQuantity).
template<ArithmeticValue ValueLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto product (const ValueLhsT_ lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto product (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
 The product with dimensionless values, which must be a scalar, 1x1 values.
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto product (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto product (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
 The product with a quantity, 1x1 quantities (see Product<Tensor<...>, Quantities<...>>).
template<typename ValuesLhsT_, typename UnitsLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto product (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto product (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
 The product of two tensors, one of which has rank 0 (see Product<Tensor<...>, Tensor<...>>).
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto operator* (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValueRhsT_ rhs)
template<ArithmeticValue ValueLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto operator* (const ValueLhsT_ lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator* (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto operator* (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto operator* (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename ValuesLhsT_, typename UnitsLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto operator* (const Quantities< ValuesLhsT_, UnitsLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto operator* (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto innerProduct (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
 The inner product, which contracts the last index of the left-hand side with the first index of the right-hand side, e.g. w_i v^i of a covector and a vector, T^i_j v^j of a linear map and a vector, or M_ij v^j of a mass matrix and a vector, a covector.
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto outerProduct (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
 The outer (tensor) product of two vectors or covectors, e.g. v^i w_j, a tensor of rank 2 whose indices are those of the left-hand side, followed by those of the right-hand side (see OuterProduct<Indices<...>, Indices<...>>).
template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto skewSymmetricMatrix (const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > &vector)
 The skew-symmetric matrix [v]x of a three-dimensional vector v, the linear map of the cross product with v: innerProduct(skewSymmetricMatrix(v), w) is v.crossProduct(w), e.g. for the velocity w x r of a point of a rotating body or the derivative dR/dt = [w]x R of a rotation.
template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto vectorOfSkewSymmetricMatrix (const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > &matrix)
 The vector v of the skew-symmetric matrix [v]x, the inverse of skewSymmetricMatrix(): for a three-dimensional linear map M, the vector of its skew-symmetric part (M - M^T) / 2, v = (M_21 - M_12, M_02 - M_20, M_10 - M_01) / 2, which averages out rounding errors of a matrix that is skew-symmetric only approximately, e.g. dR/dt R^T.
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto cwiseProduct (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
 The elementwise (Hadamard) product of the components of two tensors in the same coordinate system.
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto cwiseQuotient (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
 The elementwise quotient of the components of two tensors in the same coordinate system, as quantities (see cwiseProduct()).
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto division (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValueRhsT_ rhs)
 The quotient by an arithmetic scalar, which is converted into the value type of the tensor (see product()).
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto division (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto division (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto division (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto operator/ (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator/ (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto operator/ (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Quantities< ValuesRhsT_, UnitsRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto operator/ (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
bool operator== (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
bool operator!= (const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > &lhs, const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > &rhs)
template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
std::ostream & operator<< (std::ostream &lhs, const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > &rhs)
template<typename Lhs, typename Rhs>
auto sum (const Lhs &lhs, const Rhs &rhs)
template<typename Lhs, typename Rhs>
auto difference (const Lhs &lhs, const Rhs &rhs)
template<typename Rhs>
auto negation (const Rhs &rhs)
template<typename Lhs, typename Rhs>
auto product (const Lhs &lhs, const Rhs &rhs)
template<typename Lhs, typename Rhs>
auto innerProduct (const Lhs &lhs, const Rhs &rhs)
template<typename Lhs, typename Rhs>
auto outerProduct (const Lhs &lhs, const Rhs &rhs)
template<typename Lhs, typename Rhs>
auto dotProduct (const Lhs &lhs, const Rhs &rhs)
template<typename Lhs, typename Rhs>
auto crossProduct (const Lhs &lhs, const Rhs &rhs)
template<typename Lhs, typename Rhs>
auto division (const Lhs &lhs, const Rhs &rhs)
template<typename T>
auto makeRelative (T t)
 The vector from the origin of the coordinate system to a point, p - o: the same components, as a relative object.
template<typename T>
auto makeAbsolute (T t)
 The point at a vector from the origin of the coordinate system, o + v: the same components, as an absolute object.
template<typename To, typename T>
auto castCoordinateSystem (T t)
template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_, typename... Args>
void initialize (ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &values, Args &&... args)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto sum (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator+ (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto difference (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator- (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
auto negation (const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &rhs)
template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
auto operator- (const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto product (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValueLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto product (const ValueLhsT_ lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto product (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto operator* (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename ValueLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator* (const ValueLhsT_ lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator* (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto innerProduct (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto outerProduct (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto division (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto division (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto operator/ (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValueRhsT_ rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto operator/ (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
bool operator== (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
bool operator!= (const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > &lhs, const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > &rhs)
template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
std::ostream & operator<< (std::ostream &lhs, const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool operator== (const ActiveLinearTransformation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > &lhs, const ActiveLinearTransformation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool operator!= (const ActiveLinearTransformation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > &lhs, const ActiveLinearTransformation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_, int DimensionFromV_, int DimensionToV_, typename... UnitsT_>
std::ostream & operator<< (std::ostream &lhs, const ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionRhsV_>
bool operator== (const ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ > &lhs, const ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionRhsV_>
bool operator!= (const ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ > &lhs, const ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > &rhs)
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_, int DimensionV_>
std::ostream & operator<< (std::ostream &lhs, const ActiveSpatialRotation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionV_ > &rhs)
template<typename LhsT_, typename RhsT_>
auto operator* (const ActiveTransformation< LhsT_ > &lhs, const ActiveTransformation< RhsT_ > &rhs)
 The composition of two active transformations in the same coordinate system, which applies rhs first, then lhs: (lhs * rhs).transform(x) is lhs.transform(rhs.transform(x)), like the product of their matrices (see CompositionTraits).
template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename CoordinateSystemLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename CoordinateSystemRhsT_, typename... UnitsRhsT_>
bool operator== (const ActiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, CoordinateSystemLhsT_, UnitsLhsT_... > &lhs, const ActiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, CoordinateSystemRhsT_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename CoordinateSystemLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename CoordinateSystemRhsT_, typename... UnitsRhsT_>
bool operator!= (const ActiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, CoordinateSystemLhsT_, UnitsLhsT_... > &lhs, const ActiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, CoordinateSystemRhsT_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename CoordinateSystemT_, typename... UnitsT_>
std::ostream & operator<< (std::ostream &lhs, const ActiveTranslation< ValuesT_, DimensionV_, ValueT_, CoordinateSystemT_, UnitsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool operator== (const Jacobian< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > &lhs, const Jacobian< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool operator!= (const Jacobian< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > &lhs, const Jacobian< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionFromV_, int DimensionToV_, typename... UnitsT_>
std::ostream & operator<< (std::ostream &lhs, const Jacobian< ValuesT_, ValueT_, FromT_, ToT_, DimensionFromV_, DimensionToV_, UnitsT_... > &rhs)
template<AnyTensor VelocityT_, AnyTensor AngularVelocityT_, AnyTensor OffsetT_>
auto velocityOfBodyFixedPoint (const VelocityT_ &velocity, const AngularVelocityT_ &angularVelocity, const OffsetT_ &offset)
 The velocity v_Q = v_P + w x p_PQ of a point Q fixed to a rigid body, from the velocity v_P of a point P fixed to the body, the angular velocity w of the body and the position vector p_PQ from P to Q.
template<AnyTensor AccelerationT_, AnyTensor AngularAccelerationT_, AnyTensor AngularVelocityT_, AnyTensor OffsetT_>
auto accelerationOfBodyFixedPoint (const AccelerationT_ &acceleration, const AngularAccelerationT_ &angularAcceleration, const AngularVelocityT_ &angularVelocity, const OffsetT_ &offset)
 The acceleration a_Q = a_P + alpha x p_PQ + w x (w x p_PQ) of a point Q fixed to a rigid body, from the acceleration a_P of a point P fixed to the body, the angular acceleration alpha and the angular velocity w of the body and the position vector p_PQ from P to Q, with the tangential acceleration alpha x p_PQ and the centripetal acceleration w x (w x p_PQ).
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool operator== (const LorentzTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > &lhs, const LorentzTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool operator!= (const LorentzTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > &lhs, const LorentzTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > &rhs)
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_>
std::ostream & operator<< (std::ostream &lhs, const LorentzTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ > &rhs)
template<template< typename, int, int > typename ValuesT_, typename ValueT_>
auto getSpeedOfLight ()
 The speed of light, as a quantity of the value matrix backend ValuesT_, e.g. getSpeedOfLight<wuzp_eigen::ValueMatrix, double>().
template<typename QuantitiesT_, typename CoordinateSystemT_>
auto getInvariant (const Vector< QuantitiesT_, CoordinateSystemT_ > &vector)
 The Minkowski interval eta_ij v^i v^j = v_0^2 - v_1^2 - ... - v_n^2 of a vector whose first component is the time component, e.g. of a spacetime vector (c t, x, y, z) or of a four-velocity, which Lorentz transformations preserve (Carroll, Lecture Notes on General Relativity, https://arxiv.org/abs/gr-qc/9712019, chapter 1).
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_>
LorentzTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ > createBoostMatrix (const VelocityVector< DimensionV_ - 1, ValuesT_, ValueT_, FromT_ > &velocity)
 The passive Lorentz boost from From to To, in the standard form with the time component first and in length units (x^0 = c t), and the signature (+, -, ..., -): x'^0 = gamma (x^0 - beta .
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_, typename... UnitsRhsT_>
bool operator== (const PassiveLinearTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_, UnitsLhsT_... > &lhs, const PassiveLinearTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_, typename... UnitsRhsT_>
bool operator!= (const PassiveLinearTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_, UnitsLhsT_... > &lhs, const PassiveLinearTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_, typename... UnitsT_>
std::ostream & operator<< (std::ostream &lhs, const PassiveLinearTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_, UnitsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool operator== (const PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > &lhs, const PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool operator!= (const PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > &lhs, const PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > &rhs)
template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_>
std::ostream & operator<< (std::ostream &lhs, const PassiveSpatialRotation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ > &rhs)
template<typename LhsT_, typename FromLhsT_, typename ToLhsT_, typename RhsT_, typename FromRhsT_, typename ToRhsT_>
auto operator* (const PassiveTransformation< LhsT_, FromLhsT_, ToLhsT_ > &lhs, const PassiveTransformation< RhsT_, FromRhsT_, ToRhsT_ > &rhs)
 The composition of two passive transformations, in the order of the monogram notation of Drake (https://drake.mit.edu/doxygen_cxx/group__multibody__notation.html): X_AB * X_BC = X_AC, i.e. the transformation from C to B, followed by the one from B to A, like ^A_C T = ^A_B T ^B_C T in the notation of Craig.
template<typename LhsT_, typename RhsT_, typename FromRhsT_, typename ToRhsT_>
auto operator* (const ActiveTransformation< LhsT_ > &lhs, const PassiveTransformation< RhsT_, FromRhsT_, ToRhsT_ > &rhs)
template<typename LhsT_, typename FromLhsT_, typename ToLhsT_, typename RhsT_>
auto operator* (const PassiveTransformation< LhsT_, FromLhsT_, ToLhsT_ > &lhs, const ActiveTransformation< RhsT_ > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, typename... UnitsRhsT_>
bool operator== (const PassiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, FromLhsT_, ToLhsT_, UnitsLhsT_... > &lhs, const PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, typename... UnitsRhsT_>
bool operator!= (const PassiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, FromLhsT_, ToLhsT_, UnitsLhsT_... > &lhs, const PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... > &rhs)
template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename FromT_, typename ToT_, typename... UnitsT_>
std::ostream & operator<< (std::ostream &lhs, const PassiveTranslation< ValuesT_, DimensionV_, ValueT_, FromT_, ToT_, UnitsT_... > &rhs)
template<typename FromT_, typename ToT_, typename RotationT_, typename TranslationT_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename MeasuredInT_, typename FrameT_, typename PointT_, typename ExpressedInT_>
auto adjoint (const PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ > &, const SpatialAcceleration< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ > &)
 Rejected with a message: the adjoint map of a rigid transformation maps spatial velocities and spatial forces, but a spatial acceleration of Drake shifts with the angular velocity of its frame (see SpatialAcceleration::shift()).
template<typename FromT_, typename ToT_, typename RotationT_, typename TranslationT_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename FrameT_, typename PointT_, typename ExpressedInT_>
auto adjoint (const PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ > &transformation, const SpatialForce< ValuesT_, ValueT_, FrameT_, PointT_, ExpressedInT_ > &force)
 The adjoint map of the passive proper rigid transformation X_AB = (R_AB, p_AoBo_A) from B to A applied to the spatial force F_Cbo_B on a frame C about the origin of B, expressed in B: the spatial force F_Cao_A about the origin of A, expressed in A, f' = R_AB f and tau' = R_AB tau + p_AoBo_A x (R_AB f), i.e. re-expressed in A and shifted to the origin of A.
template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
bool operator== (const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > &lhs, const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > &rhs)
 Whether two spatial vectors with the same tags are equal: both their parts are equal.
template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
bool operator!= (const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > &lhs, const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > &rhs)
 Whether two spatial vectors with the same tags differ: one of their parts differs.
template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
LhsT_ operator+ (const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > &lhs, const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > &rhs)
 The sum of two spatial vectors with the same tags, part by part, e.g. of two spatial forces on the same body about the same point.
template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
LhsT_ operator- (const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > &lhs, const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > &rhs)
 The difference of two spatial vectors with the same tags, part by part.
template<typename DerivedT_, typename RotationalT_, typename TranslationalT_>
std::ostream & operator<< (std::ostream &lhs, const SpatialVector< DerivedT_, RotationalT_, TranslationalT_ > &rhs)
 Prints the rotational part, then the translational part.
template<typename FromT_, typename ToT_, typename RotationT_, typename TranslationT_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename MeasuredInT_, typename FrameT_, typename PointT_, typename ExpressedInT_>
auto adjoint (const PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ > &transformation, const SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ > &velocity)
 The adjoint map [Ad_X] of the passive proper rigid transformation X_AB = (R_AB, p_AoBo_A) from B to A applied to the spatial velocity V_MCbo_B of a frame C, measured in M, about the origin of B, expressed in B: the spatial velocity V_MCao_A about the origin of A, expressed in A, w' = R_AB w and v' = R_AB v + p_AoBo_A x (R_AB w), i.e. re-expressed in A and shifted to the origin of A.

Variables

template<typename T, typename... Ts>
constexpr bool areSame = std::conjunction_v<std::is_same<T, Ts>...>
template<typename ScalarT_, typename ValueT_>
constexpr bool isConvertedToValueType = std::is_same_v<std::common_type_t<ScalarT_, ValueT_>, ValueT_>
 Whether an arithmetic scalar of the type ScalarT_ is converted into the value type ValueT_: if their common type (the type of their sum in C++) is the value type, e.g. an int scalar with double values, but not a double scalar with int or float values, nor an unsigned scalar with int values, whose sum would be unsigned.

Typedef Documentation

◆ Absolute

using wuzp::Absolute = internal::AbsoluteImpl<true>

Definition at line 17 of file Absolute.hpp.

◆ AccelerationVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AccelerationVector
Initial value:
HomogeneousVector<DimensionV_, ValuesT_, ValueT_,
typename AccessUnits<AccessImplementation<ValueT_>>::Acceleration, CoordinateSystemT_>
Vector< Quantities< ValuesT_< ValueT_, DimensionV_, 1 >, TypeMatrix< DimensionV_, 1, UnitT_ > >, CoordinateSystemT_ > HomogeneousVector
Definition Tensor.hpp:945
The units for values of the arithmetic type ValueT_, e.g. double, specialized for AccessImplementatio...
Definition traits.hpp:338

Definition at line 1008 of file Tensor.hpp.

◆ AccelerationVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AccelerationVector2 = AccelerationVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1011 of file Tensor.hpp.

◆ AccelerationVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AccelerationVector3 = AccelerationVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1013 of file Tensor.hpp.

◆ ActiveProperRigidTransformation

template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename CoordinateSystemT_, typename ValueT_>
using wuzp::ActiveProperRigidTransformation
Initial value:
An active proper rigid transformation, which first rotates, then translates: x -> R x + t,...
ActiveTranslation< ValuesT_, DimensionV_, ValueT_, CoordinateSystemT_, typename AccessUnits< AccessImplementation< ValueT_ > >::Length > ActiveSpatialTranslation

The active proper rigid transformation of a rotation and a spatial translation, which first rotates, then translates: x -> R x + t (see ActiveProperRigidTransformationTemplate).

Definition at line 12 of file ActiveProperRigidTransformation.hpp.

◆ ActiveProperRigidTransformation2

template<template< typename, int, int > typename ValuesT_, typename CoordinateSystemT_, typename ValueT_>
using wuzp::ActiveProperRigidTransformation2 = ActiveProperRigidTransformation<ValuesT_, 2, CoordinateSystemT_, ValueT_>

Definition at line 16 of file ActiveProperRigidTransformation.hpp.

◆ ActiveProperRigidTransformation3

template<template< typename, int, int > typename ValuesT_, typename CoordinateSystemT_, typename ValueT_>
using wuzp::ActiveProperRigidTransformation3 = ActiveProperRigidTransformation<ValuesT_, 3, CoordinateSystemT_, ValueT_>

Definition at line 18 of file ActiveProperRigidTransformation.hpp.

◆ ActiveSpatialRotation2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ActiveSpatialRotation2 = ActiveSpatialRotation<ValuesT_, ValueT_, CoordinateSystemT_, 2>

Definition at line 371 of file ActiveSpatialRotation.hpp.

◆ ActiveSpatialRotation3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ActiveSpatialRotation3 = ActiveSpatialRotation<ValuesT_, ValueT_, CoordinateSystemT_, 3>

Definition at line 373 of file ActiveSpatialRotation.hpp.

◆ ActiveSpatialTranslation

template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ActiveSpatialTranslation
Initial value:
An active translation, which moves points by a vector t, p' = p + t, and leaves vectors,...

Definition at line 139 of file ActiveTranslation.hpp.

◆ ActiveSpatialTranslation2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ActiveSpatialTranslation2 = ActiveSpatialTranslation<ValuesT_, 2, ValueT_, CoordinateSystemT_>

Definition at line 142 of file ActiveTranslation.hpp.

◆ ActiveSpatialTranslation3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ActiveSpatialTranslation3 = ActiveSpatialTranslation<ValuesT_, 3, ValueT_, CoordinateSystemT_>

Definition at line 144 of file ActiveTranslation.hpp.

◆ AngularAccelerationVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AngularAccelerationVector
Initial value:

Definition at line 1024 of file Tensor.hpp.

◆ AngularAccelerationVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AngularAccelerationVector2 = AngularAccelerationVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1028 of file Tensor.hpp.

◆ AngularAccelerationVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AngularAccelerationVector3 = AngularAccelerationVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1030 of file Tensor.hpp.

◆ AngularVelocityVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AngularVelocityVector
Initial value:
HomogeneousVector<DimensionV_, ValuesT_, ValueT_,
typename AccessUnits<AccessImplementation<ValueT_>>::AngularVelocity, CoordinateSystemT_>

Definition at line 1016 of file Tensor.hpp.

◆ AngularVelocityVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AngularVelocityVector2 = AngularVelocityVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1019 of file Tensor.hpp.

◆ AngularVelocityVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::AngularVelocityVector3 = AngularVelocityVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1021 of file Tensor.hpp.

◆ Covector

template<typename QuantityVectorT_, typename CoordinateSystemT_>
using wuzp::Covector = Tensor<Indices<Down>, QuantityVectorT_, CoordinateSystemT_, Relative>

Definition at line 948 of file Tensor.hpp.

◆ DiagonalTypeMatrix

template<int SizeV_, typename ZeroType, typename OneType>
using wuzp::DiagonalTypeMatrix
Initial value:
typename DiagonalTypeMatrixImpl<SizeV_, ZeroType, OneType, std::make_index_sequence<std::size_t{SizeV_ * SizeV_}>>::type

Definition at line 368 of file TypeMatrix.hpp.

◆ DirectionVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::DirectionVector
Initial value:
HomogeneousVector<DimensionV_, ValuesT_, ValueT_,
typename AccessUnits<AccessImplementation<ValueT_>>::Dimensionless, CoordinateSystemT_>

Definition at line 966 of file Tensor.hpp.

◆ DirectionVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::DirectionVector2 = DirectionVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 969 of file Tensor.hpp.

◆ DirectionVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::DirectionVector3 = DirectionVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 971 of file Tensor.hpp.

◆ Duration

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::Duration = HomogeneousVector<1, ValuesT_, ValueT_, typename AccessUnits<AccessImplementation<ValueT_>>::Time, CoordinateSystemT_>

Definition at line 1070 of file Tensor.hpp.

◆ ForceCovector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ForceCovector
Initial value:
Covector< Quantities< ValuesT_< ValueT_, 1, DimensionV_ >, TypeMatrix< 1, DimensionV_, UnitT_ > >, CoordinateSystemT_ > HomogeneousCovector
Definition Tensor.hpp:951

A force as a covector, the dual of a velocity: their pairing innerProduct(force, velocity) is the power, which needs no metric, and a Jacobian pulls it back, e.g. into the joint torques tau = J^T F (see Jacobian::pullback()), like the spatial force vectors of Featherstone, whose space is the dual of the space of motion vectors, with the power v .

f as their scalar product (A Short Course on Spatial Vector Algebra, http://royfeatherstone.org/teaching/2008/slides.pdf, slides 3 and 31). In a Euclidean coordinate system, the components of a force vector and its covector are equal, and transpose() turns one into the other (see Metric).

Definition at line 1049 of file Tensor.hpp.

◆ ForceCovector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ForceCovector2 = ForceCovector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1052 of file Tensor.hpp.

◆ ForceCovector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ForceCovector3 = ForceCovector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1054 of file Tensor.hpp.

◆ ForceVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ForceVector
Initial value:

Definition at line 1033 of file Tensor.hpp.

◆ ForceVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ForceVector2 = ForceVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1036 of file Tensor.hpp.

◆ ForceVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::ForceVector3 = ForceVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1038 of file Tensor.hpp.

◆ FromImplementation

Definition at line 39 of file traits.hpp.

◆ FromImplementationArgs

◆ FromSimilar

Definition at line 37 of file traits.hpp.

◆ GetSubset

template<int Start, int End, int Increment, typename Tuple>
using wuzp::GetSubset = GetSubsetImpl<Start, End, Increment, Tuple, std::make_index_sequence<std::tuple_size<Tuple>::value>>

Definition at line 87 of file helpers.hpp.

◆ HomogeneousCovector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename UnitT_, typename CoordinateSystemT_>
using wuzp::HomogeneousCovector = Covector<Quantities<ValuesT_<ValueT_, 1, DimensionV_>, TypeMatrix<1, DimensionV_, UnitT_>>, CoordinateSystemT_>

Definition at line 951 of file Tensor.hpp.

◆ HomogeneousPoint

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename UnitT_, typename CoordinateSystemT_>
using wuzp::HomogeneousPoint = Point<Quantities<ValuesT_<ValueT_, DimensionV_, 1>, TypeMatrix<DimensionV_, 1, UnitT_>>, CoordinateSystemT_>

Definition at line 963 of file Tensor.hpp.

◆ HomogeneousTuple

template<int Size, typename T>
using wuzp::HomogeneousTuple = decltype(std::tuple_cat(std::declval<std::array<T, std::size_t{Size}>>()))

Definition at line 24 of file helpers.hpp.

◆ HomogeneousVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename UnitT_, typename CoordinateSystemT_>
using wuzp::HomogeneousVector = Vector<Quantities<ValuesT_<ValueT_, DimensionV_, 1>, TypeMatrix<DimensionV_, 1, UnitT_>>, CoordinateSystemT_>

Definition at line 945 of file Tensor.hpp.

◆ Integer

template<int ValueV_>
using wuzp::Integer = Rational<ValueV_, 1>

Definition at line 9 of file Integer.hpp.

◆ LorentzTransformation2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::LorentzTransformation2 = LorentzTransformation<ValuesT_, ValueT_, FromT_, ToT_, 2>

Definition at line 130 of file LorentzTransformation.hpp.

◆ LorentzTransformation3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::LorentzTransformation3 = LorentzTransformation<ValuesT_, ValueT_, FromT_, ToT_, 3>

Definition at line 132 of file LorentzTransformation.hpp.

◆ LorentzTransformation4

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::LorentzTransformation4 = LorentzTransformation<ValuesT_, ValueT_, FromT_, ToT_, 4>

Definition at line 134 of file LorentzTransformation.hpp.

◆ PassiveProperRigidTransformation

template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename FromT_, typename ToT_, typename ValueT_>
using wuzp::PassiveProperRigidTransformation
Initial value:
A passive proper rigid transformation from From to To, which first rotates, then translates: p -> R p...
A passive rotation from the coordinate system From to the coordinate system To, which have the same o...
PassiveTranslation< ValuesT_, DimensionV_, ValueT_, FromT_, ToT_, typename AccessUnits< AccessImplementation< ValueT_ > >::Length > PassiveSpatialTranslation

The passive proper rigid transformation of a rotation and a spatial translation from From to To, which first rotates, then translates: p -> R p + t (see PassiveProperRigidTransformationTemplate).

Definition at line 13 of file PassiveProperRigidTransformation.hpp.

◆ PassiveProperRigidTransformation2

template<template< typename, int, int > typename ValuesT_, typename FromT_, typename ToT_, typename ValueT_>
using wuzp::PassiveProperRigidTransformation2 = PassiveProperRigidTransformation<ValuesT_, 2, FromT_, ToT_, ValueT_>

Definition at line 17 of file PassiveProperRigidTransformation.hpp.

◆ PassiveProperRigidTransformation3

template<template< typename, int, int > typename ValuesT_, typename FromT_, typename ToT_, typename ValueT_>
using wuzp::PassiveProperRigidTransformation3 = PassiveProperRigidTransformation<ValuesT_, 3, FromT_, ToT_, ValueT_>

Definition at line 19 of file PassiveProperRigidTransformation.hpp.

◆ PassiveSpatialRotation2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::PassiveSpatialRotation2 = PassiveSpatialRotation<ValuesT_, ValueT_, FromT_, ToT_, 2>

Definition at line 414 of file PassiveSpatialRotation.hpp.

◆ PassiveSpatialRotation3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::PassiveSpatialRotation3 = PassiveSpatialRotation<ValuesT_, ValueT_, FromT_, ToT_, 3>

Definition at line 416 of file PassiveSpatialRotation.hpp.

◆ PassiveSpatialTranslation

template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::PassiveSpatialTranslation
Initial value:

Definition at line 138 of file PassiveTranslation.hpp.

◆ PassiveSpatialTranslation2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::PassiveSpatialTranslation2 = PassiveSpatialTranslation<ValuesT_, 2, ValueT_, FromT_, ToT_>

Definition at line 141 of file PassiveTranslation.hpp.

◆ PassiveSpatialTranslation3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_>
using wuzp::PassiveSpatialTranslation3 = PassiveSpatialTranslation<ValuesT_, 3, ValueT_, FromT_, ToT_>

Definition at line 143 of file PassiveTranslation.hpp.

◆ Point

template<typename QuantityVectorT_, typename CoordinateSystemT_>
using wuzp::Point = Tensor<Indices<Up>, QuantityVectorT_, CoordinateSystemT_, Absolute>

A point, or a batch of points, one per column, e.g. a point cloud.

Its components are those of the vector from the origin of the coordinate system to it. Points follow the rules of affine spaces (see Absolute.hpp): p - q is a vector, p + v, v + p and p - v are points, and everything else that depends on the origin is rejected, e.g. p * 2.0, -p or the norm of p. Affine combinations are written p + (q - p) * t, e.g. the midpoint p + (q - p) * 0.5.

Definition at line 960 of file Tensor.hpp.

◆ PositionPoint

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::PositionPoint
Initial value:
Point< Quantities< ValuesT_< ValueT_, DimensionV_, 1 >, TypeMatrix< DimensionV_, 1, UnitT_ > >, CoordinateSystemT_ > HomogeneousPoint
Definition Tensor.hpp:963

Definition at line 984 of file Tensor.hpp.

◆ PositionPoint2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::PositionPoint2 = PositionPoint<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 987 of file Tensor.hpp.

◆ PositionPoint3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::PositionPoint3 = PositionPoint<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 989 of file Tensor.hpp.

◆ PositionVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::PositionVector
Initial value:

Definition at line 992 of file Tensor.hpp.

◆ PositionVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::PositionVector2 = PositionVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 995 of file Tensor.hpp.

◆ PositionVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::PositionVector3 = PositionVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 997 of file Tensor.hpp.

◆ Quantity

template<typename ValueT_, typename UnitT_>
using wuzp::Quantity = Quantities<ValueT_, TypeMatrixImpl<MatrixSize<1, 1>, std::tuple<UnitT_>>>

Container to store a single quantity.

A quantity consists of a value and a unit. The value is evaluated at run-time, the unit at compile-time. Defining a scalar to be equivalent to a 1x1 matrix is not 100% clean, but the implicit conversions allow us to reuse code from the matrix implementation. Also, the user can avoid explicit conversions, e.g. when calculating the inner product of a vector x^T * x. https://math.stackexchange.com/q/65002

Template Parameters
ValueT_Container type to store the value.
UnitT_Container storing the unit.

Definition at line 29 of file Quantity.hpp.

◆ Rational

template<int DividendV_, int DivisorV_>
using wuzp::Rational = typename internal::ReduceRational<DividendV_, DivisorV_>::type

Definition at line 9 of file Rational.hpp.

◆ Relative

using wuzp::Relative = internal::AbsoluteImpl<false>

Definition at line 18 of file Absolute.hpp.

◆ RotationVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::RotationVector3
Initial value:

A rotation vector, the angle of a rotation times its unit axis, e.g. the logarithm of a rotation, an increment of boxPlus() or the angular velocity times a time step (see ActiveSpatialRotation::fromRotationVector()).

Rotation vectors are three-dimensional. Angles are dimensionless (see "Angles are dimensionless" in DESIGN.md), so it is the type of a DirectionVector3.

Definition at line 980 of file Tensor.hpp.

◆ ScalarValues

template<typename ValuesT_, typename ValueT_>
using wuzp::ScalarValues = typename Rebind<ValuesT_, ValueT_, 1, 1>::type

Evaluated 1x1 values of the value matrix backend of ValuesT_, with the value type ValueT_: e.g. a scalar that an operation combines with values of the type ValuesT_, which is converted into values of the same backend.

Definition at line 351 of file ValuesWrapper.hpp.

◆ SpacetimePoint

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimePoint = PositionPoint<DimensionV_, ValuesT_, ValueT_, CoordinateSystemT_>

An event, a point in spacetime, with the time component first, in length units (x^0 = c t), expressed in an inertial frame of special relativity, i.e. a coordinate system with the Minkowski metric, e.g. CoordinateSystem<Spacetime, Minkowski> (see Minkowski).

Definition at line 1079 of file Tensor.hpp.

◆ SpacetimePoint2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimePoint2 = SpacetimePoint<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1081 of file Tensor.hpp.

◆ SpacetimePoint3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimePoint3 = SpacetimePoint<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1083 of file Tensor.hpp.

◆ SpacetimePoint4

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimePoint4 = SpacetimePoint<4, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1085 of file Tensor.hpp.

◆ SpacetimeVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimeVector = PositionVector<DimensionV_, ValuesT_, ValueT_, CoordinateSystemT_>

A displacement in spacetime, with the time component first, in length units (x^0 = c t), expressed in a coordinate system with the Minkowski metric (see SpacetimePoint).

The Euclidean dotProduct and norm are rejected for it; getInvariant() computes its interval eta_ij v^i v^j, which Lorentz transformations preserve.

Definition at line 1093 of file Tensor.hpp.

◆ SpacetimeVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimeVector2 = SpacetimeVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1095 of file Tensor.hpp.

◆ SpacetimeVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimeVector3 = SpacetimeVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1097 of file Tensor.hpp.

◆ SpacetimeVector4

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::SpacetimeVector4 = SpacetimeVector<4, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1099 of file Tensor.hpp.

◆ TimePoint

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::TimePoint = HomogeneousPoint<1, ValuesT_, ValueT_, typename AccessUnits<AccessImplementation<ValueT_>>::Time, CoordinateSystemT_>

A point in time, a one-dimensional point in a coordinate system whose origin is an epoch, e.g. CoordinateSystem<Epoch>.

The difference of two time points is a Duration; a change of the epoch is a translation.

Definition at line 1067 of file Tensor.hpp.

◆ ToCols

template<size_t ColsV_, typename... Ts>
using wuzp::ToCols = ToColsImpl<ColsV_, std::tuple<Ts...>, std::make_index_sequence<ColsV_>>

Definition at line 33 of file TypeMatrix.hpp.

◆ ToRows

template<size_t ColsV_, typename... Ts>
using wuzp::ToRows = ToRowsImpl<ColsV_, std::tuple<Ts...>, std::make_index_sequence<sizeof...(Ts) / ColsV_>>

Definition at line 23 of file TypeMatrix.hpp.

◆ TorqueVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::TorqueVector
Initial value:

Definition at line 1057 of file Tensor.hpp.

◆ TorqueVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::TorqueVector2 = TorqueVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1060 of file Tensor.hpp.

◆ TorqueVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::TorqueVector3 = TorqueVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1062 of file Tensor.hpp.

◆ Type

template<typename TypeT_>
using wuzp::Type = TypeMatrix<1, 1, TypeT_>

Definition at line 8 of file Type.hpp.

◆ TypeMatrix

template<int RowsV_, int ColsV_, typename... Types>
using wuzp::TypeMatrix = typename CreateTypeMatrix<RowsV_, ColsV_, Types...>::type

A matrix storing types at compile-time.

Template Parameters
RowsV_Number of rows.
ColsV_Number of columns.
TypesTypes stored in the matrix, row-major order. The number of types must match the number of elements the matrix can store.

Definition at line 378 of file TypeMatrix.hpp.

◆ TypeScalar

template<typename TypeT_>
using wuzp::TypeScalar = typename CreateTypeMatrix<1, 1, TypeT_>::type

A scalar storing a type at compile-time.

Template Parameters
TypeT_Type stored in the scalar.

Definition at line 393 of file TypeMatrix.hpp.

◆ TypeVector

template<int RowsV_, typename... Types>
using wuzp::TypeVector = typename CreateTypeMatrix<RowsV_, 1, Types...>::type

A vector storing types at compile-time.

Template Parameters
RowsV_Number of rows.
TypesTypes stored in the vector. The number of types must match the number of elements the vector can store.

Definition at line 386 of file TypeMatrix.hpp.

◆ Vector

template<typename QuantityVectorT_, typename CoordinateSystemT_>
using wuzp::Vector = Tensor<Indices<Up>, QuantityVectorT_, CoordinateSystemT_, Relative>

Definition at line 942 of file Tensor.hpp.

◆ VelocityVector

template<int DimensionV_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::VelocityVector
Initial value:

Definition at line 1000 of file Tensor.hpp.

◆ VelocityVector2

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::VelocityVector2 = VelocityVector<2, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1003 of file Tensor.hpp.

◆ VelocityVector3

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_>
using wuzp::VelocityVector3 = VelocityVector<3, ValuesT_, ValueT_, CoordinateSystemT_>

Definition at line 1005 of file Tensor.hpp.

Function Documentation

◆ abs()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::abs ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The absolute value, elementwise, of the same unit, like std::abs (https://en.cppreference.com/w/cpp/numeric/math/fabs), and the values themselves for unsigned values, for which std::abs is ambiguous.

Like with std::abs, the absolute value of the minimum of a signed integer type, e.g. INT_MIN, is undefined behavior: the type cannot represent it.

Definition at line 743 of file Quantities.hpp.

◆ accelerationOfBodyFixedPoint()

template<AnyTensor AccelerationT_, AnyTensor AngularAccelerationT_, AnyTensor AngularVelocityT_, AnyTensor OffsetT_>
auto wuzp::accelerationOfBodyFixedPoint ( const AccelerationT_ & acceleration,
const AngularAccelerationT_ & angularAcceleration,
const AngularVelocityT_ & angularVelocity,
const OffsetT_ & offset )

The acceleration a_Q = a_P + alpha x p_PQ + w x (w x p_PQ) of a point Q fixed to a rigid body, from the acceleration a_P of a point P fixed to the body, the angular acceleration alpha and the angular velocity w of the body and the position vector p_PQ from P to Q, with the tangential acceleration alpha x p_PQ and the centripetal acceleration w x (w x p_PQ).

The accelerations and the angular velocity are measured in the same frame, and all vectors are expressed in the coordinate system of a_P, which must be Euclidean. Like Drake's SpatialAcceleration::Shift(), a_MBq = a_MBp + alpha_MB x p_BpBq + w_MB x (w_MB x p_BpBq) (https://drake.mit.edu/doxygen_cxx/classdrake_1_1multibody_1_1_spatial_acceleration.html). The arguments are converted like those of velocityOfBodyFixedPoint().

Definition at line 63 of file kinematics.hpp.

◆ acos()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::acos ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The arc cosine of dimensionless quantities, elementwise, like std::acos (https://en.cppreference.com/w/cpp/numeric/math/acos): the angles in [0, pi] in radians, see asin().

Definition at line 784 of file Quantities.hpp.

◆ adjoint() [1/3]

template<typename FromT_, typename ToT_, typename RotationT_, typename TranslationT_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename MeasuredInT_, typename FrameT_, typename PointT_, typename ExpressedInT_>
auto wuzp::adjoint ( const PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ > & ,
const SpatialAcceleration< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ > &  )

Rejected with a message: the adjoint map of a rigid transformation maps spatial velocities and spatial forces, but a spatial acceleration of Drake shifts with the angular velocity of its frame (see SpatialAcceleration::shift()).

Re-express it with the rigid transformation, X_AB.transform(acceleration), and shift() it. The return type is deduced, so that the message is the first error (see FailOnInstantiation).

Definition at line 123 of file SpatialAcceleration.hpp.

◆ adjoint() [2/3]

template<typename FromT_, typename ToT_, typename RotationT_, typename TranslationT_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename FrameT_, typename PointT_, typename ExpressedInT_>
auto wuzp::adjoint ( const PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ > & transformation,
const SpatialForce< ValuesT_, ValueT_, FrameT_, PointT_, ExpressedInT_ > & force )

The adjoint map of the passive proper rigid transformation X_AB = (R_AB, p_AoBo_A) from B to A applied to the spatial force F_Cbo_B on a frame C about the origin of B, expressed in B: the spatial force F_Cao_A about the origin of A, expressed in A, f' = R_AB f and tau' = R_AB tau + p_AoBo_A x (R_AB f), i.e. re-expressed in A and shifted to the origin of A.

It is the map of the wrenches of Modern Robotics (Lynch and Park, Cambridge University Press, 2017, section 3.4), F_s = [Ad_T_bs]^T F_b, the transpose of the adjoint map of the inverse X_BA, which preserves the power with the spatial velocities that adjoint() maps by X_AB. The point the spatial force is about must be the origin of B: shift() it there first otherwise. Its 6x6 matrix is not computed.

Definition at line 77 of file SpatialForce.hpp.

◆ adjoint() [3/3]

template<typename FromT_, typename ToT_, typename RotationT_, typename TranslationT_, template< typename, int, int > typename ValuesT_, typename ValueT_, typename MeasuredInT_, typename FrameT_, typename PointT_, typename ExpressedInT_>
auto wuzp::adjoint ( const PassiveProperRigidTransformationTemplate< FromT_, ToT_, RotationT_, TranslationT_ > & transformation,
const SpatialVelocity< ValuesT_, ValueT_, MeasuredInT_, FrameT_, PointT_, ExpressedInT_ > & velocity )

The adjoint map [Ad_X] of the passive proper rigid transformation X_AB = (R_AB, p_AoBo_A) from B to A applied to the spatial velocity V_MCbo_B of a frame C, measured in M, about the origin of B, expressed in B: the spatial velocity V_MCao_A about the origin of A, expressed in A, w' = R_AB w and v' = R_AB v + p_AoBo_A x (R_AB w), i.e. re-expressed in A and shifted to the origin of A.

It is the adjoint representation of Modern Robotics (Lynch and Park, Cambridge University Press, 2017, section 3.3.2), V_s = [Ad_T_sb] V_b, which maps the body twist V_b of the frame B to the spatial twist V_s in the frame S: here adjoint(X_AB, V_ABbo_B) = V_ABao_A. Unlike X_AB.transform(), which re-expresses the spatial velocity about the same point, it also moves the point, which must be the origin of B: shift() it there first otherwise. It is X_AB.transform(velocity).shift(-p_AoBo_A), and its 6x6 matrix is not computed.

Definition at line 105 of file SpatialVelocity.hpp.

◆ applyCommas()

template<typename First, typename... Rest>
void wuzp::applyCommas ( First && first,
Rest &&... rest )

Applies the comma operator from left to right: applyCommas(a, b, c) evaluates ((a, b), c).

The backends use it for the comma initializers of their libraries, e.g. (matrix << 1), 2, 3 with Eigen. All temporaries live until the end of the expression.

Definition at line 134 of file helpers.hpp.

◆ asin()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::asin ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The arc sine of dimensionless quantities, elementwise, like std::asin (https://en.cppreference.com/w/cpp/numeric/math/asin): the angles in [-pi/2, pi/2] in radians, which are dimensionless (see "Angles are dimensionless" in DESIGN.md).

Values outside [-1, 1] give NaN.

Definition at line 777 of file Quantities.hpp.

◆ atan()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::atan ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The arc tangent of dimensionless quantities, elementwise, like std::atan (https://en.cppreference.com/w/cpp/numeric/math/atan): the angles in [-pi/2, pi/2] in radians, see asin().

atan2() takes the quadrant into account.

Definition at line 791 of file Quantities.hpp.

◆ atan2()

template<typename ValuesYT_, typename UnitYT_, typename ValuesXT_, typename UnitXT_>
auto wuzp::atan2 ( const Quantity< ValuesYT_, UnitYT_ > & y,
const Quantity< ValuesXT_, UnitXT_ > & x )

The angle of the point (x, y) from the positive x axis, in [-pi, pi] in radians, of two quantities with the same unit, e.g. lengths, like std::atan2 (https://en.cppreference.com/w/cpp/numeric/math/atan2): y comes first, the angle is counterclockwise from the x axis to the y axis, and its branch cut is the negative x axis, where it is pi for y = +0 and -pi for y = -0.

The angle is dimensionless (see "Angles are dimensionless" in DESIGN.md). The values must be floating point values.

Definition at line 816 of file Quantities.hpp.

◆ castCoordinateSystem()

template<typename To, typename T>
auto wuzp::castCoordinateSystem ( T t)

Definition at line 303 of file traits.hpp.

◆ cbrt()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::cbrt ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The cube root, elementwise: pow<1, 3>(), computed with std::cbrt (https://en.cppreference.com/w/cpp/numeric/math/cbrt), e.g. the cube root of a volume is a length.

The cube root of a negative value is negative, like std::cbrt; that of an integer value is truncated (see pow()).

Definition at line 735 of file Quantities.hpp.

◆ cos()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::cos ( const Quantities< ValuesT_, UnitsT_ > & angles)

The cosine of angles in radians, elementwise, like std::cos (https://en.cppreference.com/w/cpp/numeric/math/cos), see sin().

Definition at line 763 of file Quantities.hpp.

◆ createBoostMatrix()

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_>
LorentzTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ > wuzp::createBoostMatrix ( const VelocityVector< DimensionV_ - 1, ValuesT_, ValueT_, FromT_ > & velocity)

The passive Lorentz boost from From to To, in the standard form with the time component first and in length units (x^0 = c t), and the signature (+, -, ..., -): x'^0 = gamma (x^0 - beta .

x), with beta = v / c and the Lorentz factor gamma = 1 / sqrt(1 - beta^2) (see the boost matrix B(v) in https://en.wikipedia.org/wiki/Lorentz_transformation#Proper_transformations). The composition of two boosts along the same direction is the boost with the relativistic sum of their velocities, e.g. 0.5 c and 0.5 c give 0.8 c; the composition of boosts along different directions also rotates (Wigner rotation). From and To are Minkowski coordinate systems, like those of every LorentzTransformation. The velocity follows the convention of physics, the motion of To relative to From, unlike the parameters of the passive rotations, which describe their matrices, the orientation of From relative to To, in the convention of robotics (see PassiveSpatialRotation).

Parameters
velocityThe velocity of To relative to From, i.e. of the origin of To measured in From, expressed in From: its components are those of the spatial axes of From. Its magnitude, velocity.getQuantities().norm(), must be smaller than the speed of light. velocity.norm() is rejected, since the velocity is expressed in From, which is a Minkowski coordinate system, whose spatial part has the metric -I, so the magnitude is the norm of the components.
Exceptions
std::invalid_argumentIf the magnitude of the velocity is not smaller than the speed of light, for which there is no Lorentz boost (the Lorentz factor is infinite or not real).

Definition at line 238 of file LorentzTransformation.hpp.

◆ crossProduct()

template<typename Lhs, typename Rhs>
auto wuzp::crossProduct ( const Lhs & lhs,
const Rhs & rhs )

◆ cwiseProduct()

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::cwiseProduct ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

The elementwise (Hadamard) product of the components of two tensors in the same coordinate system.

It depends on the basis, so it is not a tensor: it returns quantities, without indices or a coordinate system, like the products of Eigen's arrays (https://eigen.tuxfamily.org/dox/group__TutorialArrayClass.html). Points are rejected, since their components depend on the origin. The product of the quantities, lhs.getQuantities() * rhs.getQuantities(), has none of these checks.

Definition at line 840 of file Tensor.hpp.

◆ cwiseQuotient()

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::cwiseQuotient ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

The elementwise quotient of the components of two tensors in the same coordinate system, as quantities (see cwiseProduct()).

The quotient of the quantities, division(lhs.getQuantities(), rhs.getQuantities()), has none of these checks.

Definition at line 851 of file Tensor.hpp.

◆ difference() [1/4]

template<typename Lhs, typename Rhs>
auto wuzp::difference ( const Lhs & lhs,
const Rhs & rhs )

◆ difference() [2/4]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::difference ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 457 of file Quantities.hpp.

◆ difference() [3/4]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::difference ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 638 of file Tensor.hpp.

◆ difference() [4/4]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::difference ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 549 of file ValuesWrapper.hpp.

◆ division() [1/11]

template<typename Lhs, typename Rhs>
auto wuzp::division ( const Lhs & lhs,
const Rhs & rhs )

◆ division() [2/11]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::division ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

The elementwise quotient of quantities of the same size.

Quantities have no coordinate system and no indices, so this is the unrestricted counterpart of cwiseQuotient() of tensors, e.g. for the components of points.

Definition at line 584 of file Quantities.hpp.

◆ division() [3/11]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_, typename UnitRhsT_>
auto wuzp::division ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantity< ValueRhsT_, UnitRhsT_ > & rhs )

Definition at line 577 of file Quantities.hpp.

◆ division() [4/11]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto wuzp::division ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 567 of file Quantities.hpp.

◆ division() [5/11]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::division ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 572 of file Quantities.hpp.

◆ division() [6/11]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::division ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 878 of file Tensor.hpp.

◆ division() [7/11]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::division ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 885 of file Tensor.hpp.

◆ division() [8/11]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto wuzp::division ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValueRhsT_ rhs )

The quotient by an arithmetic scalar, which is converted into the value type of the tensor (see product()).

Definition at line 864 of file Tensor.hpp.

◆ division() [9/11]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::division ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 870 of file Tensor.hpp.

◆ division() [10/11]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::division ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 659 of file ValuesWrapper.hpp.

◆ division() [11/11]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::division ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 666 of file ValuesWrapper.hpp.

◆ dotProduct()

template<typename Lhs, typename Rhs>
auto wuzp::dotProduct ( const Lhs & lhs,
const Rhs & rhs )

◆ exp()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::exp ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The exponential function e^x of dimensionless quantities, elementwise, like std::exp (https://en.cppreference.com/w/cpp/numeric/math/exp): not the matrix exponential of a matrix.

Definition at line 798 of file Quantities.hpp.

◆ getInvariant()

template<typename QuantitiesT_, typename CoordinateSystemT_>
auto wuzp::getInvariant ( const Vector< QuantitiesT_, CoordinateSystemT_ > & vector)

The Minkowski interval eta_ij v^i v^j = v_0^2 - v_1^2 - ... - v_n^2 of a vector whose first component is the time component, e.g. of a spacetime vector (c t, x, y, z) or of a four-velocity, which Lorentz transformations preserve (Carroll, Lecture Notes on General Relativity, https://arxiv.org/abs/gr-qc/9712019, chapter 1).

It is the product with the Minkowski metric eta, so the vector must be expressed in a Minkowski coordinate system (see Minkowski), in which the Euclidean dotProduct and squaredNorm are rejected. All components need the same unit. It takes any vector rather than SpacetimeVector, whose alias template parameters could not be deduced.

Definition at line 210 of file LorentzTransformation.hpp.

◆ getSpeedOfLight()

template<template< typename, int, int > typename ValuesT_, typename ValueT_>
auto wuzp::getSpeedOfLight ( )

The speed of light, as a quantity of the value matrix backend ValuesT_, e.g. getSpeedOfLight<wuzp_eigen::ValueMatrix, double>().

Definition at line 197 of file LorentzTransformation.hpp.

◆ hypot()

template<typename ValuesXT_, typename UnitXT_, typename ValuesYT_, typename UnitYT_>
auto wuzp::hypot ( const Quantity< ValuesXT_, UnitXT_ > & x,
const Quantity< ValuesYT_, UnitYT_ > & y )

The length sqrt(x^2 + y^2) of two quantities with the same unit, e.g. the components of a vector, without overflow or underflow in the intermediate steps, like std::hypot (https://en.cppreference.com/w/cpp/numeric/math/hypot).

For integer values, it is truncated exactly, like the powers (see internal::realHypot and "Integer values" in DESIGN.md).

Exceptions
std::range_errorFor integer values whose length does not fit into the value type.

Definition at line 828 of file Quantities.hpp.

◆ initialize()

template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_, typename... Args>
void wuzp::initialize ( ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > & values,
Args &&... args )

◆ innerProduct() [1/4]

template<typename Lhs, typename Rhs>
auto wuzp::innerProduct ( const Lhs & lhs,
const Rhs & rhs )

◆ innerProduct() [2/4]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::innerProduct ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 524 of file Quantities.hpp.

◆ innerProduct() [3/4]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::innerProduct ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

The inner product, which contracts the last index of the left-hand side with the first index of the right-hand side, e.g. w_i v^i of a covector and a vector, T^i_j v^j of a linear map and a vector, or M_ij v^j of a mass matrix and a vector, a covector.

The indices must be an upper and a lower one (see InnerProduct<Indices<...>, Indices<...>>).

Definition at line 764 of file Tensor.hpp.

◆ innerProduct() [4/4]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::innerProduct ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 646 of file ValuesWrapper.hpp.

◆ log()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::log ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The natural logarithm of dimensionless quantities, elementwise, like std::log (https://en.cppreference.com/w/cpp/numeric/math/log): NaN for negative values, and -infinity for zero.

Definition at line 805 of file Quantities.hpp.

◆ makeAbsolute()

template<typename T>
auto wuzp::makeAbsolute ( T t)

The point at a vector from the origin of the coordinate system, o + v: the same components, as an absolute object.

Definition at line 288 of file traits.hpp.

◆ makeRelative()

template<typename T>
auto wuzp::makeRelative ( T t)

The vector from the origin of the coordinate system to a point, p - o: the same components, as a relative object.

Definition at line 278 of file traits.hpp.

◆ max() [1/2]

template<typename ValuesLhsT_, typename UnitLhsT_, typename ValuesRhsT_, typename UnitRhsT_>
auto wuzp::max ( const Quantity< ValuesLhsT_, UnitLhsT_ > & lhs,
const Quantity< ValuesRhsT_, UnitRhsT_ > & rhs )

The larger of two quantities with the same unit, like std::max (https://en.cppreference.com/w/cpp/algorithm/max), which returns lhs if neither is larger, e.g. if one is NaN.

Definition at line 848 of file Quantities.hpp.

◆ max() [2/2]

template<typename ValuesT_, typename UnitT_>
auto wuzp::max ( const Quantity< ValuesT_, UnitT_ > & lhs,
const Quantity< ValuesT_, UnitT_ > & rhs )

max() of two quantities of the same type, see min().

Definition at line 853 of file Quantities.hpp.

◆ min() [1/2]

template<typename ValuesLhsT_, typename UnitLhsT_, typename ValuesRhsT_, typename UnitRhsT_>
auto wuzp::min ( const Quantity< ValuesLhsT_, UnitLhsT_ > & lhs,
const Quantity< ValuesRhsT_, UnitRhsT_ > & rhs )

The smaller of two quantities with the same unit, like std::min (https://en.cppreference.com/w/cpp/algorithm/min), which returns lhs if neither is smaller, e.g. if one is NaN.

Definition at line 835 of file Quantities.hpp.

◆ min() [2/2]

template<typename ValuesT_, typename UnitT_>
auto wuzp::min ( const Quantity< ValuesT_, UnitT_ > & lhs,
const Quantity< ValuesT_, UnitT_ > & rhs )

min() of two quantities of the same type.

Argument-dependent lookup also finds std::min(const T&, const T&) for them, e.g. through the std::tuple of their units, which would make the overload above ambiguous: this one is more specialized than both.

Definition at line 841 of file Quantities.hpp.

◆ negation() [1/4]

template<typename ValuesT_, typename UnitsT_>
auto wuzp::negation ( const Quantities< ValuesT_, UnitsT_ > & rhs)

Definition at line 467 of file Quantities.hpp.

◆ negation() [2/4]

template<typename Rhs>
auto wuzp::negation ( const Rhs & rhs)

◆ negation() [3/4]

template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto wuzp::negation ( const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > & rhs)

Definition at line 652 of file Tensor.hpp.

◆ negation() [4/4]

template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
auto wuzp::negation ( const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > & rhs)

Definition at line 565 of file ValuesWrapper.hpp.

◆ operator!=() [1/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool wuzp::operator!= ( const ActiveLinearTransformation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > & lhs,
const ActiveLinearTransformation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > & rhs )

Definition at line 237 of file ActiveLinearTransformation.hpp.

◆ operator!=() [2/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionRhsV_>
bool wuzp::operator!= ( const ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ > & lhs,
const ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > & rhs )

Definition at line 501 of file ActiveSpatialRotation.hpp.

◆ operator!=() [3/12]

template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename CoordinateSystemLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename CoordinateSystemRhsT_, typename... UnitsRhsT_>
bool wuzp::operator!= ( const ActiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, CoordinateSystemLhsT_, UnitsLhsT_... > & lhs,
const ActiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, CoordinateSystemRhsT_, UnitsRhsT_... > & rhs )

Definition at line 126 of file ActiveTranslation.hpp.

◆ operator!=() [4/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool wuzp::operator!= ( const Jacobian< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > & lhs,
const Jacobian< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > & rhs )

Definition at line 245 of file Jacobian.hpp.

◆ operator!=() [5/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool wuzp::operator!= ( const LorentzTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > & lhs,
const LorentzTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > & rhs )

Definition at line 184 of file LorentzTransformation.hpp.

◆ operator!=() [6/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_, typename... UnitsRhsT_>
bool wuzp::operator!= ( const PassiveLinearTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_, UnitsLhsT_... > & lhs,
const PassiveLinearTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_, UnitsRhsT_... > & rhs )

Definition at line 218 of file PassiveLinearTransformation.hpp.

◆ operator!=() [7/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool wuzp::operator!= ( const PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > & lhs,
const PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > & rhs )

Definition at line 529 of file PassiveSpatialRotation.hpp.

◆ operator!=() [8/12]

template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, typename... UnitsRhsT_>
bool wuzp::operator!= ( const PassiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, FromLhsT_, ToLhsT_, UnitsLhsT_... > & lhs,
const PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... > & rhs )

Definition at line 125 of file PassiveTranslation.hpp.

◆ operator!=() [9/12]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
bool wuzp::operator!= ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 608 of file Quantities.hpp.

◆ operator!=() [10/12]

template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
bool wuzp::operator!= ( const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > & lhs,
const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > & rhs )

Whether two spatial vectors with the same tags differ: one of their parts differs.

Definition at line 186 of file SpatialVector.hpp.

◆ operator!=() [11/12]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
bool wuzp::operator!= ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 927 of file Tensor.hpp.

◆ operator!=() [12/12]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
bool wuzp::operator!= ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 699 of file ValuesWrapper.hpp.

◆ operator*() [1/19]

template<typename LhsT_, typename RhsT_>
auto wuzp::operator* ( const ActiveTransformation< LhsT_ > & lhs,
const ActiveTransformation< RhsT_ > & rhs )

The composition of two active transformations in the same coordinate system, which applies rhs first, then lhs: (lhs * rhs).transform(x) is lhs.transform(rhs.transform(x)), like the product of their matrices (see CompositionTraits).

Definition at line 29 of file ActiveTransformation.hpp.

◆ operator*() [2/19]

template<typename LhsT_, typename RhsT_, typename FromRhsT_, typename ToRhsT_>
auto wuzp::operator* ( const ActiveTransformation< LhsT_ > & lhs,
const PassiveTransformation< RhsT_, FromRhsT_, ToRhsT_ > & rhs )

Definition at line 56 of file PassiveTransformation.hpp.

◆ operator*() [3/19]

template<typename LhsT_, typename FromLhsT_, typename ToLhsT_, typename RhsT_>
auto wuzp::operator* ( const PassiveTransformation< LhsT_, FromLhsT_, ToLhsT_ > & lhs,
const ActiveTransformation< RhsT_ > & rhs )

Definition at line 60 of file PassiveTransformation.hpp.

◆ operator*() [4/19]

template<typename LhsT_, typename FromLhsT_, typename ToLhsT_, typename RhsT_, typename FromRhsT_, typename ToRhsT_>
auto wuzp::operator* ( const PassiveTransformation< LhsT_, FromLhsT_, ToLhsT_ > & lhs,
const PassiveTransformation< RhsT_, FromRhsT_, ToRhsT_ > & rhs )

The composition of two passive transformations, in the order of the monogram notation of Drake (https://drake.mit.edu/doxygen_cxx/group__multibody__notation.html): X_AB * X_BC = X_AC, i.e. the transformation from C to B, followed by the one from B to A, like ^A_C T = ^A_B T ^B_C T in the notation of Craig.

The coordinate systems that meet, From of lhs and To of rhs, must be the same, which wave_geometry (https://github.com/wavelab/wave_geometry) also checks at compile time. See CompositionTraits.

Definition at line 49 of file PassiveTransformation.hpp.

◆ operator*() [5/19]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::operator* ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 519 of file Quantities.hpp.

◆ operator*() [6/19]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::operator* ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 746 of file Tensor.hpp.

◆ operator*() [7/19]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto wuzp::operator* ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 503 of file Quantities.hpp.

◆ operator*() [8/19]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator* ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 511 of file Quantities.hpp.

◆ operator*() [9/19]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::operator* ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 740 of file Tensor.hpp.

◆ operator*() [10/19]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::operator* ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 752 of file Tensor.hpp.

◆ operator*() [11/19]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto wuzp::operator* ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 718 of file Tensor.hpp.

◆ operator*() [12/19]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator* ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 728 of file Tensor.hpp.

◆ operator*() [13/19]

template<typename ValueLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::operator* ( const ValueLhsT_ lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 507 of file Quantities.hpp.

◆ operator*() [14/19]

template<ArithmeticValue ValueLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::operator* ( const ValueLhsT_ lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 723 of file Tensor.hpp.

◆ operator*() [15/19]

template<typename ValueLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator* ( const ValueLhsT_ lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 634 of file ValuesWrapper.hpp.

◆ operator*() [16/19]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::operator* ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 515 of file Quantities.hpp.

◆ operator*() [17/19]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::operator* ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 734 of file Tensor.hpp.

◆ operator*() [18/19]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::operator* ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 603 of file ValuesWrapper.hpp.

◆ operator*() [19/19]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator* ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 639 of file ValuesWrapper.hpp.

◆ operator+() [1/4]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::operator+ ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 452 of file Quantities.hpp.

◆ operator+() [2/4]

template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
LhsT_ wuzp::operator+ ( const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > & lhs,
const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > & rhs )

The sum of two spatial vectors with the same tags, part by part, e.g. of two spatial forces on the same body about the same point.

Spatial vectors with other tags are combined by shift() and the compositions, e.g. composeWithMovingFrameVelocity().

Definition at line 195 of file SpatialVector.hpp.

◆ operator+() [3/4]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::operator+ ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 631 of file Tensor.hpp.

◆ operator+() [4/4]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator+ ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 542 of file ValuesWrapper.hpp.

◆ operator-() [1/7]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::operator- ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 462 of file Quantities.hpp.

◆ operator-() [2/7]

template<typename ValuesT_, typename UnitsT_>
auto wuzp::operator- ( const Quantities< ValuesT_, UnitsT_ > & rhs)

Definition at line 471 of file Quantities.hpp.

◆ operator-() [3/7]

template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
LhsT_ wuzp::operator- ( const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > & lhs,
const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > & rhs )

The difference of two spatial vectors with the same tags, part by part.

Definition at line 204 of file SpatialVector.hpp.

◆ operator-() [4/7]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::operator- ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 646 of file Tensor.hpp.

◆ operator-() [5/7]

template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto wuzp::operator- ( const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > & rhs)

Definition at line 657 of file Tensor.hpp.

◆ operator-() [6/7]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator- ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 559 of file ValuesWrapper.hpp.

◆ operator-() [7/7]

template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
auto wuzp::operator- ( const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > & rhs)

Definition at line 571 of file ValuesWrapper.hpp.

◆ operator/() [1/9]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_, typename UnitRhsT_>
auto wuzp::operator/ ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantity< ValueRhsT_, UnitRhsT_ > & rhs )

Definition at line 597 of file Quantities.hpp.

◆ operator/() [2/9]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto wuzp::operator/ ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 589 of file Quantities.hpp.

◆ operator/() [3/9]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator/ ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 593 of file Quantities.hpp.

◆ operator/() [4/9]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::operator/ ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 904 of file Tensor.hpp.

◆ operator/() [5/9]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::operator/ ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 910 of file Tensor.hpp.

◆ operator/() [6/9]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto wuzp::operator/ ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 893 of file Tensor.hpp.

◆ operator/() [7/9]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator/ ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 898 of file Tensor.hpp.

◆ operator/() [8/9]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::operator/ ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 679 of file ValuesWrapper.hpp.

◆ operator/() [9/9]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::operator/ ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 684 of file ValuesWrapper.hpp.

◆ operator<<() [1/12]

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_, int DimensionFromV_, int DimensionToV_, typename... UnitsT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... > & rhs )

Definition at line 246 of file ActiveLinearTransformation.hpp.

◆ operator<<() [2/12]

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename CoordinateSystemT_, int DimensionV_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const ActiveSpatialRotation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionV_ > & rhs )

Definition at line 507 of file ActiveSpatialRotation.hpp.

◆ operator<<() [3/12]

template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename CoordinateSystemT_, typename... UnitsT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const ActiveTranslation< ValuesT_, DimensionV_, ValueT_, CoordinateSystemT_, UnitsT_... > & rhs )

Definition at line 133 of file ActiveTranslation.hpp.

◆ operator<<() [4/12]

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionFromV_, int DimensionToV_, typename... UnitsT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const Jacobian< ValuesT_, ValueT_, FromT_, ToT_, DimensionFromV_, DimensionToV_, UnitsT_... > & rhs )

Definition at line 252 of file Jacobian.hpp.

◆ operator<<() [5/12]

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const LorentzTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ > & rhs )

Definition at line 190 of file LorentzTransformation.hpp.

◆ operator<<() [6/12]

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_, typename... UnitsT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const PassiveLinearTransformation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_, UnitsT_... > & rhs )

Definition at line 225 of file PassiveLinearTransformation.hpp.

◆ operator<<() [7/12]

template<template< typename, int, int > typename ValuesT_, typename ValueT_, typename FromT_, typename ToT_, int DimensionV_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const PassiveSpatialRotation< ValuesT_, ValueT_, FromT_, ToT_, DimensionV_ > & rhs )

Definition at line 535 of file PassiveSpatialRotation.hpp.

◆ operator<<() [8/12]

template<template< typename, int, int > typename ValuesT_, int DimensionV_, typename ValueT_, typename FromT_, typename ToT_, typename... UnitsT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const PassiveTranslation< ValuesT_, DimensionV_, ValueT_, FromT_, ToT_, UnitsT_... > & rhs )

Definition at line 132 of file PassiveTranslation.hpp.

◆ operator<<() [9/12]

template<typename ValuesT_, typename UnitsT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const Quantities< ValuesT_, UnitsT_ > & rhs )

Definition at line 613 of file Quantities.hpp.

◆ operator<<() [10/12]

template<typename DerivedT_, typename RotationalT_, typename TranslationalT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const SpatialVector< DerivedT_, RotationalT_, TranslationalT_ > & rhs )

Prints the rotational part, then the translational part.

Definition at line 212 of file SpatialVector.hpp.

◆ operator<<() [11/12]

template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > & rhs )

Definition at line 933 of file Tensor.hpp.

◆ operator<<() [12/12]

template<typename MatrixSizeT_, typename ValueT_, typename ImplementationT_>
std::ostream & wuzp::operator<< ( std::ostream & lhs,
const ValuesWrapper< MatrixSizeT_, ValueT_, ImplementationT_ > & rhs )

Definition at line 705 of file ValuesWrapper.hpp.

◆ operator==() [1/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool wuzp::operator== ( const ActiveLinearTransformation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > & lhs,
const ActiveLinearTransformation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > & rhs )

Definition at line 226 of file ActiveLinearTransformation.hpp.

◆ operator==() [2/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename CoordinateSystemLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename CoordinateSystemRhsT_, int DimensionRhsV_>
bool wuzp::operator== ( const ActiveSpatialRotation< ValuesLhsT_, ValueLhsT_, CoordinateSystemLhsT_, DimensionLhsV_ > & lhs,
const ActiveSpatialRotation< ValuesRhsT_, ValueRhsT_, CoordinateSystemRhsT_, DimensionRhsV_ > & rhs )

Definition at line 493 of file ActiveSpatialRotation.hpp.

◆ operator==() [3/12]

template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename CoordinateSystemLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename CoordinateSystemRhsT_, typename... UnitsRhsT_>
bool wuzp::operator== ( const ActiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, CoordinateSystemLhsT_, UnitsLhsT_... > & lhs,
const ActiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, CoordinateSystemRhsT_, UnitsRhsT_... > & rhs )

Definition at line 118 of file ActiveTranslation.hpp.

◆ operator==() [4/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionFromLhsV_, int DimensionToLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionFromRhsV_, int DimensionToRhsV_, typename... UnitsRhsT_>
bool wuzp::operator== ( const Jacobian< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionFromLhsV_, DimensionToLhsV_, UnitsLhsT_... > & lhs,
const Jacobian< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionFromRhsV_, DimensionToRhsV_, UnitsRhsT_... > & rhs )

Definition at line 236 of file Jacobian.hpp.

◆ operator==() [5/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool wuzp::operator== ( const LorentzTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > & lhs,
const LorentzTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > & rhs )

Definition at line 176 of file LorentzTransformation.hpp.

◆ operator==() [6/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_, typename... UnitsRhsT_>
bool wuzp::operator== ( const PassiveLinearTransformation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_, UnitsLhsT_... > & lhs,
const PassiveLinearTransformation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_, UnitsRhsT_... > & rhs )

Definition at line 209 of file PassiveLinearTransformation.hpp.

◆ operator==() [7/12]

template<template< typename, int, int > typename ValuesLhsT_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, int DimensionLhsV_, template< typename, int, int > typename ValuesRhsT_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, int DimensionRhsV_>
bool wuzp::operator== ( const PassiveSpatialRotation< ValuesLhsT_, ValueLhsT_, FromLhsT_, ToLhsT_, DimensionLhsV_ > & lhs,
const PassiveSpatialRotation< ValuesRhsT_, ValueRhsT_, FromRhsT_, ToRhsT_, DimensionRhsV_ > & rhs )

Definition at line 521 of file PassiveSpatialRotation.hpp.

◆ operator==() [8/12]

template<template< typename, int, int > typename ValuesLhsT_, int DimensionLhsV_, typename ValueLhsT_, typename FromLhsT_, typename ToLhsT_, typename... UnitsLhsT_, template< typename, int, int > typename ValuesRhsT_, int DimensionRhsV_, typename ValueRhsT_, typename FromRhsT_, typename ToRhsT_, typename... UnitsRhsT_>
bool wuzp::operator== ( const PassiveTranslation< ValuesLhsT_, DimensionLhsV_, ValueLhsT_, FromLhsT_, ToLhsT_, UnitsLhsT_... > & lhs,
const PassiveTranslation< ValuesRhsT_, DimensionRhsV_, ValueRhsT_, FromRhsT_, ToRhsT_, UnitsRhsT_... > & rhs )

Definition at line 116 of file PassiveTranslation.hpp.

◆ operator==() [9/12]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
bool wuzp::operator== ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 602 of file Quantities.hpp.

◆ operator==() [10/12]

template<typename LhsT_, typename RotationalLhsT_, typename TranslationalLhsT_, typename RhsT_, typename RotationalRhsT_, typename TranslationalRhsT_>
bool wuzp::operator== ( const SpatialVector< LhsT_, RotationalLhsT_, TranslationalLhsT_ > & lhs,
const SpatialVector< RhsT_, RotationalRhsT_, TranslationalRhsT_ > & rhs )

Whether two spatial vectors with the same tags are equal: both their parts are equal.

Definition at line 177 of file SpatialVector.hpp.

◆ operator==() [11/12]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
bool wuzp::operator== ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 917 of file Tensor.hpp.

◆ operator==() [12/12]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
bool wuzp::operator== ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 691 of file ValuesWrapper.hpp.

◆ outerProduct() [1/4]

template<typename Lhs, typename Rhs>
auto wuzp::outerProduct ( const Lhs & lhs,
const Rhs & rhs )

◆ outerProduct() [2/4]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::outerProduct ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 529 of file Quantities.hpp.

◆ outerProduct() [3/4]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::outerProduct ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

The outer (tensor) product of two vectors or covectors, e.g. v^i w_j, a tensor of rank 2 whose indices are those of the left-hand side, followed by those of the right-hand side (see OuterProduct<Indices<...>, Indices<...>>).

Definition at line 775 of file Tensor.hpp.

◆ outerProduct() [4/4]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::outerProduct ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 653 of file ValuesWrapper.hpp.

◆ pow() [1/3]

template<int ExponentDividendV_, int ExponentDivisorV_, typename ValuesT_, typename UnitsT_>
auto wuzp::pow ( const Quantities< ValuesT_, UnitsT_ > & quantities)

Definition at line 718 of file Quantities.hpp.

◆ pow() [2/3]

template<int ExponentV_, typename ValuesT_, typename UnitsT_>
auto wuzp::pow ( const Quantities< ValuesT_, UnitsT_ > & quantities)

Definition at line 712 of file Quantities.hpp.

◆ pow() [3/3]

template<typename ExponentT_, typename ValuesT_, typename UnitsT_>
auto wuzp::pow ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The quantities raised to a rational power P/Q, elementwise, e.g. pow<Rational<1, 2>>(area) is a length, and pow<2>() of a length and a time is an area and a squared time.

The power of floating point values is computed in their type, with std::sqrt for 1/2 and std::cbrt for 1/3. For integer values, a result that is not an integer is truncated, like the norm of integer vectors, which follows Eigen's norm(): pow<1, 2>(QuantityI<Area>(5)) is 2 m (see "Integer values" in DESIGN.md). The truncation is exact, e.g. pow<2, 3>() of 8 m^3 is 4 m^2, which is 3.9999999999999996 with std::pow (see internal::integerPower). A negative value has a real power if the reduced denominator Q is odd, (-1)^P |x|^(P/Q): e.g. pow<1, 3>() of -8 m^3 is -2 m, like std::cbrt, where std::pow is NaN. If Q is even, it has none: floating point values give NaN, like std::pow (https://en.cppreference.com/w/cpp/numeric/math/pow#Error_handling), and integer values throw std::domain_error (see "Powers of negative quantities" in DESIGN.md). The exponent comes first, as the values and the units can be deduced.

Exceptions
std::domain_errorFor a negative integer value and an even Q, and for an integer zero and a negative P.
std::range_errorFor an integer power that does not fit into the value type.

Definition at line 705 of file Quantities.hpp.

◆ product() [1/16]

template<typename Lhs, typename Rhs>
auto wuzp::product ( const Lhs & lhs,
const Rhs & rhs )

◆ product() [2/16]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::product ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

The elementwise product of quantities of the same size, or with a quantity.

Quantities have no coordinate system and no indices, so this is the unrestricted counterpart of cwiseProduct() of tensors, e.g. for the components of points. This specialization also covers the Quantity typedef.

Definition at line 498 of file Quantities.hpp.

◆ product() [3/16]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::product ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 703 of file Tensor.hpp.

◆ product() [4/16]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValueRhsT_>
auto wuzp::product ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 476 of file Quantities.hpp.

◆ product() [5/16]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::product ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 485 of file Quantities.hpp.

◆ product() [6/16]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::product ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

The product with a quantity, 1x1 quantities (see Product<Tensor<...>, Quantities<...>>).

Definition at line 696 of file Tensor.hpp.

◆ product() [7/16]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::product ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

The product of two tensors, one of which has rank 0 (see Product<Tensor<...>, Tensor<...>>).

Definition at line 710 of file Tensor.hpp.

◆ product() [8/16]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, ArithmeticValue ValueRhsT_>
auto wuzp::product ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValueRhsT_ rhs )

The product with an arithmetic scalar, which is converted into the value type of the tensor if their common type is the value type, e.g. 2 * vector for a vector of doubles (see internal::toDimensionlessQuantity).

Definition at line 669 of file Tensor.hpp.

◆ product() [9/16]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::product ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

The product with dimensionless values, which must be a scalar, 1x1 values.

Definition at line 681 of file Tensor.hpp.

◆ product() [10/16]

template<typename ValueLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::product ( const ValueLhsT_ lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 481 of file Quantities.hpp.

◆ product() [11/16]

template<ArithmeticValue ValueLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::product ( const ValueLhsT_ lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 675 of file Tensor.hpp.

◆ product() [12/16]

template<typename ValueLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::product ( const ValueLhsT_ lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 582 of file ValuesWrapper.hpp.

◆ product() [13/16]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::product ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 491 of file Quantities.hpp.

◆ product() [14/16]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::product ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 689 of file Tensor.hpp.

◆ product() [15/16]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename ValueRhsT_>
auto wuzp::product ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValueRhsT_ rhs )

Definition at line 576 of file ValuesWrapper.hpp.

◆ product() [16/16]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::product ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 587 of file ValuesWrapper.hpp.

◆ sin()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::sin ( const Quantities< ValuesT_, UnitsT_ > & angles)

The sine of angles in radians, elementwise, like std::sin (https://en.cppreference.com/w/cpp/numeric/math/sin): dimensionless quantities.

The angles can be any dimensionless quantities (see "Angles are dimensionless" in DESIGN.md).

Definition at line 757 of file Quantities.hpp.

◆ skewSymmetricMatrix()

template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto wuzp::skewSymmetricMatrix ( const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > & vector)

The skew-symmetric matrix [v]x of a three-dimensional vector v, the linear map of the cross product with v: innerProduct(skewSymmetricMatrix(v), w) is v.crossProduct(w), e.g. for the velocity w x r of a point of a rotating body or the derivative dR/dt = [w]x R of a rotation.

It is the "hat" operator of the Lie algebra so(3) (SolĂ , Deray and Atchuthan, "A micro Lie theory for state estimation in robotics", https://arxiv.org/abs/1812.01537, eq. 9), and kindr's getSkewMatrixFromVector(). It is a linear map, a tensor with an upper and a lower index, whose elements all have the unit of the components of v, which must be the same. Like the cross product, it uses the Levi-Civita symbol of a right-handed orthonormal basis, so it is only rotated like a tensor by proper rotations, and it requires a Euclidean coordinate system and rejects points and batches (see crossProduct()).

Definition at line 795 of file Tensor.hpp.

◆ sqrt()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::sqrt ( const Quantities< ValuesT_, UnitsT_ > & quantities)

The square root, elementwise: pow<1, 2>(), computed with std::sqrt (https://en.cppreference.com/w/cpp/numeric/math/sqrt), e.g. the square root of an area is a length.

The square root of a negative value is NaN for floating point values, like std::sqrt, and throws std::domain_error for integer values; that of other integer values is truncated (see pow()).

Exceptions
std::domain_errorFor a negative integer value.

Definition at line 727 of file Quantities.hpp.

◆ sum() [1/4]

template<typename Lhs, typename Rhs>
auto wuzp::sum ( const Lhs & lhs,
const Rhs & rhs )

◆ sum() [2/4]

template<typename ValuesLhsT_, typename UnitsLhsT_, typename ValuesRhsT_, typename UnitsRhsT_>
auto wuzp::sum ( const Quantities< ValuesLhsT_, UnitsLhsT_ > & lhs,
const Quantities< ValuesRhsT_, UnitsRhsT_ > & rhs )

Definition at line 447 of file Quantities.hpp.

◆ sum() [3/4]

template<typename IndicesLhsT_, typename QuantitiesLhsT_, typename CoordinateSystemLhsT_, typename AbsoluteLhsT_, typename IndicesRhsT_, typename QuantitiesRhsT_, typename CoordinateSystemRhsT_, typename AbsoluteRhsT_>
auto wuzp::sum ( const Tensor< IndicesLhsT_, QuantitiesLhsT_, CoordinateSystemLhsT_, AbsoluteLhsT_ > & lhs,
const Tensor< IndicesRhsT_, QuantitiesRhsT_, CoordinateSystemRhsT_, AbsoluteRhsT_ > & rhs )

Definition at line 623 of file Tensor.hpp.

◆ sum() [4/4]

template<typename MatrixSizeLhsT_, typename ValueLhsT_, typename ImplementationLhsT_, typename MatrixSizeRhsT_, typename ValueRhsT_, typename ImplementationRhsT_>
auto wuzp::sum ( const ValuesWrapper< MatrixSizeLhsT_, ValueLhsT_, ImplementationLhsT_ > & lhs,
const ValuesWrapper< MatrixSizeRhsT_, ValueRhsT_, ImplementationRhsT_ > & rhs )

Definition at line 532 of file ValuesWrapper.hpp.

◆ tan()

template<typename ValuesT_, typename UnitsT_>
auto wuzp::tan ( const Quantities< ValuesT_, UnitsT_ > & angles)

The tangent of angles in radians, elementwise, like std::tan (https://en.cppreference.com/w/cpp/numeric/math/tan), see sin().

Definition at line 769 of file Quantities.hpp.

◆ vectorOfSkewSymmetricMatrix()

template<typename IndicesT_, typename QuantitiesT_, typename CoordinateSystemT_, typename AbsoluteT_>
auto wuzp::vectorOfSkewSymmetricMatrix ( const Tensor< IndicesT_, QuantitiesT_, CoordinateSystemT_, AbsoluteT_ > & matrix)

The vector v of the skew-symmetric matrix [v]x, the inverse of skewSymmetricMatrix(): for a three-dimensional linear map M, the vector of its skew-symmetric part (M - M^T) / 2, v = (M_21 - M_12, M_02 - M_20, M_10 - M_01) / 2, which averages out rounding errors of a matrix that is skew-symmetric only approximately, e.g. dR/dt R^T.

kindr's getVectorFromSkewMatrix() takes the elements below the diagonal. The elements of each pair must have the same unit, the unit of the component of v, and the coordinate system must be Euclidean, like for skewSymmetricMatrix().

Definition at line 816 of file Tensor.hpp.

◆ velocityOfBodyFixedPoint()

template<AnyTensor VelocityT_, AnyTensor AngularVelocityT_, AnyTensor OffsetT_>
auto wuzp::velocityOfBodyFixedPoint ( const VelocityT_ & velocity,
const AngularVelocityT_ & angularVelocity,
const OffsetT_ & offset )

The velocity v_Q = v_P + w x p_PQ of a point Q fixed to a rigid body, from the velocity v_P of a point P fixed to the body, the angular velocity w of the body and the position vector p_PQ from P to Q.

The velocities are measured in the same frame, e.g. an inertial one, and all vectors are expressed in the coordinate system of v_P, which must be Euclidean. Like Drake's SpatialVelocity::Shift(), v_MBq = v_MBp + w_MB x p_BpBq (https://drake.mit.edu/doxygen_cxx/classdrake_1_1multibody_1_1_spatial_velocity.html). The angular velocity and the position vector are converted into three-dimensional vectors of an angular velocity and a length in the coordinate system of v_P, so that e.g. swapped arguments fail with "Units do not match." and a point instead of the position vector with "Absolute/relative mismatch.": p_PQ is the difference of two points.

Definition at line 47 of file kinematics.hpp.

Variable Documentation

◆ areSame

template<typename T, typename... Ts>
bool wuzp::areSame = std::conjunction_v<std::is_same<T, Ts>...>
inlineconstexpr

Definition at line 90 of file helpers.hpp.

◆ isConvertedToValueType

template<typename ScalarT_, typename ValueT_>
bool wuzp::isConvertedToValueType = std::is_same_v<std::common_type_t<ScalarT_, ValueT_>, ValueT_>
inlineconstexpr

Whether an arithmetic scalar of the type ScalarT_ is converted into the value type ValueT_: if their common type (the type of their sum in C++) is the value type, e.g. an int scalar with double values, but not a double scalar with int or float values, nor an unsigned scalar with int values, whose sum would be unsigned.

The scalars of operations, e.g. 2 * v, and the elements that values are constructed from or that set() sets follow this rule.

Definition at line 97 of file helpers.hpp.