Skip to content
You must be logged in to sponsor ron2015schmitt

Become a sponsor to R.F. Schmitt

Mathématiques is a numerical library for performing linear algebra, calculus, vector calculus, etc in C++ via simple MATLAB-like syntax while also providing run-time performance and memory usage of hand-coded C or Fortran.

Mathématiques distinguishes itself from other libraries by an elegance and versatility that are only possible using the features of C++11,14, and 17.

V3.0 the first official release
Arbitrary rank tenor arrays (Scalar, Vector, Matrix, etc)
Each tensor type can have tensor as datatype, eg

Vector<Vector>, which can be used to represent a vector-valued function on a mesh.
can have fixed (uses array) or variable dimensions (uses valarray)
fixed array size is ideal for small vectors, eg 2D or 3D vector
Elemental math functions (sin, cos, exp, etc)
Special functions such as Bessek functions (C++17).
"boiler plate" code is created using Python scripts
Calculus (derivatives and integrals)
Taylor series
Fourier Series
Simple Matlab-like syntax with no run-time cost
Pretty printing
237 unit tests (so far), with a very clear and elegant output.
Python unit test generation in progress
Imaginary number template class that dovetails with the fundamental (rwal) types D and with std::complex
relational operators and boolean masks
mixed-type math with automatic type promotion, eg can add a vector of type int with a vector of type std::complex and the output will be a vector of type std::complex
vector/scalar math, eg add a scalar value to every element of a vector or matrix.

Featured work

  1. ron2015schmitt/Mathematiques-old

    Mathématiques: elegant, fast, and extensive numerical library for C++

    C++ 1

Select a tier

$ a month

A Public Sponsor achievement will be added to your profile.