13.07.2015 Views

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Notebooks</strong> and <strong>Documents</strong> 109Plus is a Flat function, so no grouping is necessary here.In[8]:= FullForm@a + b + c + dDOut[8]//FullForm= Plus@a, b, c, dDPower is not Flat, so the operands have to be grouped in pairs.In[9]:= FullForm@a^b^c^dDOut[9]//FullForm= Power@a, Power@b, Power@c, dDDDThe syntax of the <strong>Mathematica</strong> language is defined not only for characters that you can type ona typical keyboard, but also for all the various special characters that <strong>Mathematica</strong> supports.Letters such as g, and ¡ from any alphabet are treated just like ordinary English letters, andcan for example appear in the names of symbols. The same is true of letter-like forms such as, — and —.But many other special characters are treated as operators. Thus, for example, ⊕ and ù areinfix operators, while Ÿ is a prefix operator, and X and \ are matchfix operators.⊕ is an infix operator.In[10]:= a ⊕ b ⊕ c êê FullFormOut[10]//FullForm= CirclePlus@a, b, cDIn[11]:=µ is an infix operator which means the same as *.a µ a µ a µ b µ b µ cOut[11]= a 3 b 2 cSome special characters form elements of fairly complicated compound operators. Thus, forexample, Ÿ f „ x contains the compound operator with elements Ÿ and „.The Ÿ and „ form parts of a compound operator.In[12]:=‡ k@xD „x êê FullFormOut[12]//FullForm= Integrate@k@xD, xD

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!