Appendix C Algorithm listings for Part 1
Since in-line code makes for difficult reading, almost all of the code listings for important functions are here in the appendices. For those unfamiliar with Mathematica language conventions, here are a few things to know.
To define a function f (x) = , the notation is
Square brackets [ ], not parentheses, enclose function arguments; parentheses () are used to group expressions. Curly braces { } contain lists. Double square brackets 〚 〛 indicate subscripts of a list, and the convention here is to actually typeset them as subscripts, like list
〚2
〛 to indicate the second element of list
.
The /;
characters ...
Get The End of Error now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.