I.2.4.3 “changeCompsA2B” method
Method “changeCompsA2B” is used to calculate the components of a vector or tensor wrt basic or
“B” coordinate system:
- The coordinate system on which the method is called is the coordinate system in which
the initial components are defined. (Coordinate system “A”.)
- The first “CoordA” argument is an Array of three real values corresponding to the
coordinates of the point in coordinate system “A”.
- The second “vmA” argument corresponds to the components of vector or tensor (matrix)
in coordinate system “A”. (An Array of three real values, or an Array of Arrays of three
real values.)
- The third “CsB” argument is a “CoordSys” object wrt which one wants to calculate the
new components.
- The method returns the components of a vector or tensor, but expressed wrt basic
coordinate system “B”. (An Array of three real values, or an Array of Arrays of three real
values.)
The method is called as follows:
vmB=csA.changeCoordsA2B(coordsA,vmA,csB)