>
|
|
In the context of the Physics[Vectors] package, vectors are standard algebraic type expressions where the unit vectors are distinguished from the components with an underscore. This is the position vector in cartesian coordinates and cartesian orthonormal basis
In the context of the VectorCalculus package, vectors are formed using a special non-algebraic type structure, although their display looks like an algebraic structure. To convert above into a vector of the VectorCalculus package use
>
|
|
>
|
|
To see the structure behind R2 not of algebraic type use
Vector[row](3,{1 = x, 2 = y, 3 = z},datatype = anything,storage = rectangular,
order = Fortran_order,attributes = [vectorfield, coords = cartesian[x,y,z]],
shape = [])
| |
To convert back to a vector of the Physics[Vectors] package use
>
|
|