Module nalgebra::base[][src]

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.

A matrix data storage for a matrix slice. Only contains an internal reference to another matrix data storage.

A mutable matrix data storage for mutable matrix slice. Only contains an internal mutable reference to another matrix data storage.

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.

Traits

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.

A range with a size that may be known at compile-time.

Type Definitions

A dynamically sized column-major matrix.

A column-major matrix slice dynamic numbers of rows and columns.

A column-major matrix slice dynamic numbers of rows and columns.

A dynamically sized column vector.

A column vector slice dynamic numbers of rows and columns.

A column vector slice 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.

A matrix slice.

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.

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.

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.

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.

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.

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 mutable matrix slice.

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.

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.

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.

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.

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.

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.

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.

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.

The type of the result of a matrix sum.

MatrixVecDeprecated

Renamed to VecStorage.

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.

A column-major matrix slice with dimensions known at compile-time.

A column-major matrix slice with dimensions known at compile-time.

A statically sized D-dimensional column vector.

A column vector slice with dimensions known at compile-time.

A column vector slice with dimensions known at compile-time.

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.

A column vector slice with dimensions known at compile-time.

A 1D column vector slice.

A 2D column vector slice.

A 3D column vector slice.

A 4D column vector slice.

A 5D column vector slice.

A 6D column vector slice.

A column vector slice with dimensions known at compile-time.

A 1D column vector slice.

A 2D column vector slice.

A 3D column vector slice.

A 4D column vector slice.

A 5D column vector slice.

A 6D column vector slice.

The type of the result of a matrix sum.