Language Overview

At the core of Mathematica is its highly developed symbolic language, which unifies a broad range of programming paradigms and uses its unique concept of symbolic programming to add a new level of flexibility to the very concept of programming.

ReferenceReference

Symbolic Expressions »

f[a,b,...] the basic underlying form of everything in Mathematica

Lists & Expression Manipulation »

{...} (List) ▪ ...[[...]] (Part) ▪ Table ▪ Length ▪ Take ▪ Select ▪ ...

Functional Operations »

...& (Function) ▪ /@ (Map) ▪ Nest ▪ NestList ▪ FoldList ▪ Array ▪ ...

Pattern Matching »

_ ▪ __ ▪ | ▪ .. ▪ /; ▪ Cases ▪ Position ▪ ...

Rules & Transformations »

-> (Rule) ▪ :> ▪ /. (ReplaceAll) ▪ ...

Definitions & Assignments »

= ▪ := ▪ =. ▪ ^= ▪ ...

Logic & Tests »

== ▪ != ▪ && ▪ || ▪ MemberQ ▪ ...

Scoping & Modularity »

Module ▪ With ▪ Block ▪ Dynamic ▪ ...

Procedural Programming »

; ▪ If ▪ Do ▪ While ▪ Sow ▪ Reap ▪ ...

String Manipulation »

"..." (String) ▪ StringExpression ▪ StringReplace ▪ StringCases ▪ ...

Free-Form Linguistics »

( at beginning of input) — use free-form linguistics for computations and programs

New to Mathematica? Find your learning path »
Have a question? Ask support »