SetCoordinates

As of version 9.0, vector analysis functionality is built into Mathematica

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


sets the default coordinate system to be coordsys with variables , , and .

更多信息更多信息

  • To use , 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.

范例范例打开所有单元关闭所有单元

基本范例 (1)基本范例 (1)

In[1]:=
Click for copyable input

Use 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]=
New to Mathematica? Find your learning path »
Have a question? Ask support »