SetCoordinates

As of Version 9.0, vector analysis functionality is built into the Wolfram Language

SetCoordinates[coordsys]
sets the default coordinate system to be coordsys with default variables.

SetCoordinates[coordsys[c1,c2,c3]]
sets the default coordinate system to be coordsys with variables c1, c2, and c3.

DetailsDetails

  • To use SetCoordinates, you first need to load the Vector Analysis Package using Needs["VectorAnalysis`"].
  • Certain coordinate systems have parameters associated with them, and these parameters can be set by specifying the full description of the coordinate system.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Use SetCoordinates to change the default coordinate system:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

Restore the default settings:

In[5]:=
Click for copyable input
Out[5]=
Translate this page: