Main
Vectors
Matrix
Matrix Manipulation
Transformation Matrices
Angles
Random
Bezier Curve
Equations
Path Movement
Color
Linear Interpolation
Derivatives
Collision Detection
Animation
Circle And Ellipse
Sequence
Combinatorics
Other

Series

import { naturalNumbersSum1ToN } from 'mz-math';

// 1 + 2 + 3
const sum = naturalNumbersSum1ToN(3); // 6;
import { naturalNumbersSumMToN } from 'mz-math';

// 5 + 6 + 7
const sum = naturalNumbersSumMToN(5, 7); // 18