Skip to content

Learn Tessero

From your first array to optimisation and Markov decision processes, a path for every level, plus a NumPy/SciPy → Tessero cheatsheet.

Start here

  • Install, pick a backend (FFI, native extension, or Laravel).
  • Getting started, create your first NDArray and run it.

Coming from NumPy or SciPy?

Tessero mirrors the NumPy and SciPy APIs and matches them exactly: full, verified parity against SciPy and the NumPy core, generated from recorded test runs rather than self-reported. The coverage & translation reference maps the functions you already know to their Tessero equivalents, your cheatsheet for porting Python code to PHP. Porting is safe: one C kernel drives both backends so results never diverge, and an independent BCMath oracle cross-checks the core math.

The guided path

Work through the user guide, roughly beginner → advanced:

  1. Arrays
  2. Indexing and slicing
  3. Maths, reductions, sorting
  4. Universal functions
  5. Linear algebra
  6. FFT
  7. Random numbers
  8. Statistics and special functions
  9. Sparse matrices
  10. Optimisation
  11. Linear programming
  12. Markov decision processes
  13. Input and output
  14. Memory-mapped arrays
  15. Laravel

Learn by example

Every snippet shows its expected output: browse the examples and the Laravel examples.

Go deeper

Community tutorials

Written a tutorial or recorded a video about Tessero? Add it to the showcase or get in touch, curated community learning resources will be featured here.