Switching guide

Coming from Mathcad or SMath Studio?

Symbolical works the way you already do: a free-form page, math in 2D, units in every value, solve blocks and plots. It is free and open source, and runs on Linux, Windows and macOS. Here is what will feel familiar, what works differently on purpose, and what is not there yet.

Familiar

What you already know.

The habits of a math worksheet carry over. Most of them are typed the same way.

Definitions and results

:= defines, = shows a value, → evaluates symbolically, ≡ defines globally. The page is read top to bottom, left to right.

Units in every value

Type 12*kN, and the result converts to the unit you write after it. Wrong dimensions are reported, with the units in cause.

Solve blocks

Guess values, constraints, then find, minerr, minimize, odesolve or pdesolve, in a frame on the page.

Indices and ranges

ORIGIN, last(v), literal subscripts typed with ., ranges i := 0..10 and element-wise definitions v[i] := i².

The same function names

About 200 built-in functions, named as you expect: mean, lookup, csort, linfit, genfit, readcsv, readexcel, dnorm, concat…

Sliders and animations

Sliders, lists and check boxes drive the definitions of the sheet; a slider plays as an animation. The printed page stays unchanged.

Different, on purpose

A few habits to change.

Each of these choices avoids a result that would be silently wrong, or makes the sheet easier to follow.

You are used toIn Symbolical
A range variable makes every expression that uses it iterate. A range is a vector, as in NumPy: f(i) is the vector of the values. Plots and element-wise definitions work as before.
v·v and v² give the dot product of a vector. Products and powers are strictly matrix operations: v·v is an error that suggests vᵀ·v, or the vectorize operator for element-wise products.
A programming toolbar: for, while, if, return. Loop blocks and function blocks, drawn as frames on the page. Each line inside stays an ordinary formula, with its units and displayed values.
The column operator M⟨j⟩ and submatrix. Open ranges and negative indices: M[.., j] is a column, v[k..] the end of a vector, and negative indices count back from the last element.
Labels to tell the variable m from the unit m. A warning on any definition that hides another one, such as m := 3, which hides the metre.
The Fourier transform in ω, e−iωt. The convention e−2πiνt, with ν in hertz. Both variables are written: fourier, t, ν.
fft requires 2m points. Any number of points, with optional zero padding: fft(v, n).
TOL and CTOL defined in the sheet. Tolerances are settings of the document and of each solve block.

What you gain

Beyond a free licence.

Free and open source

Mathcad Prime is sold by subscription and runs on Windows only; its free edition is limited. SMath Studio is free of charge, but its code is closed. Symbolical is free software under the GNU GPL-3.0: free of charge, open, and yours to study, change and share.

  • Linux, Windows and macOS (Apple silicon and Intel)
  • Worksheets in an open format: compressed JSON, readable in git
  • Algorithms of NumPy, SciPy and SymPy, published and documented

Integral equations

iesolve solves Fredholm and Volterra equations of the second kind, linear or not, on finite or infinite ranges. To our knowledge, neither tool has an equivalent.

Python next to the sheet

Call the functions of a Python file placed next to your worksheet, with the whole scientific Python ecosystem behind them.

Clearer errors

The faulty term is highlighted, regions that depend on it are marked, and an error in a loop names the iteration where it happened.

Named arguments

mean(M, axis = 0) gives the mean of each column; argmin and argmax give the index of the smallest or largest element.

Reproducible random numbers

Each region keeps its own random draws: recomputing or moving a region does not change them. A new seed is one keystroke away.

Units in the libraries

Probability laws keep the units of their parameters, FFTs keep those of the values, and you can define new base dimensions.

Not there yet

What you may miss.

Symbolical is young. Here is what it does not do today, so you can decide with all the facts.

  • 3D plots. Maps (colors and contour lines) are there; views in space are not.
  • Nested arrays and mixed-unit matrices. A matrix holds numbers of a single unit.
  • Error handling in programs. No on error or try, no early return.
  • Symbolic engine. SymPy covers the common cases (simplify, solve, series, transforms…), but is less complete than the engine of Mathcad on hard ones.
  • Speed of long loops. Formulas are interpreted: a heavy loop takes seconds. Compiled calculation is planned.
  • Export. PDF only; no Word export.
  • Page layout. Headers and footers are in progress; text regions cannot hold formulas.
  • Differential-algebraic systems. Not solved yet.

Something else you rely on? Tell us on GitLab.

Your worksheets

Bringing existing files along.

In development

Mathcad 15 worksheets (.xmcd)

An import is being written: formulas, programs, texts and plots are translated into a Symbolical worksheet, ready to be checked and completed. It will come with a next version.

Not readable

Mathcad 2000 to 14 (.mcd)

These files are encrypted. Save them as .xmcd from Mathcad 15 first.

Not yet

Mathcad Prime (.mcdx) and SMath Studio (.sm)

Not supported today. Data files move freely: Symbolical reads and writes CSV and Excel files.