mzMath
Documentation
mzMath on GitHub
Main
Typescript Usage
Browser Usage
Node.js Usage
Vectors
Vectors
Vectors Sum
Vectors Subtraction
Multiply by Scalar
Divide by Scalar
Vector Length
Normalized (Unit) Vector
Dot Product
Cross Product
Distance Between Vectors
Vector Initialization
Vectors Equality
Get Normal
Matrix
Matrix
Matrix Sum
Matrix Subtraction
Multiply By Scalar
Divide By Scalar
Matrix Transposition
Matrix Multiplication
Multiply Matrix By Vector
Matrix Determinant
Inverse Matrix
Matrix Singularity
Adjugate Matrix
Get Matrix Minor
Matrix Manipulation
Matrix Initialization
Matrix Equality
Matrix Deep Copy
Append Or Prepend Row
Append Or Prepend Column
Remove Row Or Column
Get Column
Reset Matrix
Transformation Matrices
Translation Matrix
Rotation Matrix
Rotate Around Point
Scale And Stretch Matrix
Scale Around Point
Reflection Matrix
Shearing Matrix
Matrix To Css Transform
Angles
Vector Angle
Angle Between Vectors
Degrees And Radians
Angles Distance
Is Angle Between
Is Clockwise
Percent To Angle
Random
Get Random Number In Range
Get Random Integer
Get Random Boolean
Get Random Item From Array
Random Id Or Guid
Bezier Curve
Get Point On Quadratic Bezier Curve
Get Point On Cubic Bezier Curve
Tangent
Normal
Extrema
Bounding Box
Equations
Linear Equation
System Of Linear Equations
Quadratic Equation
Get Linear Equation By 2 Points
Path Movement
Circle Movement
Ellipse Movement
Sine Wave Movement
Lissajous Curve
Color
Color
Random Color
Convert Colors
Shift Colors
Similar Colors
Linear Interpolation
Lerp
General Case
Derivatives
Polynomial
Trigonometric Functions
Bezier Curves
Collision Detection
Rectangles Collision
Circles Collision
Convex Polygons Collision
Animation
Animation
Get Animation Data
Circle And Ellipse
Circumference
Is Angle In Circle Arc
Sequence
Natural Numbers Sequence Sum
Arithmetic Sequence Sum
Combinatorics
Factorial
Combinatorics
Other
Set Decimal Places
Convert String To Number
Square In Circle
Modulo
Convert Range
Check If Ranges Overlap
Check If Value Is Number
Polar To Cartesian
Temperature Conversion
Series
Greatest Common Divisor
Natural Numbers Sequence Sum
import
{ arithmeticSequenceSum }
from
'mz-math'
;
const
sum =
arithmeticSequenceSum
(
5
);
// 15
Previous
Is Angle In Circle Arc
Next
Arithmetic Sequence Sum