forked from M-Labs/nalgebra
6ad11edf9b
This allows the implementation of householder reflection without relying on knowledge of DVec. This required a new member in the Indexable trait: the shape() function, which returns the maximum index available.
18 lines
840 B
Rust
18 lines
840 B
Rust
//! Mathematical traits.
|
|
|
|
pub use self::geometry::{AbsoluteRotate, Cross, CrossMatrix, Dot, FromHomogeneous, Norm, Rotate,
|
|
Rotation, RotationMatrix, RotationWithTranslation, ToHomogeneous,
|
|
Transform, Transformation, Translate, Translation, UniformSphereSample};
|
|
|
|
pub use self::structure::{FloatVec, FloatVecExt, Basis, Cast, Col, Dim, Indexable,
|
|
Iterable, IterableMut, Mat, Row, AnyVec, VecExt,
|
|
ColSlice, RowSlice, Eye};
|
|
|
|
pub use self::operations::{Absolute, ApproxEq, Cov, Inv, LMul, Mean, Outer, PartialOrd, RMul,
|
|
ScalarAdd, ScalarSub, Transpose};
|
|
pub use self::operations::{PartialOrdering, PartialLess, PartialEqual, PartialGreater, NotComparable};
|
|
|
|
pub mod geometry;
|
|
pub mod structure;
|
|
pub mod operations;
|