Crate lin_alg

Source
Expand description

Vector, matrix, and quaternion data structures and operations.

Module for matrices, vectors, and quaternions, as used in 3D graphics, geometry, robitics, and spacial embedded systems. Similar to the cgmath and glam crates, but with a more transparent API. This elegant lib may also be used as a reference for quaternion operations.

Quaternion operations use the Hamilton (vice JPL) convention.

Modules§

Structs§

Functions§

  • Create a set of values in a given range, with a given number of values. Similar to numpy.linspace. The result terminates one step before the end of the range.
  • Linearly map an input value to an output.