Stdlib family math

This family page is the encyclopedia entry for one stdlib area. It explains why the family exists, what responsibility belongs here, and which files make up the surface.

Overview

FieldValue
Familymath
Module count21
PurposeArithmetic, algebra, comparison, calculus, geometry, modular arithmetic, number theory, probability, statistics, matrix, and vector helpers.

Architecture role

Use `math` when the transformation itself is the feature. This family exists so algorithmic intent stays visible and testable.

Main responsibilities

  • Own numeric and symbolic transformations beyond one-off helpers.
  • Group mathematical domains into explicit submodules.
  • Let readers see what kind of computation a program is performing.

Real usage story

  • A scoring engine can compute aggregates in `math` while keeping I/O and transport elsewhere.
  • A statistics or matrix chapter should explain the workflow around the computation, not just a single formula.

Module inventory