Module nalgebra::base

source ·
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, if v is a 3D vector, one can write v.z instead of v[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

A 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.
SliceRangeDeprecated
A range with a size that may be known at compile-time.

Type Definitions

A dynamically sized column-major matrix.
DMatrixSliceDeprecated
A column-major matrix slice dynamic numbers of rows and columns.
DMatrixSliceMutDeprecated
A column-major matrix slice dynamic numbers of rows and columns.
A column-major matrix view dynamic numbers of rows and columns.
A column-major matrix view dynamic numbers of rows and columns.
A dynamically sized column vector.
DVectorSliceDeprecated
A column vector slice dynamic numbers of rows and columns.
DVectorSliceMutDeprecated
A column vector slice dynamic numbers of rows and columns.
A column vector view dynamic numbers of rows and columns.
A 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, row-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, row-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, row-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, row-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, row-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, row-major, matrix with 6 rows and a dynamic number of columns.
The type of the result of a matrix cross product.
MatrixMNDeprecated
An owned matrix column-major matrix with R rows and C columns.
MatrixNDeprecated
An owned matrix column-major matrix with D columns.
MatrixSliceDeprecated
A matrix slice.
MatrixSlice1Deprecated
A column-major 1x1 matrix slice.
MatrixSlice1x2Deprecated
A column-major 1x2 matrix slice.
MatrixSlice1x3Deprecated
A column-major 1x3 matrix slice.
MatrixSlice1x4Deprecated
A column-major 1x4 matrix slice.
MatrixSlice1x5Deprecated
A column-major 1x5 matrix slice.
MatrixSlice1x6Deprecated
A column-major 1x6 matrix slice.
MatrixSlice1xXDeprecated
A column-major matrix slice with 1 row and a number of columns chosen at runtime.
MatrixSlice2Deprecated
A column-major 2x2 matrix slice.
MatrixSlice2x1Deprecated
A column-major 2x1 matrix slice.
MatrixSlice2x3Deprecated
A column-major 2x3 matrix slice.
MatrixSlice2x4Deprecated
A column-major 2x4 matrix slice.
MatrixSlice2x5Deprecated
A column-major 2x5 matrix slice.
MatrixSlice2x6Deprecated
A column-major 2x6 matrix slice.
MatrixSlice2xXDeprecated
A column-major matrix slice with 2 rows and a number of columns chosen at runtime.
MatrixSlice3Deprecated
A column-major 3x3 matrix slice.
MatrixSlice3x1Deprecated
A column-major 3x1 matrix slice.
MatrixSlice3x2Deprecated
A column-major 3x2 matrix slice.
MatrixSlice3x4Deprecated
A column-major 3x4 matrix slice.
MatrixSlice3x5Deprecated
A column-major 3x5 matrix slice.
MatrixSlice3x6Deprecated
A column-major 3x6 matrix slice.
MatrixSlice3xXDeprecated
A column-major matrix slice with 3 rows and a number of columns chosen at runtime.
MatrixSlice4Deprecated
A column-major 4x4 matrix slice.
MatrixSlice4x1Deprecated
A column-major 4x1 matrix slice.
MatrixSlice4x2Deprecated
A column-major 4x2 matrix slice.
MatrixSlice4x3Deprecated
A column-major 4x3 matrix slice.
MatrixSlice4x5Deprecated
A column-major 4x5 matrix slice.
MatrixSlice4x6Deprecated
A column-major 4x6 matrix slice.
MatrixSlice4xXDeprecated
A column-major matrix slice with 4 rows and a number of columns chosen at runtime.
MatrixSlice5Deprecated
A column-major 5x5 matrix slice.
MatrixSlice5x1Deprecated
A column-major 5x1 matrix slice.
MatrixSlice5x2Deprecated
A column-major 5x2 matrix slice.
MatrixSlice5x3Deprecated
A column-major 5x3 matrix slice.
MatrixSlice5x4Deprecated
A column-major 5x4 matrix slice.
MatrixSlice5x6Deprecated
A column-major 5x6 matrix slice.
MatrixSlice5xXDeprecated
A column-major matrix slice with 5 rows and a number of columns chosen at runtime.
MatrixSlice6Deprecated
A column-major 6x6 matrix slice.
MatrixSlice6x1Deprecated
A column-major 6x1 matrix slice.
MatrixSlice6x2Deprecated
A column-major 6x2 matrix slice.
MatrixSlice6x3Deprecated
A column-major 6x3 matrix slice.
MatrixSlice6x4Deprecated
A column-major 6x4 matrix slice.
MatrixSlice6x5Deprecated
A column-major 6x5 matrix slice.
MatrixSlice6xXDeprecated
A column-major matrix slice with 6 rows and a number of columns chosen at runtime.
MatrixSliceMutDeprecated
A mutable matrix slice.
MatrixSliceMut1Deprecated
A column-major 1x1 matrix slice.
A column-major 1x2 matrix slice.
A column-major 1x3 matrix slice.
A column-major 1x4 matrix slice.
A column-major 1x5 matrix slice.
A column-major 1x6 matrix slice.
A column-major matrix slice with 1 row and a number of columns chosen at runtime.
MatrixSliceMut2Deprecated
A column-major 2x2 matrix slice.
A column-major 2x1 matrix slice.
A column-major 2x3 matrix slice.
A column-major 2x4 matrix slice.
A column-major 2x5 matrix slice.
A column-major 2x6 matrix slice.
A column-major matrix slice with 2 rows and a number of columns chosen at runtime.
MatrixSliceMut3Deprecated
A column-major 3x3 matrix slice.
A column-major 3x1 matrix slice.
A column-major 3x2 matrix slice.
A column-major 3x4 matrix slice.
A column-major 3x5 matrix slice.
A column-major 3x6 matrix slice.
A column-major matrix slice with 3 rows and a number of columns chosen at runtime.
MatrixSliceMut4Deprecated
A column-major 4x4 matrix slice.
A column-major 4x1 matrix slice.
A column-major 4x2 matrix slice.
A column-major 4x3 matrix slice.
A column-major 4x5 matrix slice.
A column-major 4x6 matrix slice.
A column-major matrix slice with 4 rows and a number of columns chosen at runtime.
MatrixSliceMut5Deprecated
A column-major 5x5 matrix slice.
A column-major 5x1 matrix slice.
A column-major 5x2 matrix slice.
A column-major 5x3 matrix slice.
A column-major 5x4 matrix slice.
A column-major 5x6 matrix slice.
A column-major matrix slice with 5 rows and a number of columns chosen at runtime.
MatrixSliceMut6Deprecated
A column-major 6x6 matrix slice.
A column-major 6x1 matrix slice.
A column-major 6x2 matrix slice.
A column-major 6x3 matrix slice.
A column-major 6x4 matrix slice.
A column-major 6x5 matrix slice.
A column-major matrix slice with 6 rows and a number of columns chosen at runtime.
A column-major matrix slice with R rows and C columns.
MatrixSliceMutNDeprecated
A column-major matrix slice with D rows and columns.
A column-major matrix slice with a number of rows chosen at runtime and 1 column.
A column-major matrix slice with a number of rows chosen at runtime and 2 columns.
A column-major matrix slice with a number of rows chosen at runtime and 3 columns.
A column-major matrix slice with a number of rows chosen at runtime and 4 columns.
A column-major matrix slice with a number of rows chosen at runtime and 5 columns.
A column-major matrix slice with a number of rows chosen at runtime and 6 columns.
MatrixSliceXx1Deprecated
A column-major matrix slice with a number of rows chosen at runtime and 1 column.
MatrixSliceXx2Deprecated
A column-major matrix slice with a number of rows chosen at runtime and 2 columns.
MatrixSliceXx3Deprecated
A column-major matrix slice with a number of rows chosen at runtime and 3 columns.
MatrixSliceXx4Deprecated
A column-major matrix slice with a number of rows chosen at runtime and 4 columns.
MatrixSliceXx5Deprecated
A column-major matrix slice with a number of rows chosen at runtime and 5 columns.
MatrixSliceXx6Deprecated
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.
MatrixVecDeprecated
Renamed to VecStorage.
A matrix view.
A column-major 1x1 matrix view.
A column-major 1x2 matrix view.
A column-major 1x3 matrix view.
A column-major 1x4 matrix view.
A column-major 1x5 matrix view.
A column-major 1x6 matrix view.
A column-major matrix view with 1 row and a number of columns chosen at runtime.
A column-major 2x2 matrix view.
A column-major 2x1 matrix view.
A column-major 2x3 matrix view.
A column-major 2x4 matrix view.
A column-major 2x5 matrix view.
A column-major 2x6 matrix view.
A column-major matrix view with 2 rows and a number of columns chosen at runtime.
A column-major 3x3 matrix view.
A column-major 3x1 matrix view.
A column-major 3x2 matrix view.
A column-major 3x4 matrix view.
A column-major 3x5 matrix view.
A column-major 3x6 matrix view.
A column-major matrix view with 3 rows and a number of columns chosen at runtime.
A column-major 4x4 matrix view.
A column-major 4x1 matrix view.
A column-major 4x2 matrix view.
A column-major 4x3 matrix view.
A column-major 4x5 matrix view.
A column-major 4x6 matrix view.
A column-major matrix view with 4 rows and a number of columns chosen at runtime.
A column-major 5x5 matrix view.
A column-major 5x1 matrix view.
A column-major 5x2 matrix view.
A column-major 5x3 matrix view.
A column-major 5x4 matrix view.
A column-major 5x6 matrix view.
A column-major matrix view with 5 rows and a number of columns chosen at runtime.
A column-major 6x6 matrix view.
A column-major 6x1 matrix view.
A column-major 6x2 matrix view.
A column-major 6x3 matrix view.
A column-major 6x4 matrix view.
A column-major 6x5 matrix view.
A column-major matrix view with 6 rows and a number of columns chosen at runtime.
A mutable matrix view.
A column-major 1x1 matrix view.
A column-major 1x2 matrix view.
A column-major 1x3 matrix view.
A column-major 1x4 matrix view.
A column-major 1x5 matrix view.
A column-major 1x6 matrix view.
A column-major matrix view with 1 row and a number of columns chosen at runtime.
A column-major 2x2 matrix view.
A column-major 2x1 matrix view.
A column-major 2x3 matrix view.
A column-major 2x4 matrix view.
A column-major 2x5 matrix view.
A column-major 2x6 matrix view.
A column-major matrix view with 2 rows and a number of columns chosen at runtime.
A column-major 3x3 matrix view.
A column-major 3x1 matrix view.
A column-major 3x2 matrix view.
A column-major 3x4 matrix view.
A column-major 3x5 matrix view.
A column-major 3x6 matrix view.
A column-major matrix view with 3 rows and a number of columns chosen at runtime.
A column-major 4x4 matrix view.
A column-major 4x1 matrix view.
A column-major 4x2 matrix view.
A column-major 4x3 matrix view.
A column-major 4x5 matrix view.
A column-major 4x6 matrix view.
A column-major matrix view with 4 rows and a number of columns chosen at runtime.
A column-major 5x5 matrix view.
A column-major 5x1 matrix view.
A column-major 5x2 matrix view.
A column-major 5x3 matrix view.
A column-major 5x4 matrix view.
A column-major 5x6 matrix view.
A column-major matrix view with 5 rows and a number of columns chosen at runtime.
A column-major 6x6 matrix view.
A column-major 6x1 matrix view.
A column-major 6x2 matrix view.
A column-major 6x3 matrix view.
A column-major 6x4 matrix view.
A column-major 6x5 matrix view.
A column-major matrix view with 6 rows and a number of columns chosen at runtime.
A column-major matrix view with a number of rows chosen at runtime and 1 column.
A column-major matrix view with a number of rows chosen at runtime and 2 columns.
A column-major matrix view with a number of rows chosen at runtime and 3 columns.
A column-major matrix view with a number of rows chosen at runtime and 4 columns.
A column-major matrix view with a number of rows chosen at runtime and 5 columns.
A column-major matrix view with a number of rows chosen at runtime and 6 columns.
A column-major matrix view with a number of rows chosen at runtime and 1 column.
A column-major matrix view with a number of rows chosen at runtime and 2 columns.
A column-major matrix view with a number of rows chosen at runtime and 3 columns.
A column-major matrix view with a number of rows chosen at runtime and 4 columns.
A column-major matrix view with a number of rows chosen at runtime and 5 columns.
A 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 and C 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 and C columns.
SMatrixSliceDeprecated
A column-major matrix slice with dimensions known at compile-time.
SMatrixSliceMutDeprecated
A column-major matrix slice with dimensions known at compile-time.
A column-major matrix view with dimensions known at compile-time.
A column-major matrix view with dimensions known at compile-time.
A statically sized D-dimensional column vector.
SVectorSliceDeprecated
A column vector slice with dimensions known at compile-time.
SVectorSliceMutDeprecated
A column vector slice with dimensions known at compile-time.
A column vector view with dimensions known at compile-time.
A column vector view with dimensions known at compile-time.
SliceStorageDeprecated
A matrix data storage for a matrix view. Only contains an internal reference to another matrix data storage.
SliceStorageMutDeprecated
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.
VectorNDeprecated
An owned matrix column-major matrix with R rows and C columns.
VectorSliceDeprecated
A column vector slice with dimensions known at compile-time.
VectorSlice1Deprecated
A 1D column vector slice.
VectorSlice2Deprecated
A 2D column vector slice.
VectorSlice3Deprecated
A 3D column vector slice.
VectorSlice4Deprecated
A 4D column vector slice.
VectorSlice5Deprecated
A 5D column vector slice.
VectorSlice6Deprecated
A 6D column vector slice.
VectorSliceMutDeprecated
A column vector slice with dimensions known at compile-time.
VectorSliceMut1Deprecated
A 1D column vector slice.
VectorSliceMut2Deprecated
A 2D column vector slice.
VectorSliceMut3Deprecated
A 3D column vector slice.
VectorSliceMut4Deprecated
A 4D column vector slice.
VectorSliceMut5Deprecated
A 5D column vector slice.
VectorSliceMut6Deprecated
A 6D column vector slice.
The type of the result of a matrix sum.
A column vector view with dimensions known at compile-time.
A 1D column vector view.
A 2D column vector view.
A 3D column vector view.
A 4D column vector view.
A 5D column vector view.
A 6D column vector view.
A column vector view with dimensions known at compile-time.
A 1D column vector view.
A 2D column vector view.
A 3D column vector view.
A 4D column vector view.
A 5D column vector view.
A 6D column vector view.