TransformedField

TransformedField[t, f, {x1, x2, ..., xn}->{y1, y2, ..., yn}]
uses the coordinate transformation t to transform the scalar, vector, or tensor field f from coordinates to .

DetailsDetails

  • Coordinate transformations can be specified as rules or or triples , as in CoordinateTransformData. The short form in which dimension is omitted may be used.
  • If f is an array, it must have dimensions . Its components are interpreted as being in the orthonormal basis of the old coordinate chart, and the result is given in the orthonormal basis of the new chart.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Convert a scalar field from polar to Cartesian coordinates:

In[1]:=
Click for copyable input
Out[1]=

Change a vector field from Cartesian to polar coordinates:

In[2]:=
Click for copyable input
Out[2]=
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »