Other Native Functions
In addition to the core function categories listed in this help guide (e.g. Arithmetic, Matrix, Trigonometry), CalcTree also supports a range of less commonly used but still powerful functions from the MathJS engine that powers all page calculations.
These include:
Algebraic functions (e.g.
simplify()
,derivative()
)Complex number functions (e.g.
re(x)
,im(x)
,conj(x)
)Geometry functions (e.g.
distance()
,intersect()
)Set operations (e.g.
setUnion()
,setIntersect()
)Signal processing (e.g.
freqz()
,zpk2tf()
)Special math functions (e.g.
erf()
,zeta()
)
These functions are available within CalcTree’s MathJS-based expression engine, but have not been explicitly tested or verified in our environment. You may encounter unexpected behavior or partial support in some cases.
Using These Functions
You can use them just like any other native function. For example:
re(3 + 4i) // → 3
setUnion([1, 2], [2, 3]) // → [1, 2, 3]
Full Function Reference
For a complete list of available functions, see the MathJS function reference. Nearly all functions listed there are available in CalcTree unless noted otherwise in this guide.
Last updated