Embody


LinearAlgebra Module

Types and nested modules

Type/Module Description

Vector3

A module which implements vector operations.

NumericalVector3<'u>

Data structure that represents a 3D vector. Consider instantiating a vector using a helper function `vector3`.

Functions and values

Function or value Description

vector3 x y z

Full Usage: vector3 x y z

Parameters:
Returns: NumericalVector3<'u>
Modifiers: inline
Type parameters: 'u

Construct an actual 3D vector. A shorthand function.

x : float<'u>
y : float<'u>
z : float<'u>
Returns: NumericalVector3<'u>