FEYN CALC SYMBOL

Write2


writes the settings val1 = expr1, val2 = expr2 in sequence followed by a newline, to the specified output file. Setting the option FormatType of Write2 to FortranForm results in FORTRAN syntax output.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input
Out[1]//FullForm=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
This writes the assignment r=t to a file.
In[6]:=
Click for copyable input
This shows the contents of the file.
In[7]:=
Click for copyable input
Out[7]//TableForm=
In[8]:=
Click for copyable input
In[9]:=
Click for copyable input
Out[9]=
In[10]:=
Click for copyable input
In[11]:=
Click for copyable input
Out[11]//TableForm=
In[12]:=
Click for copyable input
This is how to write out the expression t2 in Fortran format.
In[14]:=
Click for copyable input
Out[14]//TableForm=
In[15]:=
Click for copyable input