template
class
TransportMap<class,int>
(Return to index)
Transport map with values of type T in N variables.
The copy constructor, destructor, and assignment operator generated
by the compiler perform the correct operation. For speed reasons
they are not implemented.
Type: |
Instantiable |
Include file: |
./FixedAlgebra/TransportMap.hh |
Synopsis (including inherited members):
- Public members:
-
TransportMap
()
;
-
TransportMap
(const FVps<T,N>&)
;
-
TransportMap
(const FMatrix<T,N,N>&)
;
-
TransportMap
(const FVector<T,N>&)
;
-
const TransportFun<T,N>& getComponent
(int)const
;
-
void setComponent
(int,const TransportFun<T,N>&)
;
-
TransportFun<T,N>& operator[]
(int)
;
-
const TransportFun<T,N>& operator[]
(int)const
;
-
TransportMap operator+
()const
;
-
TransportMap operator-
()const
;
-
TransportMap& operator*=
(const TransportFun<T,N>&)
;
-
TransportMap& operator/=
(const TransportFun<T,N>&)
;
-
TransportMap& operator*=
(const T&)
;
-
TransportMap& operator/=
(const T&)
;
-
TransportMap& operator+=
(const TransportMap&)
;
-
TransportMap& operator-=
(const TransportMap&)
;
-
TransportMap& operator+=
(const FVector<T,N>&)
;
-
TransportMap& operator-=
(const FVector<T,N>&)
;
-
TransportMap inverse
()const
;
-
void identity
()
;
-
FVector<T,N> constantTerm
(const FVector<T,N>&)const
;
-
FVector<T,N> constantTerm
()const
;
-
FMatrix<T,N,N> linearTerms
()const
;
-
TransportMap substitute
(const FMatrix<T,N,N>&)const
;
-
TransportMap substitute
(const TransportMap&)const
;
-
TransportMap substituteInto
(const FMatrix<T,N,N>&)const
;
- Protected Members:
-
static const int SIZE
;
-
TransportFun<T,N> data
;
Documentation:
- Public members:
-
TransportMap
()
;
- Default constructor.
Construct identity map.
-
TransportMap
(const FVps<T,N>&)
;
- Convert.
-
TransportMap
(const FMatrix<T,N,N>&)
;
- Convert from matrix.
The constant part is set to zero.
The Transport part is filled from M.
-
TransportMap
(const FVector<T,N>&)
;
- Convert from vector.
The constant part is filled from V.
The Transport part is set to the identity.
-
FVector<T,N> constantTerm
(const FVector<T,N>&)const
;
- Evaluate map at point P.
-
FVector<T,N> constantTerm
()const
;
- Evaluate map at origin.
/ This is equivalent to extracting constant part.
-
const TransportFun<T,N>& getComponent
(int)const
;
- Get component.
Return value of component n.
Throw RangeError, if n is out of range.
-
void identity
()
;
- Set to identity.
-
TransportMap inverse
()const
;
- Inverse.
-
FMatrix<T,N,N> linearTerms
()const
;
- Extract Transport terms at origin.
This is equivalent to extracting Transport part.
-
TransportMap& operator*=
(const TransportFun<T,N>&)
;
- Multiply and assign.
-
TransportMap& operator*=
(const T&)
;
- Multiply and assign.
-
TransportMap operator+
()const
;
- Unary plus.
-
TransportMap& operator+=
(const TransportMap&)
;
- Add.
-
TransportMap& operator+=
(const FVector<T,N>&)
;
- Add and assign.
-
TransportMap operator-
()const
;
- Unary minus.
-
TransportMap& operator-=
(const TransportMap&)
;
- Subtract.
-
TransportMap& operator-=
(const FVector<T,N>&)
;
- Subtract and assign.
-
TransportMap& operator/=
(const TransportFun<T,N>&)
;
- Divide and assign.
Throw DivideError if constant part of rhs is zero.
-
TransportMap& operator/=
(const T&)
;
- Divide and assign.
Throw DivideError if rhs is zero.
-
TransportFun<T,N>& operator[]
(int)
;
- Get component.
Return reference to component n.
Result is undefined, if index is out of range.
-
const TransportFun<T,N>& operator[]
(int)const
;
- Get Component.
Return constant reference to component n.
Result is undefined, if index is out of range.
-
void setComponent
(int,const TransportFun<T,N>&)
;
- Set component.
Assign value of component n.
Throw RangeError, if n is out of range.
-
TransportMap substitute
(const FMatrix<T,N,N>&)const
;
- Substitute matrix into map.
-
TransportMap substitute
(const TransportMap&)const
;
- Substitute map into map.
-
TransportMap substituteInto
(const FMatrix<T,N,N>&)const
;
- Substitute map into matrix.
- Protected members:
-
static const int SIZE
;
- Size of a component.
Documentation generated by fci on Mon Feb 7 11:41:56 2000