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 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
. - Slice
Range Deprecated A range with a size that may be known at compile-time.
Type Aliases§
- DMatrix
Slice Deprecated A column-major matrix slice dynamic numbers of rows and columns. - DMatrix
Slice Mut Deprecated A 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.
- DVector
Slice Deprecated A column vector slice dynamic numbers of rows and columns. - DVector
Slice Mut Deprecated A 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, 2x2 square matrix.
- A stack-allocated, column-major, 3x3 square matrix.
- A stack-allocated, column-major, 4x4 square matrix.
- A stack-allocated, column-major, 5x5 square matrix.
- A stack-allocated, column-major, 6x6 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 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 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 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 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 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.
- The type of the result of a matrix cross product.
- MatrixMN
Deprecated An owned matrix column-major matrix withR
rows andC
columns. - MatrixN
Deprecated An owned matrix column-major matrix withD
columns. - Matrix
Slice Deprecated A matrix slice. - Matrix
Slice1 Deprecated A column-major 1x1 matrix slice. - Matrix
Slice2 Deprecated A column-major 2x2 matrix slice. - Matrix
Slice3 Deprecated A column-major 3x3 matrix slice. - Matrix
Slice4 Deprecated A column-major 4x4 matrix slice. - Matrix
Slice5 Deprecated A column-major 5x5 matrix slice. - Matrix
Slice6 Deprecated A column-major 6x6 matrix slice. - Matrix
Slice1x2 Deprecated A column-major 1x2 matrix slice. - Matrix
Slice1x3 Deprecated A column-major 1x3 matrix slice. - Matrix
Slice1x4 Deprecated A column-major 1x4 matrix slice. - Matrix
Slice1x5 Deprecated A column-major 1x5 matrix slice. - Matrix
Slice1x6 Deprecated A column-major 1x6 matrix slice. - Matrix
Slice1xX Deprecated A column-major matrix slice with 1 row and a number of columns chosen at runtime. - Matrix
Slice2x1 Deprecated A column-major 2x1 matrix slice. - Matrix
Slice2x3 Deprecated A column-major 2x3 matrix slice. - Matrix
Slice2x4 Deprecated A column-major 2x4 matrix slice. - Matrix
Slice2x5 Deprecated A column-major 2x5 matrix slice. - Matrix
Slice2x6 Deprecated A column-major 2x6 matrix slice. - Matrix
Slice2xX Deprecated A column-major matrix slice with 2 rows and a number of columns chosen at runtime. - Matrix
Slice3x1 Deprecated A column-major 3x1 matrix slice. - Matrix
Slice3x2 Deprecated A column-major 3x2 matrix slice. - Matrix
Slice3x4 Deprecated A column-major 3x4 matrix slice. - Matrix
Slice3x5 Deprecated A column-major 3x5 matrix slice. - Matrix
Slice3x6 Deprecated A column-major 3x6 matrix slice. - Matrix
Slice3xX Deprecated A column-major matrix slice with 3 rows and a number of columns chosen at runtime. - Matrix
Slice4x1 Deprecated A column-major 4x1 matrix slice. - Matrix
Slice4x2 Deprecated A column-major 4x2 matrix slice. - Matrix
Slice4x3 Deprecated A column-major 4x3 matrix slice. - Matrix
Slice4x5 Deprecated A column-major 4x5 matrix slice. - Matrix
Slice4x6 Deprecated A column-major 4x6 matrix slice. - Matrix
Slice4xX Deprecated A column-major matrix slice with 4 rows and a number of columns chosen at runtime. - Matrix
Slice5x1 Deprecated A column-major 5x1 matrix slice. - Matrix
Slice5x2 Deprecated A column-major 5x2 matrix slice. - Matrix
Slice5x3 Deprecated A column-major 5x3 matrix slice. - Matrix
Slice5x4 Deprecated A column-major 5x4 matrix slice. - Matrix
Slice5x6 Deprecated A column-major 5x6 matrix slice. - Matrix
Slice5xX Deprecated A column-major matrix slice with 5 rows and a number of columns chosen at runtime. - Matrix
Slice6x1 Deprecated A column-major 6x1 matrix slice. - Matrix
Slice6x2 Deprecated A column-major 6x2 matrix slice. - Matrix
Slice6x3 Deprecated A column-major 6x3 matrix slice. - Matrix
Slice6x4 Deprecated A column-major 6x4 matrix slice. - Matrix
Slice6x5 Deprecated A column-major 6x5 matrix slice. - Matrix
Slice6xX Deprecated A column-major matrix slice with 6 rows and a number of columns chosen at runtime. - Matrix
Slice Mut Deprecated A mutable matrix slice. - Matrix
Slice Mut1 Deprecated A column-major 1x1 matrix slice. - Matrix
Slice Mut2 Deprecated A column-major 2x2 matrix slice. - Matrix
Slice Mut3 Deprecated A column-major 3x3 matrix slice. - Matrix
Slice Mut4 Deprecated A column-major 4x4 matrix slice. - Matrix
Slice Mut5 Deprecated A column-major 5x5 matrix slice. - Matrix
Slice Mut6 Deprecated A column-major 6x6 matrix slice. - Matrix
Slice Mut1x2 Deprecated A column-major 1x2 matrix slice. - Matrix
Slice Mut1x3 Deprecated A column-major 1x3 matrix slice. - Matrix
Slice Mut1x4 Deprecated A column-major 1x4 matrix slice. - Matrix
Slice Mut1x5 Deprecated A column-major 1x5 matrix slice. - Matrix
Slice Mut1x6 Deprecated A column-major 1x6 matrix slice. - Matrix
Slice Mut1xX Deprecated A column-major matrix slice with 1 row and a number of columns chosen at runtime. - Matrix
Slice Mut2x1 Deprecated A column-major 2x1 matrix slice. - Matrix
Slice Mut2x3 Deprecated A column-major 2x3 matrix slice. - Matrix
Slice Mut2x4 Deprecated A column-major 2x4 matrix slice. - Matrix
Slice Mut2x5 Deprecated A column-major 2x5 matrix slice. - Matrix
Slice Mut2x6 Deprecated A column-major 2x6 matrix slice. - Matrix
Slice Mut2xX Deprecated A column-major matrix slice with 2 rows and a number of columns chosen at runtime. - Matrix
Slice Mut3x1 Deprecated A column-major 3x1 matrix slice. - Matrix
Slice Mut3x2 Deprecated A column-major 3x2 matrix slice. - Matrix
Slice Mut3x4 Deprecated A column-major 3x4 matrix slice. - Matrix
Slice Mut3x5 Deprecated A column-major 3x5 matrix slice. - Matrix
Slice Mut3x6 Deprecated A column-major 3x6 matrix slice. - Matrix
Slice Mut3xX Deprecated A column-major matrix slice with 3 rows and a number of columns chosen at runtime. - Matrix
Slice Mut4x1 Deprecated A column-major 4x1 matrix slice. - Matrix
Slice Mut4x2 Deprecated A column-major 4x2 matrix slice. - Matrix
Slice Mut4x3 Deprecated A column-major 4x3 matrix slice. - Matrix
Slice Mut4x5 Deprecated A column-major 4x5 matrix slice. - Matrix
Slice Mut4x6 Deprecated A column-major 4x6 matrix slice. - Matrix
Slice Mut4xX Deprecated A column-major matrix slice with 4 rows and a number of columns chosen at runtime. - Matrix
Slice Mut5x1 Deprecated A column-major 5x1 matrix slice. - Matrix
Slice Mut5x2 Deprecated A column-major 5x2 matrix slice. - Matrix
Slice Mut5x3 Deprecated A column-major 5x3 matrix slice. - Matrix
Slice Mut5x4 Deprecated A column-major 5x4 matrix slice. - Matrix
Slice Mut5x6 Deprecated A column-major 5x6 matrix slice. - Matrix
Slice Mut5xX Deprecated A column-major matrix slice with 5 rows and a number of columns chosen at runtime. - Matrix
Slice Mut6x1 Deprecated A column-major 6x1 matrix slice. - Matrix
Slice Mut6x2 Deprecated A column-major 6x2 matrix slice. - Matrix
Slice Mut6x3 Deprecated A column-major 6x3 matrix slice. - Matrix
Slice Mut6x4 Deprecated A column-major 6x4 matrix slice. - Matrix
Slice Mut6x5 Deprecated A column-major 6x5 matrix slice. - Matrix
Slice Mut6xX Deprecated A column-major matrix slice with 6 rows and a number of columns chosen at runtime. - Matrix
Slice MutMN Deprecated A column-major matrix slice withR
rows andC
columns. - Matrix
Slice MutN Deprecated A column-major matrix slice withD
rows and columns. - Matrix
Slice MutXx1 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 1 column. - Matrix
Slice MutXx2 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 2 columns. - Matrix
Slice MutXx3 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 3 columns. - Matrix
Slice MutXx4 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 4 columns. - Matrix
Slice MutXx5 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 5 columns. - Matrix
Slice MutXx6 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 6 columns. - Matrix
Slice Xx1 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 1 column. - Matrix
Slice Xx2 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 2 columns. - Matrix
Slice Xx3 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 3 columns. - Matrix
Slice Xx4 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 4 columns. - Matrix
Slice Xx5 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 5 columns. - Matrix
Slice Xx6 Deprecated A column-major matrix slice with a number of rows chosen at runtime and 6 columns. - The type of the result of a matrix sum.
- A matrix view.
- An immutable column-major 1x1 matrix view.
- An immutable column-major 2x2 matrix view.
- An immutable column-major 3x3 matrix view.
- An immutable column-major 4x4 matrix view.
- An immutable column-major 5x5 matrix view.
- An immutable column-major 6x6 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 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 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 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 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 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 2x2 matrix view.
- A mutable column-major 3x3 matrix view.
- A mutable column-major 4x4 matrix view.
- A mutable column-major 5x5 matrix view.
- A mutable column-major 6x6 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 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 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 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 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 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.
- An owned matrix column-major matrix with
R
rows andC
columns. - An owned D-dimensional column 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. - SMatrix
Slice Deprecated A column-major matrix slice with dimensions known at compile-time. - SMatrix
Slice Mut Deprecated A 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.
- SVector
Slice Deprecated A column vector slice with dimensions known at compile-time. - SVector
Slice Mut Deprecated A 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.
- Slice
Storage Deprecated A matrix data storage for a matrix view. Only contains an internal reference to another matrix data storage. - Slice
Storage Mut Deprecated A 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.
- VectorN
Deprecated An owned matrix column-major matrix withR
rows andC
columns. - Vector
Slice Deprecated A column vector slice with dimensions known at compile-time. - Vector
Slice1 Deprecated A 1D column vector slice. - Vector
Slice2 Deprecated A 2D column vector slice. - Vector
Slice3 Deprecated A 3D column vector slice. - Vector
Slice4 Deprecated A 4D column vector slice. - Vector
Slice5 Deprecated A 5D column vector slice. - Vector
Slice6 Deprecated A 6D column vector slice. - Vector
Slice Mut Deprecated A column vector slice with dimensions known at compile-time. - Vector
Slice Mut1 Deprecated A 1D column vector slice. - Vector
Slice Mut2 Deprecated A 2D column vector slice. - Vector
Slice Mut3 Deprecated A 3D column vector slice. - Vector
Slice Mut4 Deprecated A 4D column vector slice. - Vector
Slice Mut5 Deprecated A 5D column vector slice. - Vector
Slice Mut6 Deprecated A 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.