Expand description
[Reexported at the root of this crate.] Data structures for vector and matrix computations.
Re-exports§
pub use self::default_allocator::*;
pub use self::dimension::*;
pub use self::storage::*;
Modules§
- Abstract definition of a matrix data storage allocator.
- Compatibility constraints between matrix shapes, e.g., for addition or multiplication.
- Structures to which matrices and vector can be auto-dereferenced (through
Deref
) to access components using their names. For example, ifv
is a 3D vector, one can writev.z
instead ofv[2]
. - The default matrix data storage allocator.
- Traits and tags for identifying the dimension of all algebraic entities.
- Indexing
- Matrix iterators.
- Abstract definition of a matrix data storage.
- Mechanisms for working with values that may not be initialized.
Structs§
- An array-based statically sized matrix data storage.
- Euclidean norm.
- Lp norm.
- The most generic column-major matrix (and vector) type.
- L-infinite norm aka. Chebytchev norm aka. uniform norm aka. suppremum norm.
- A wrapper that ensures the underlying algebraic entity has a unit norm.
- A Vec-based matrix data storage. It may be dynamically-sized.
- A matrix data storage for a matrix view. Only contains an internal reference to another matrix data storage.
- A mutable matrix data storage for mutable matrix view. Only contains an internal mutable reference to another matrix data storage.
Traits§
- A range with a size that may be known at compile-time.
- A trait for abstract matrix norms.
- Trait implemented by entities scan be be normalized and put in an
Unit
struct. - The basic scalar type for all structures of
nalgebra
. - SliceRangeDeprecatedA range with a size that may be known at compile-time.
Type Aliases§
- A dynamically sized column-major matrix.
- DMatrixSliceDeprecatedA column-major matrix slice dynamic numbers of rows and columns.
- DMatrixSliceMutDeprecatedA column-major matrix slice dynamic numbers of rows and columns.
- An immutable column-major matrix view dynamic numbers of rows and columns.
- A mutable column-major matrix view dynamic numbers of rows and columns.
- A dynamically sized column vector.
- DVectorSliceDeprecatedA column vector slice dynamic numbers of rows and columns.
- DVectorSliceMutDeprecatedA column vector slice dynamic numbers of rows and columns.
- An immutable column vector view dynamic numbers of rows and columns.
- A mutable column vector view dynamic numbers of rows and columns.
- A stack-allocated, column-major, 1x1 square matrix.
- A stack-allocated, column-major, 1x2 matrix.
- A stack-allocated, column-major, 1x3 matrix.
- A stack-allocated, column-major, 1x4 matrix.
- A stack-allocated, column-major, 1x5 matrix.
- A stack-allocated, column-major, 1x6 matrix.
- A heap-allocated, column-major, matrix with 1 rows and a dynamic number of columns.
- A stack-allocated, column-major, 2x2 square matrix.
- A stack-allocated, column-major, 2x1 matrix.
- A stack-allocated, column-major, 2x3 matrix.
- A stack-allocated, column-major, 2x4 matrix.
- A stack-allocated, column-major, 2x5 matrix.
- A stack-allocated, column-major, 2x6 matrix.
- A heap-allocated, column-major, matrix with 2 rows and a dynamic number of columns.
- A stack-allocated, column-major, 3x3 square matrix.
- A stack-allocated, column-major, 3x1 matrix.
- A stack-allocated, column-major, 3x2 matrix.
- A stack-allocated, column-major, 3x4 matrix.
- A stack-allocated, column-major, 3x5 matrix.
- A stack-allocated, column-major, 3x6 matrix.
- A heap-allocated, column-major, matrix with 3 rows and a dynamic number of columns.
- A stack-allocated, column-major, 4x4 square matrix.
- A stack-allocated, column-major, 4x1 matrix.
- A stack-allocated, column-major, 4x2 matrix.
- A stack-allocated, column-major, 4x3 matrix.
- A stack-allocated, column-major, 4x5 matrix.
- A stack-allocated, column-major, 4x6 matrix.
- A heap-allocated, column-major, matrix with 4 rows and a dynamic number of columns.
- A stack-allocated, column-major, 5x5 square matrix.
- A stack-allocated, column-major, 5x1 matrix.
- A stack-allocated, column-major, 5x2 matrix.
- A stack-allocated, column-major, 5x3 matrix.
- A stack-allocated, column-major, 5x4 matrix.
- A stack-allocated, column-major, 5x6 matrix.
- A heap-allocated, column-major, matrix with 5 rows and a dynamic number of columns.
- A stack-allocated, column-major, 6x6 square matrix.
- A stack-allocated, column-major, 6x1 matrix.
- A stack-allocated, column-major, 6x2 matrix.
- A stack-allocated, column-major, 6x3 matrix.
- A stack-allocated, column-major, 6x4 matrix.
- A stack-allocated, column-major, 6x5 matrix.
- A heap-allocated, column-major, matrix with 6 rows and a dynamic number of columns.
- The type of the result of a matrix cross product.
- MatrixMNDeprecatedAn owned matrix column-major matrix with
R
rows andC
columns. - MatrixNDeprecatedAn owned matrix column-major matrix with
D
columns. - MatrixSliceDeprecatedA matrix slice.
- MatrixSlice1DeprecatedA column-major 1x1 matrix slice.
- MatrixSlice1x2DeprecatedA column-major 1x2 matrix slice.
- MatrixSlice1x3DeprecatedA column-major 1x3 matrix slice.
- MatrixSlice1x4DeprecatedA column-major 1x4 matrix slice.
- MatrixSlice1x5DeprecatedA column-major 1x5 matrix slice.
- MatrixSlice1x6DeprecatedA column-major 1x6 matrix slice.
- MatrixSlice1xXDeprecatedA column-major matrix slice with 1 row and a number of columns chosen at runtime.
- MatrixSlice2DeprecatedA column-major 2x2 matrix slice.
- MatrixSlice2x1DeprecatedA column-major 2x1 matrix slice.
- MatrixSlice2x3DeprecatedA column-major 2x3 matrix slice.
- MatrixSlice2x4DeprecatedA column-major 2x4 matrix slice.
- MatrixSlice2x5DeprecatedA column-major 2x5 matrix slice.
- MatrixSlice2x6DeprecatedA column-major 2x6 matrix slice.
- MatrixSlice2xXDeprecatedA column-major matrix slice with 2 rows and a number of columns chosen at runtime.
- MatrixSlice3DeprecatedA column-major 3x3 matrix slice.
- MatrixSlice3x1DeprecatedA column-major 3x1 matrix slice.
- MatrixSlice3x2DeprecatedA column-major 3x2 matrix slice.
- MatrixSlice3x4DeprecatedA column-major 3x4 matrix slice.
- MatrixSlice3x5DeprecatedA column-major 3x5 matrix slice.
- MatrixSlice3x6DeprecatedA column-major 3x6 matrix slice.
- MatrixSlice3xXDeprecatedA column-major matrix slice with 3 rows and a number of columns chosen at runtime.
- MatrixSlice4DeprecatedA column-major 4x4 matrix slice.
- MatrixSlice4x1DeprecatedA column-major 4x1 matrix slice.
- MatrixSlice4x2DeprecatedA column-major 4x2 matrix slice.
- MatrixSlice4x3DeprecatedA column-major 4x3 matrix slice.
- MatrixSlice4x5DeprecatedA column-major 4x5 matrix slice.
- MatrixSlice4x6DeprecatedA column-major 4x6 matrix slice.
- MatrixSlice4xXDeprecatedA column-major matrix slice with 4 rows and a number of columns chosen at runtime.
- MatrixSlice5DeprecatedA column-major 5x5 matrix slice.
- MatrixSlice5x1DeprecatedA column-major 5x1 matrix slice.
- MatrixSlice5x2DeprecatedA column-major 5x2 matrix slice.
- MatrixSlice5x3DeprecatedA column-major 5x3 matrix slice.
- MatrixSlice5x4DeprecatedA column-major 5x4 matrix slice.
- MatrixSlice5x6DeprecatedA column-major 5x6 matrix slice.
- MatrixSlice5xXDeprecatedA column-major matrix slice with 5 rows and a number of columns chosen at runtime.
- MatrixSlice6DeprecatedA column-major 6x6 matrix slice.
- MatrixSlice6x1DeprecatedA column-major 6x1 matrix slice.
- MatrixSlice6x2DeprecatedA column-major 6x2 matrix slice.
- MatrixSlice6x3DeprecatedA column-major 6x3 matrix slice.
- MatrixSlice6x4DeprecatedA column-major 6x4 matrix slice.
- MatrixSlice6x5DeprecatedA column-major 6x5 matrix slice.
- MatrixSlice6xXDeprecatedA column-major matrix slice with 6 rows and a number of columns chosen at runtime.
- MatrixSliceMutDeprecatedA mutable matrix slice.
- MatrixSliceMut1DeprecatedA column-major 1x1 matrix slice.
- MatrixSliceMut1x2DeprecatedA column-major 1x2 matrix slice.
- MatrixSliceMut1x3DeprecatedA column-major 1x3 matrix slice.
- MatrixSliceMut1x4DeprecatedA column-major 1x4 matrix slice.
- MatrixSliceMut1x5DeprecatedA column-major 1x5 matrix slice.
- MatrixSliceMut1x6DeprecatedA column-major 1x6 matrix slice.
- MatrixSliceMut1xXDeprecatedA column-major matrix slice with 1 row and a number of columns chosen at runtime.
- MatrixSliceMut2DeprecatedA column-major 2x2 matrix slice.
- MatrixSliceMut2x1DeprecatedA column-major 2x1 matrix slice.
- MatrixSliceMut2x3DeprecatedA column-major 2x3 matrix slice.
- MatrixSliceMut2x4DeprecatedA column-major 2x4 matrix slice.
- MatrixSliceMut2x5DeprecatedA column-major 2x5 matrix slice.
- MatrixSliceMut2x6DeprecatedA column-major 2x6 matrix slice.
- MatrixSliceMut2xXDeprecatedA column-major matrix slice with 2 rows and a number of columns chosen at runtime.
- MatrixSliceMut3DeprecatedA column-major 3x3 matrix slice.
- MatrixSliceMut3x1DeprecatedA column-major 3x1 matrix slice.
- MatrixSliceMut3x2DeprecatedA column-major 3x2 matrix slice.
- MatrixSliceMut3x4DeprecatedA column-major 3x4 matrix slice.
- MatrixSliceMut3x5DeprecatedA column-major 3x5 matrix slice.
- MatrixSliceMut3x6DeprecatedA column-major 3x6 matrix slice.
- MatrixSliceMut3xXDeprecatedA column-major matrix slice with 3 rows and a number of columns chosen at runtime.
- MatrixSliceMut4DeprecatedA column-major 4x4 matrix slice.
- MatrixSliceMut4x1DeprecatedA column-major 4x1 matrix slice.
- MatrixSliceMut4x2DeprecatedA column-major 4x2 matrix slice.
- MatrixSliceMut4x3DeprecatedA column-major 4x3 matrix slice.
- MatrixSliceMut4x5DeprecatedA column-major 4x5 matrix slice.
- MatrixSliceMut4x6DeprecatedA column-major 4x6 matrix slice.
- MatrixSliceMut4xXDeprecatedA column-major matrix slice with 4 rows and a number of columns chosen at runtime.
- MatrixSliceMut5DeprecatedA column-major 5x5 matrix slice.
- MatrixSliceMut5x1DeprecatedA column-major 5x1 matrix slice.
- MatrixSliceMut5x2DeprecatedA column-major 5x2 matrix slice.
- MatrixSliceMut5x3DeprecatedA column-major 5x3 matrix slice.
- MatrixSliceMut5x4DeprecatedA column-major 5x4 matrix slice.
- MatrixSliceMut5x6DeprecatedA column-major 5x6 matrix slice.
- MatrixSliceMut5xXDeprecatedA column-major matrix slice with 5 rows and a number of columns chosen at runtime.
- MatrixSliceMut6DeprecatedA column-major 6x6 matrix slice.
- MatrixSliceMut6x1DeprecatedA column-major 6x1 matrix slice.
- MatrixSliceMut6x2DeprecatedA column-major 6x2 matrix slice.
- MatrixSliceMut6x3DeprecatedA column-major 6x3 matrix slice.
- MatrixSliceMut6x4DeprecatedA column-major 6x4 matrix slice.
- MatrixSliceMut6x5DeprecatedA column-major 6x5 matrix slice.
- MatrixSliceMut6xXDeprecatedA column-major matrix slice with 6 rows and a number of columns chosen at runtime.
- MatrixSliceMutMNDeprecatedA column-major matrix slice with
R
rows andC
columns. - MatrixSliceMutNDeprecatedA column-major matrix slice with
D
rows and columns. - MatrixSliceMutXx1DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 1 column.
- MatrixSliceMutXx2DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 2 columns.
- MatrixSliceMutXx3DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 3 columns.
- MatrixSliceMutXx4DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 4 columns.
- MatrixSliceMutXx5DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 5 columns.
- MatrixSliceMutXx6DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 6 columns.
- MatrixSliceXx1DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 1 column.
- MatrixSliceXx2DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 2 columns.
- MatrixSliceXx3DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 3 columns.
- MatrixSliceXx4DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 4 columns.
- MatrixSliceXx5DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 5 columns.
- MatrixSliceXx6DeprecatedA column-major matrix slice with a number of rows chosen at runtime and 6 columns.
- The type of the result of a matrix sum.
- MatrixVecDeprecatedRenamed to
VecStorage
. - A matrix view.
- An immutable column-major 1x1 matrix view.
- An immutable column-major 1x2 matrix view.
- An immutable column-major 1x3 matrix view.
- An immutable column-major 1x4 matrix view.
- An immutable column-major 1x5 matrix view.
- An immutable column-major 1x6 matrix view.
- An immutable column-major matrix view with 1 row and a number of columns chosen at runtime.
- An immutable column-major 2x2 matrix view.
- An immutable column-major 2x1 matrix view.
- An immutable column-major 2x3 matrix view.
- An immutable column-major 2x4 matrix view.
- An immutable column-major 2x5 matrix view.
- An immutable column-major 2x6 matrix view.
- An immutable column-major matrix view with 2 rows and a number of columns chosen at runtime.
- An immutable column-major 3x3 matrix view.
- An immutable column-major 3x1 matrix view.
- An immutable column-major 3x2 matrix view.
- An immutable column-major 3x4 matrix view.
- An immutable column-major 3x5 matrix view.
- An immutable column-major 3x6 matrix view.
- An immutable column-major matrix view with 3 rows and a number of columns chosen at runtime.
- An immutable column-major 4x4 matrix view.
- An immutable column-major 4x1 matrix view.
- An immutable column-major 4x2 matrix view.
- An immutable column-major 4x3 matrix view.
- An immutable column-major 4x5 matrix view.
- An immutable column-major 4x6 matrix view.
- An immutable column-major matrix view with 4 rows and a number of columns chosen at runtime.
- An immutable column-major 5x5 matrix view.
- An immutable column-major 5x1 matrix view.
- An immutable column-major 5x2 matrix view.
- An immutable column-major 5x3 matrix view.
- An immutable column-major 5x4 matrix view.
- An immutable column-major 5x6 matrix view.
- An immutable column-major matrix view with 5 rows and a number of columns chosen at runtime.
- An immutable column-major 6x6 matrix view.
- An immutable column-major 6x1 matrix view.
- An immutable column-major 6x2 matrix view.
- An immutable column-major 6x3 matrix view.
- An immutable column-major 6x4 matrix view.
- An immutable column-major 6x5 matrix view.
- An immutable column-major matrix view with 6 rows and a number of columns chosen at runtime.
- A mutable matrix view.
- A mutable column-major 1x1 matrix view.
- A mutable column-major 1x2 matrix view.
- A mutable column-major 1x3 matrix view.
- A mutable column-major 1x4 matrix view.
- A mutable column-major 1x5 matrix view.
- A mutable column-major 1x6 matrix view.
- A mutable column-major matrix view with 1 row and a number of columns chosen at runtime.
- A mutable column-major 2x2 matrix view.
- A mutable column-major 2x1 matrix view.
- A mutable column-major 2x3 matrix view.
- A mutable column-major 2x4 matrix view.
- A mutable column-major 2x5 matrix view.
- A mutable column-major 2x6 matrix view.
- A mutable column-major matrix view with 2 rows and a number of columns chosen at runtime.
- A mutable column-major 3x3 matrix view.
- A mutable column-major 3x1 matrix view.
- A mutable column-major 3x2 matrix view.
- A mutable column-major 3x4 matrix view.
- A mutable column-major 3x5 matrix view.
- A mutable column-major 3x6 matrix view.
- A mutable column-major matrix view with 3 rows and a number of columns chosen at runtime.
- A mutable column-major 4x4 matrix view.
- A mutable column-major 4x1 matrix view.
- A mutable column-major 4x2 matrix view.
- A mutable column-major 4x3 matrix view.
- A mutable column-major 4x5 matrix view.
- A mutable column-major 4x6 matrix view.
- A mutable column-major matrix view with 4 rows and a number of columns chosen at runtime.
- A mutable column-major 5x5 matrix view.
- A mutable column-major 5x1 matrix view.
- A mutable column-major 5x2 matrix view.
- A mutable column-major 5x3 matrix view.
- A mutable column-major 5x4 matrix view.
- A mutable column-major 5x6 matrix view.
- A mutable column-major matrix view with 5 rows and a number of columns chosen at runtime.
- A mutable column-major 6x6 matrix view.
- A mutable column-major 6x1 matrix view.
- A mutable column-major 6x2 matrix view.
- A mutable column-major 6x3 matrix view.
- A mutable column-major 6x4 matrix view.
- A mutable column-major 6x5 matrix view.
- A mutable column-major matrix view with 6 rows and a number of columns chosen at runtime.
- A mutable column-major matrix view with a number of rows chosen at runtime and 1 column.
- A mutable column-major matrix view with a number of rows chosen at runtime and 2 columns.
- A mutable column-major matrix view with a number of rows chosen at runtime and 3 columns.
- A mutable column-major matrix view with a number of rows chosen at runtime and 4 columns.
- A mutable column-major matrix view with a number of rows chosen at runtime and 5 columns.
- A mutable column-major matrix view with a number of rows chosen at runtime and 6 columns.
- An immutable column-major matrix view with a number of rows chosen at runtime and 1 column.
- An immutable column-major matrix view with a number of rows chosen at runtime and 2 columns.
- An immutable column-major matrix view with a number of rows chosen at runtime and 3 columns.
- An immutable column-major matrix view with a number of rows chosen at runtime and 4 columns.
- An immutable column-major matrix view with a number of rows chosen at runtime and 5 columns.
- An immutable column-major matrix view with a number of rows chosen at runtime and 6 columns.
- A heap-allocated, column-major, matrix with a dynamic number of rows and 1 columns.
- A heap-allocated, column-major, matrix with a dynamic number of rows and 2 columns.
- A heap-allocated, column-major, matrix with a dynamic number of rows and 3 columns.
- A heap-allocated, column-major, matrix with a dynamic number of rows and 4 columns.
- A heap-allocated, column-major, matrix with a dynamic number of rows and 5 columns.
- A heap-allocated, column-major, matrix with a dynamic number of rows and 6 columns.
- An owned matrix column-major matrix with
R
rows andC
columns. - An owned D-dimensional column vector.
- A dynamically sized row vector.
- An owned D-dimensional row vector.
- A statically sized D-dimensional row vector.
- A matrix with one row and
D
columns . - A stack-allocated, 1-dimensional row vector.
- A stack-allocated, 2-dimensional row vector.
- A stack-allocated, 3-dimensional row vector.
- A stack-allocated, 4-dimensional row vector.
- A stack-allocated, 5-dimensional row vector.
- A stack-allocated, 6-dimensional row vector.
- A statically sized column-major matrix with
R
rows andC
columns. - SMatrixSliceDeprecatedA column-major matrix slice with dimensions known at compile-time.
- SMatrixSliceMutDeprecatedA column-major matrix slice with dimensions known at compile-time.
- An immutable column-major matrix view with dimensions known at compile-time.
- A mutable column-major matrix view with dimensions known at compile-time.
- A statically sized D-dimensional column vector.
- SVectorSliceDeprecatedA column vector slice with dimensions known at compile-time.
- SVectorSliceMutDeprecatedA column vector slice with dimensions known at compile-time.
- An immutable column vector view with dimensions known at compile-time.
- A mutable column vector view with dimensions known at compile-time.
- SliceStorageDeprecatedA matrix data storage for a matrix view. Only contains an internal reference to another matrix data storage.
- SliceStorageMutDeprecatedA mutable matrix data storage for mutable matrix view. Only contains an internal mutable reference to another matrix data storage.
- A square matrix.
- An owned matrix with uninitialized data.
- An owned matrix with uninitialized data.
- A stack-allocated, 1-dimensional unit vector.
- A stack-allocated, 2-dimensional unit vector.
- A stack-allocated, 3-dimensional unit vector.
- A stack-allocated, 4-dimensional unit vector.
- A stack-allocated, 5-dimensional unit vector.
- A stack-allocated, 6-dimensional unit vector.
- A matrix with one column and
D
rows. - A stack-allocated, 1-dimensional column vector.
- A stack-allocated, 2-dimensional column vector.
- A stack-allocated, 3-dimensional column vector.
- A stack-allocated, 4-dimensional column vector.
- A stack-allocated, 5-dimensional column vector.
- A stack-allocated, 6-dimensional column vector.
- VectorNDeprecatedAn owned matrix column-major matrix with
R
rows andC
columns. - VectorSliceDeprecatedA column vector slice with dimensions known at compile-time.
- VectorSlice1DeprecatedA 1D column vector slice.
- VectorSlice2DeprecatedA 2D column vector slice.
- VectorSlice3DeprecatedA 3D column vector slice.
- VectorSlice4DeprecatedA 4D column vector slice.
- VectorSlice5DeprecatedA 5D column vector slice.
- VectorSlice6DeprecatedA 6D column vector slice.
- VectorSliceMutDeprecatedA column vector slice with dimensions known at compile-time.
- VectorSliceMut1DeprecatedA 1D column vector slice.
- VectorSliceMut2DeprecatedA 2D column vector slice.
- VectorSliceMut3DeprecatedA 3D column vector slice.
- VectorSliceMut4DeprecatedA 4D column vector slice.
- VectorSliceMut5DeprecatedA 5D column vector slice.
- VectorSliceMut6DeprecatedA 6D column vector slice.
- The type of the result of a matrix sum.
- An immutable column vector view with dimensions known at compile-time.
- An immutable 1D column vector view.
- An immutable 2D column vector view.
- An immutable 3D column vector view.
- An immutable 4D column vector view.
- An immutable 5D column vector view.
- An immutable 6D column vector view.
- A mutable column vector view with dimensions known at compile-time.
- A mutable 1D column vector view.
- A mutable 2D column vector view.
- A mutable 3D column vector view.
- A mutable 4D column vector view.
- A mutable 5D column vector view.
- A mutable 6D column vector view.