|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
#include <wuzp/trafo/ActiveLinearTransformation.hpp>
Public Types | |
| using | ValueT = ValueT_ |
| using | ValuesT = ValuesT_<ValueT_, DimensionToV_, DimensionFromV_> |
| using | UnitsT = TypeMatrix<DimensionToV_, DimensionFromV_, UnitsT_...> |
| using | QuantitiesT = Quantities<ValuesT, UnitsT> |
| using | CoordinateSystemT = CoordinateSystemT_ |
| using | TensorT = Tensor<Indices<Up, Down>, QuantitiesT, CoordinateSystemT, Relative> |
Public Member Functions | |
| template<typename... Args> requires (!CopiesOrMoves<ActiveLinearTransformation, Args...>) | |
| ActiveLinearTransformation (Args &&... args) | |
| const QuantitiesT & | getQuantities () const |
| The matrix A, which transforms a vector v into A v. | |
| TensorT | getTensor () const |
| The matrix as a linear map, a tensor with an upper and a lower index; only for a square matrix. | |
| auto | inverse () const |
| The inverse transformation, whose matrix is the matrix inverse A^-1 (see Quantities::inverse()): A must be square, and its units must describe a linear map. | |
| template<template< typename, int, int > typename ValuesOtherT_, typename ValueOtherT_, typename CoordinateSystemOtherT_, int DimensionFromOtherV_, int DimensionToOtherV_, typename... UnitsOtherT_> | |
| bool | isApprox (const ActiveLinearTransformation< ValuesOtherT_, ValueOtherT_, CoordinateSystemOtherT_, DimensionFromOtherV_, DimensionToOtherV_, UnitsOtherT_... > &other, const ValueT precision=Precision< ValueT >::value()) const |
| Whether both linear transformations, which must be expressed in the same coordinate system, are approximately equal: their matrices are compared like the components of tensors (see Tensor::isApprox()), also those that are not square. | |
| Public Member Functions inherited from wuzp::ActiveTransformation< ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_... > > | |
| auto | transform (ObjectT_ &&object) const |
| The transformed object. A temporary is passed on as one, like with PassiveTransformation::transform(). | |
Definition at line 52 of file ActiveLinearTransformation.hpp.
| using wuzp::ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_ >::CoordinateSystemT = CoordinateSystemT_ |
Definition at line 60 of file ActiveLinearTransformation.hpp.
| using wuzp::ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_ >::QuantitiesT = Quantities<ValuesT, UnitsT> |
Definition at line 59 of file ActiveLinearTransformation.hpp.
| using wuzp::ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_ >::TensorT = Tensor<Indices<Up, Down>, QuantitiesT, CoordinateSystemT, Relative> |
Definition at line 61 of file ActiveLinearTransformation.hpp.
| using wuzp::ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_ >::UnitsT = TypeMatrix<DimensionToV_, DimensionFromV_, UnitsT_...> |
Definition at line 58 of file ActiveLinearTransformation.hpp.
| using wuzp::ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_ >::ValuesT = ValuesT_<ValueT_, DimensionToV_, DimensionFromV_> |
Definition at line 57 of file ActiveLinearTransformation.hpp.
| using wuzp::ActiveLinearTransformation< ValuesT_, ValueT_, CoordinateSystemT_, DimensionFromV_, DimensionToV_, UnitsT_ >::ValueT = ValueT_ |
Definition at line 56 of file ActiveLinearTransformation.hpp.
|
inlineexplicit |
Definition at line 66 of file ActiveLinearTransformation.hpp.
|
inline |
The matrix A, which transforms a vector v into A v.
Definition at line 69 of file ActiveLinearTransformation.hpp.
|
inline |
The matrix as a linear map, a tensor with an upper and a lower index; only for a square matrix.
Definition at line 71 of file ActiveLinearTransformation.hpp.
|
inline |
The inverse transformation, whose matrix is the matrix inverse A^-1 (see Quantities::inverse()): A must be square, and its units must describe a linear map.
This needs a value matrix backend with matrix inverses (InvertibleValueMatrixBackend). The inverse of a rotation is its transpose (see ActiveSpatialRotation::inverse()).
Definition at line 82 of file ActiveLinearTransformation.hpp.
|
inline |
Whether both linear transformations, which must be expressed in the same coordinate system, are approximately equal: their matrices are compared like the components of tensors (see Tensor::isApprox()), also those that are not square.
Definition at line 88 of file ActiveLinearTransformation.hpp.