Expand description
§nalgebra
nalgebra is a linear algebra library written for Rust targeting:
- General-purpose linear algebra (still lacks a lot of features…)
- Real-time computer graphics.
- Real-time computer physics.
§Using nalgebra
You will need the last stable build of the rust compiler and the official package manager: cargo.
Simply add the following to your Cargo.toml
file:
ⓘ
[dependencies]
// TODO: replace the * by the latest version.
nalgebra = "*"
Most useful functionalities of nalgebra are grouped in the root module nalgebra::
.
However, the recommended way to use nalgebra is to import types and traits
explicitly, and call free-functions using the na::
prefix:
#[macro_use]
extern crate approx; // For the macro relative_eq!
extern crate nalgebra as na;
use na::{Vector3, Rotation3};
fn main() {
let axis = Vector3::x_axis();
let angle = 1.57;
let b = Rotation3::from_axis_angle(&axis, angle);
relative_eq!(b.axis().unwrap(), axis);
relative_eq!(b.angle(), angle);
}
§Features
nalgebra is meant to be a general-purpose, low-dimensional, linear algebra library, with an optimized set of tools for computer graphics and physics. Those features include:
- A single parametrizable type
Matrix
for vectors, (square or rectangular) matrices, and slices with dimensions known either at compile-time (using type-level integers) or at runtime. - Matrices and vectors with compile-time sizes are statically allocated while dynamic ones are allocated on the heap.
- Convenient aliases for low-dimensional matrices and vectors:
Vector1
toVector6
andMatrix1x1
toMatrix6x6
, including rectangular matrices likeMatrix2x5
. - Points sizes known at compile time, and convenience aliases:
Point1
toPoint6
. - Translation (seen as a transformation that composes by multiplication):
Translation2
,Translation3
. - Rotation matrices:
Rotation2
,Rotation3
. - Quaternions:
Quaternion
,UnitQuaternion
(for 3D rotation). - Unit complex numbers can be used for 2D rotation:
UnitComplex
. - Algebraic entities with a norm equal to one:
Unit<T>
, e.g.,Unit<Vector3<f32>>
. - Isometries (translation ⨯ rotation):
Isometry2
,Isometry3
- Similarity transformations (translation ⨯ rotation ⨯ uniform scale):
Similarity2
,Similarity3
. - Affine transformations stored as a homogeneous matrix:
Affine2
,Affine3
. - Projective (i.e. invertible) transformations stored as a homogeneous matrix:
Projective2
,Projective3
. - General transformations that does not have to be invertible, stored as a homogeneous matrix:
Transform2
,Transform3
. - 3D projections for computer graphics:
Perspective3
,Orthographic3
. - Matrix factorizations:
Cholesky
,QR
,LU
,FullPivLU
,SVD
,Schur
,Hessenberg
,SymmetricEigen
. - Insertion and removal of rows of columns of a matrix.
Modules§
- [Reexported at the root of this crate.] Data structures for vector and matrix computations.
- [Reexported at the root of this crate.] Data structures for points and usual transformations (rotations, isometries, etc.)
- [Reexported at the root of this crate.] Factorization of real matrices.
Macros§
- Construct a dynamic matrix directly from data.
- Construct a dynamic column vector directly from data.
- Construct a fixed-size matrix directly from data.
- Construct a fixed-size point directly from data.
- Construct a fixed-size column vector directly from data.
Structs§
- A array-based statically sized matrix data storage.
- The bidiagonalization of a general matrix.
- The Cholesky decomposition of a symmetric-definite-positive matrix.
- The QR decomposition (with column pivoting) of a general matrix.
- A complex number in Cartesian form.
- An allocator based on
ArrayStorage
andVecStorage
for statically-sized and dynamically-sized matrices respectively. - A dual quaternion.
- Dim of dynamically-sized algebraic entities.
- Euclidean norm.
- LU decomposition with full row and column pivoting.
- Hessenberg decomposition of a general matrix.
- A direct isometry, i.e., a rotation followed by a translation (aka. a rigid-body motion).
- LU decomposition with partial (row) pivoting.
- Lp norm.
- The most generic column-major matrix (and vector) type.
- A point in an euclidean space.
- A 3D orthographic projection stored as a homogeneous 4x4 matrix.
- A sequence of row or column permutations.
- A 3D perspective projection stored as a homogeneous 4x4 matrix.
- The QR decomposition of a general matrix.
- A quaternion. See the type alias
UnitQuaternion = Unit<Quaternion>
for a quaternion that may be used as a rotation. - A reflection wrt. a plane.
- A rotation matrix.
- Singular Value Decomposition of a general matrix.
- A scale which supports non-uniform scaling.
- Schur decomposition of a square matrix.
- A similarity, i.e., an uniform scaling, followed by a rotation, followed by a translation.
- Eigendecomposition of a symmetric matrix.
- Tridiagonalization of a symmetric matrix.
- A transformation matrix in homogeneous coordinates.
- A translation.
- UDU factorization.
- 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.
Enums§
- Tag representing an affine
Transform
. Its bottom-row is equal to(0, 0 ... 0, 1)
. - Tag representing the most general (not necessarily inversible)
Transform
type. - Tag representing the most general inversible
Transform
type.
Constants§
- The constant dimension 0 .
- The constant dimension 1.
- The constant dimension 2 .
- The constant dimension 3 .
- The constant dimension 4 .
- The constant dimension 5 .
- The constant dimension 6 .
- The constant dimension 7 .
- The constant dimension 8 .
- The constant dimension 9 .
- The constant dimension 10 .
- The constant dimension 11 .
- The constant dimension 12 .
- The constant dimension 13 .
- The constant dimension 14 .
- The constant dimension 15 .
- The constant dimension 16 .
- The constant dimension 17 .
- The constant dimension 18 .
- The constant dimension 19 .
- The constant dimension 20 .
- The constant dimension 21 .
- The constant dimension 22 .
- The constant dimension 23 .
- The constant dimension 24 .
- The constant dimension 25 .
- The constant dimension 26 .
- The constant dimension 27 .
- The constant dimension 28 .
- The constant dimension 29 .
- The constant dimension 30 .
- The constant dimension 31 .
- The constant dimension 32 .
- The constant dimension 33 .
- The constant dimension 34 .
- The constant dimension 35 .
- The constant dimension 36 .
- The constant dimension 37 .
- The constant dimension 38 .
- The constant dimension 39 .
- The constant dimension 40 .
- The constant dimension 41 .
- The constant dimension 42 .
- The constant dimension 43 .
- The constant dimension 44 .
- The constant dimension 45 .
- The constant dimension 46 .
- The constant dimension 47 .
- The constant dimension 48 .
- The constant dimension 49 .
- The constant dimension 50 .
- The constant dimension 51 .
- The constant dimension 52 .
- The constant dimension 53 .
- The constant dimension 54 .
- The constant dimension 55 .
- The constant dimension 56 .
- The constant dimension 57 .
- The constant dimension 58 .
- The constant dimension 59 .
- The constant dimension 60 .
- The constant dimension 61 .
- The constant dimension 62 .
- The constant dimension 63 .
- The constant dimension 64 .
- The constant dimension 65 .
- The constant dimension 66 .
- The constant dimension 67 .
- The constant dimension 68 .
- The constant dimension 69 .
- The constant dimension 70 .
- The constant dimension 71 .
- The constant dimension 72 .
- The constant dimension 73 .
- The constant dimension 74 .
- The constant dimension 75 .
- The constant dimension 76 .
- The constant dimension 77 .
- The constant dimension 78 .
- The constant dimension 79 .
- The constant dimension 80 .
- The constant dimension 81 .
- The constant dimension 82 .
- The constant dimension 83 .
- The constant dimension 84 .
- The constant dimension 85 .
- The constant dimension 86 .
- The constant dimension 87 .
- The constant dimension 88 .
- The constant dimension 89 .
- The constant dimension 90 .
- The constant dimension 91 .
- The constant dimension 92 .
- The constant dimension 93 .
- The constant dimension 94 .
- The constant dimension 95 .
- The constant dimension 96 .
- The constant dimension 97 .
- The constant dimension 98 .
- The constant dimension 99 .
- The constant dimension 100 .
- The constant dimension 101 .
- The constant dimension 102 .
- The constant dimension 103 .
- The constant dimension 104 .
- The constant dimension 105 .
- The constant dimension 106 .
- The constant dimension 107 .
- The constant dimension 108 .
- The constant dimension 109 .
- The constant dimension 110 .
- The constant dimension 111 .
- The constant dimension 112 .
- The constant dimension 113 .
- The constant dimension 114 .
- The constant dimension 115 .
- The constant dimension 116 .
- The constant dimension 117 .
- The constant dimension 118 .
- The constant dimension 119 .
- The constant dimension 120 .
- The constant dimension 121 .
- The constant dimension 122 .
- The constant dimension 123 .
- The constant dimension 124 .
- The constant dimension 125 .
- The constant dimension 126 .
- The constant dimension 127 .
Traits§
- Trait implemented by rotations that can be used inside of an
Isometry
orSimilarity
. - Trait alias for
Add
andAddAssign
with result of typeSelf
. - Trait alias for
Div
andDivAssign
with result of typeSelf
. - Trait alias for
Mul
andMulAssign
with result of typeSelf
. - Trait alias for
Sub
andSubAssign
with result of typeSelf
. - Trait shared by all complex fields and its subfields (like real numbers).
- Trait implemented by any type that can be used as a dimension. This includes type-level integers and
Dyn
(for dimensions not known at compile-time). - Trait implemented exclusively by type-level integers.
- A range with a size that may be known at compile-time.
- Trait implemented by fields, i.e., complex numbers and floats.
- Marker trait indicating that a storage is stored contiguously in memory.
- Trait implemented by
Dyn
. - Trait implemented by
Dyn
and type-level integers different fromU1
. - A trait for abstract matrix norms.
- Trait implemented by entities scan be be normalized and put in an
Unit
struct. - The trait shared by all matrix data storage.
- Trait implemented by matrix data storage that can provide a mutable access to its elements.
- Trait shared by all reals.
- A matrix storage that can be reshaped in-place.
- The basic scalar type for all structures of
nalgebra
. - Lane-wise generalization of
bool
for SIMD booleans. - Lane-wise generalisation of
ComplexField
for SIMD complex fields. - Lane-wise generalization of the standard
PartialOrd
for SIMD values. - Lanewise generalization of
RealField
for SIMD reals. - Base trait for every SIMD types.
- SliceRangeDeprecatedA range with a size that may be known at compile-time.
- Trait shared by all matrix data storage that don’t contain any uninitialized elements.
- Trait shared by all mutable matrix data storage that don’t contain any uninitialized elements.
- Indicates that
Self
is a more specificTransform
category thanOther
. - Indicates that
Self
is a more generalTransform
category thanOther
. - Trait implemented by phantom types identifying the projective transformation type.
- Traits that gives the
Transform
category that is compatible with the result of the multiplication of transformations with categoriesSelf
andOther
.
Functions§
- absDeprecatedThe absolute value of
a
. - The center of two points.
- Returns a reference to the input value clamped to the interval
[min, max]
. - Converts an object from one type to an equivalent or more general one.
- Converts an object from one type to an equivalent or more general one.
- Use with care! Same as
try_convert
but without any property checks. - Use with care! Same as
try_convert
but without any property checks. - The distance between two points.
- The squared distance between two points.
- infDeprecatedReturns the infimum of
a
andb
. - inf_supDeprecatedReturns simultaneously the infimum and supremum of
a
andb
. - Indicates if
try_convert
will succeed without actually performing the conversion. - Same as
cmp::max
. - Same as
cmp::min
. - Gets the multiplicative identity element.
- Clamp
value
betweenmin
andmax
. ReturnsNone
ifvalue
is not comparable tomin
ormax
. - Compare
a
andb
using a partial ordering relation. - Returns
true
iffa
andb
are comparable anda >= b
. - Returns
true
iffa
andb
are comparable anda > b
. - Returns
true
iffa
andb
are comparable anda <= b
. - Returns
true
iffa
andb
are comparable anda < b
. - Return the maximum of
a
andb
if they are comparable. - Return the minimum of
a
andb
if they are comparable. - Sorts two values in increasing order using a partial ordering.
- supDeprecatedReturns the supremum of
a
andb
. - Attempts to convert an object to a more specific one.
- Attempts to convert an object to a more specific one.
- Performs a LU decomposition to overwrite
out
with the inverse ofmatrix
. - Computes the wilkinson shift, i.e., the 2x2 symmetric matrix eigenvalue to its tailing component
tnn
. - Wraps
val
into the range[min, max]
using modular arithmetics. - Gets the additive identity element.
Type Aliases§
- A 2D affine transformation. Stored as a homogeneous 3x3 matrix.
- A 3D affine transformation. Stored as a homogeneous 4x4 matrix.
- The column-stride of the owned data storage for a buffer of dimension
(R, C)
. - 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.
- 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.
- DVectorSliceDeprecatedA column vector slice dynamic numbers of rows and columns.
- DVectorSliceMutDeprecatedA 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.
- DynamicDeprecated
- A 2-dimensional direct isometry using a unit complex number for its rotational part.
- A 3-dimensional direct isometry using a unit quaternion for its rotational part.
- A 2-dimensional direct isometry using a rotation matrix for its rotational part.
- A 3-dimensional direct isometry using a rotation matrix for its rotational part.
- 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 heap-allocated, column-major, matrix with 1 rows and a dynamic number of columns.
- 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, 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, 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, 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, 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.
- MatrixSlice2DeprecatedA column-major 2x2 matrix slice.
- MatrixSlice3DeprecatedA column-major 3x3 matrix slice.
- MatrixSlice4DeprecatedA column-major 4x4 matrix slice.
- MatrixSlice5DeprecatedA column-major 5x5 matrix slice.
- MatrixSlice6DeprecatedA column-major 6x6 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- MatrixSliceMut2DeprecatedA column-major 2x2 matrix slice.
- MatrixSliceMut3DeprecatedA column-major 3x3 matrix slice.
- MatrixSliceMut4DeprecatedA column-major 4x4 matrix slice.
- MatrixSliceMut5DeprecatedA column-major 5x5 matrix slice.
- MatrixSliceMut6DeprecatedA column-major 6x6 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- A column-major 1x1 matrix view.
- A column-major 2x2 matrix view.
- A column-major 3x3 matrix view.
- A column-major 4x4 matrix view.
- A column-major 5x5 matrix view.
- A column-major 6x6 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 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 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 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 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 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 2x2 matrix view.
- A column-major 3x3 matrix view.
- A column-major 4x4 matrix view.
- A column-major 5x5 matrix view.
- A column-major 6x6 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 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 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 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 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 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 andC
columns. - An owned D-dimensional column vector.
- The owned data storage that can be allocated from
S
. - The owned data storage that can be allocated from
S
. - A point with
D
elements. - A statically sized 1-dimensional column point.
- A statically sized 2-dimensional column point.
- A statically sized 3-dimensional column point.
- A statically sized 4-dimensional column point.
- A statically sized 5-dimensional column point.
- A statically sized 6-dimensional column point.
- An invertible 2D general transformation. Stored as a homogeneous 3x3 matrix.
- An invertible 3D general transformation. Stored as a homogeneous 4x4 matrix.
- The row-stride of the owned data storage for a buffer of dimension
(R, C)
. - A 1-dimensional reflection.
- A 2-dimensional reflection.
- A 3-dimensional reflection.
- A 4-dimensional reflection.
- A 5-dimensional reflection.
- A 6-dimensional reflection.
- A 2-dimensional rotation matrix.
- A 3-dimensional rotation matrix.
- 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.
- 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.
- SVectorSliceDeprecatedA column vector slice with dimensions known at compile-time.
- SVectorSliceMutDeprecatedA 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.
- The data storage for the sum of two matrices with dimensions
(R1, C1)
and(R2, C2)
. - A 1-dimensional scale.
- A 2-dimensional scale.
- A 3-dimensional scale.
- A 4-dimensional scale.
- A 5-dimensional scale.
- A 6-dimensional scale.
- A 2-dimensional similarity.
- A 3-dimensional similarity.
- A 2-dimensional similarity using a rotation matrix for its rotation part.
- A 3-dimensional similarity using a rotation matrix for its rotation part.
- 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.
- A 2D general transformation that may not be invertible. Stored as a homogeneous 3x3 matrix.
- A 3D general transformation that may not be inversible. Stored as a homogeneous 4x4 matrix.
- A 1-dimensional translation.
- A 2-dimensional translation.
- A 3-dimensional translation.
- A 4-dimensional translation.
- A 5-dimensional translation.
- A 6-dimensional translation.
- An owned matrix with uninitialized data.
- An owned matrix with uninitialized data.
- A 2D rotation represented as a complex number with magnitude 1.
- A unit dual quaternion. May be used to represent a rotation followed by a translation.
- A unit quaternions. May be used to represent a rotation.
- 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.
- 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.