# [−][src]Crate quick_maths

## Re-exports

 `pub use autodiff::Var;`

## Modules

 autodiff Auto-differentiation module mat Matrix definitions num Convenience re-export of num-traits quat Quaternion definitions ray Simple Ray definitions transform Invertible transforms based on http://www.pbr-book.org/3ed-2018/Geometry_and_Transformations/Transformations.html vec Vector definitions

## Structs

 Array Analog to numpy arrays, fully dynamic dimensions DynTensor A Tensor which only specifies the number of dimensions Matrix A matrix, where each vector represents a column Ray Transform Transform type which represents an easily invertible operator. i.e. rotation in 3D, translation, etc. Vector Vector over floats and a const-size. Often used through Vec2, Vec3, and Vec4 instead of the raw struct.

## Traits

 Float A trait which is both a float and debug. One Defines a multiplicative identity element for `Self`. Zero Defines an additive identity element for `Self`.

## Type Definitions

 DefaultFloat No autodifferentiation is tracked. Mat2 2x2 Matrix Mat3 3x3 Matrix Mat4 4x4 Matrix Ray3 3D ray with default float type. ScalarFloat Default Scalar float is f32 Transform3 2D transformation, where 3 represents the dimension of the matrix used. Transform4 3D transformation, where 4 represents the dimension of the matrix used. Vec2 2D vector with default float type (f32). Vec3 3D vector with default float type (f32). Vec4 4D vector with default float type (f32). Often implicitly created by Vec3::homogeneous.