Mathematica Tutorial
Author
Michel Schellekens
Title
Mathematica Tutorial
Description
Tutorial focused on clarifying subtleties that may confuse beginners
Category
Educational Materials
Keywords
Sequences, part, atom
URL
http://www.notebookarchive.org/2022-08-2bdae6f/
DOI
https://notebookarchive.org/2022-08-2bdae6f
Date Added
2022-08-05
Date Last Modified
2022-08-05
File Size
457.57 kilobytes
Supplements
Rights
CC BY-NC-SA 4.0



Mathematica Tutorial
Mathematica Tutorial
Author: Michel Schellekens
Date: Aug 28, 2022
University College Cork
School of Computer Science and Information Technology
Email: m.schellekens@cs.ucc.ie
Author: Michel Schellekens
Date: Aug 28, 2022
University College Cork
School of Computer Science and Information Technology
Email: m.schellekens@cs.ucc.ie
Date: Aug 28, 2022
University College Cork
School of Computer Science and Information Technology
Email: m.schellekens@cs.ucc.ie
These notes clarify aspects of Mathematica that can be confusing for a beginner or can benefit from a more detailed introduction:
◼
a Mathematica sequence and its different behaviour compared with standard Mathematica expressions.
◼
a detailed definition of a position in an expression based on its tree.
◼
"heads" of atoms and their inaccessibility as parts.
Additional sections are included on functions, Apply and Map.
These notes are kept on www.notebookarchive.org and may be occasionally updated. Comments are welcome of course.
It is assumed that a running version of Mathematica has been set up to execute examples following a Shift-Return.
Part of the notes benefitted from other resources including R. J. Gaylord’s notes on Wolfram Language Fundamentals (WLF).
The WLF-reference is a useful resource to study further aspects of RuleDelayed applications and the order of execution in the rule base as well as functional programming. These are not addressed here. https://library.wolfram.com/infocenter/MathSource/5216
Part of the notes benefitted from other resources including R. J. Gaylord’s notes on Wolfram Language Fundamentals (WLF).
The WLF-reference is a useful resource to study further aspects of RuleDelayed applications and the order of execution in the rule base as well as functional programming. These are not addressed here. https://library.wolfram.com/infocenter/MathSource/5216
Nuts and bolts
Nuts and bolts
Expressions in Mathematica: formal intro
Expressions in Mathematica: formal intro
Lists, Level, Position and Part functions
Lists, Level, Position and Part functions
Extracting subexpressions via a position
Extracting subexpressions via a position
Extracting a list of subexpressions via a list of positions
Extracting a list of subexpressions via a list of positions
Accessing subexpressions via the Part function
Accessing subexpressions via the Part function
Functions
Functions
Apply affects the headMap affects the arguments
Apply affects the headMap affects the arguments


Cite this as: Michel Schellekens, "Mathematica Tutorial" from the Notebook Archive (2022), https://notebookarchive.org/2022-08-2bdae6f

Download

