1 #ifndef CLASSIC_TransportMap_HH
2 #define CLASSIC_TransportMap_HH
25 template <
class T,
int M,
int N>
class FMatrix;
26 template <
class T,
int N>
class FVector;
27 template <
class T,
int N>
class FVps;
38 template <
class T,
int N>
141 static const int SIZE = (N + 1) *(N + 2) / 2;
152 template <
class T,
int N>
157 template <
class T,
int N>
162 template <
class T,
int N>
167 template <
class T,
int N>
172 template <
class T,
int N>
178 template <
class T,
int N>
184 template <
class T,
int N>
189 template <
class T,
int N>
194 template <
class T,
int N>
199 template <
class T,
int N>
204 template <
class T,
int N>
209 template <
class T,
int N>
214 template <
class T,
int N>
222 #endif // CLASSIC_TransportMap_HH
Matrix< T > operator+(const Matrix< T > &, const Matrix< T > &)
Matrix addition.
TransportMap & operator*=(const TransportFun< T, N > &rhs)
Multiply and assign.
Matrix< T > operator/(const Matrix< T > &, const T &)
Matrix divided by scalar.
Transport map with values of type [b]T[/b] in [b]N[/b] variables.
TransportMap & operator+=(const TransportMap &rhs)
Add.
A templated representation for matrices.
void setComponent(int, const TransportFun< T, N > &)
Set component.
A templated representation for vectors.
TransportMap operator+() const
Unary plus.
Matrix< T > operator*(const Matrix< T > &, const Matrix< T > &)
Matrix multiply.
FMatrix< T, N, N > linearTerms() const
Extract Transport terms at origin.
const TransportFun< T, N > & getComponent(int n) const
Get component.
TransportMap & operator-=(const TransportMap &rhs)
Subtract.
static const int SIZE
Size of a component.
Transport function in N variables of type T.
TransportMap inverse() const
Inverse.
TransportFun< T, N > data[N]
TransportMap operator-() const
Unary minus.
TransportMap substitute(const FMatrix< T, N, N > &rhs) const
Substitute matrix into map.
TransportMap & operator/=(const TransportFun< T, N > &rhs)
Divide and assign.
TransportFun< T, N > & operator[](int)
Get component.
TransportMap()
Default constructor.
TransportMap substituteInto(const FMatrix< T, N, N > &lhs) const
Substitute map into matrix.
Matrix< T > operator-(const Matrix< T > &, const Matrix< T > &)
Matrix subtraction.
void identity()
Set to identity.
FVector< T, N > constantTerm() const
Vector truncated power series in n variables.