Returns the dimension of a vector or vector field, which can be 2, 3, or 4.
// Returns 3const dim = Chalkboard.vect.dimension(Chalkboard.vect.init(1, 2, 3)); Copy
// Returns 3const dim = Chalkboard.vect.dimension(Chalkboard.vect.init(1, 2, 3));
The vector or vector field
Returns the dimension of a vector or vector field, which can be 2, 3, or 4.
Example