9.3. Functions

The Cherab function framework is built on the core Raysect 1D, 2D and 3D function framework. For more details on the base functionality refer to the Raysect documentation and the Cherab function tutorials.

Cherab previously provided vector functions which were not present in Raysect. New codes should prefer the Raysect vector functions, but the old aliases are preserved for backwards compatibility.

9.3.1. 2D Vector Functions

cherab.core.math.function.VectorFunction2D

alias of Function2D

cherab.core.math.function.ScalarToVectorFunction2D

alias of FloatToVector3DFunction2D

9.3.2. 3D Vector Functions

cherab.core.math.function.VectorFunction3D

alias of Function3D

cherab.core.math.function.ScalarToVectorFunction3D

alias of FloatToVector3DFunction3D