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 xi to yi.
Details
- Coordinate transformations can be specified as rules or oldchart->newchart or triples {oldsys->newsys,metric,dim}, as in CoordinateTransformData. The short form in which dimension is omitted may be used.
- If f is an array, it must have dimensions {n,…,n}. 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.
Examples
open allclose allBasic Examples (1)
Scope (4)
Applications (2)
Re-express spherical harmonics in Cartesian coordinates:
An electric dipole of dipole moment located at the origin and aligned with the axis has the following electric potential in spherical coordinates:
Compute the corresponding expression in Cartesian coordinates:
Derive the dipole electric field in spherical coordinates:
Transform this expression to Cartesian coordinates:
The same expression is obtained by differentiating the Cartesian potential function:
Properties & Relations (2)
Use Map to transform a list as a list of scalars rather than as a vector:
The same principle applies to lists of vectors and higher-rank tensors:
TransformedField changes the coordinate expressions for fields:
CoordinateTransform changes the coordinate values of points:
Text
Wolfram Research (2012), TransformedField, Wolfram Language function, https://reference.wolfram.com/language/ref/TransformedField.html.
CMS
Wolfram Language. 2012. "TransformedField." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TransformedField.html.
APA
Wolfram Language. (2012). TransformedField. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TransformedField.html