Module ggez::graphics::na::core
[−]
[src]
[Reexported at the root of this crate.] Data structures for vector and matrix computations.
Modules
allocator |
Abstract definition of a matrix data storage allocator. |
constraint |
Compatibility constraints between matrix shapes, e.g., for addition or multiplication. |
coordinates |
Structures to which matrices and vector can be auto-dereferenced (through |
default_allocator |
The default matrix data storage allocator. |
dimension |
Traits and tags for identifying the dimension of all algebraic entities. |
iter |
Matrix iterators. |
storage |
Abstract definition of a matrix data storage. |
Structs
DefaultAllocator |
An allocator based on |
Dynamic |
Dim of dynamically-sized algebraic entities. |
Matrix |
The most generic column-major matrix (and vector) type. |
MatrixArray |
A array-based statically sized matrix data storage. |
MatrixVec |
A Vec-based matrix data storage. It may be dynamically-sized. |
SliceStorage | |
SliceStorageMut | |
U0 | |
U1 | |
U2 | |
U3 | |
U4 | |
U5 | |
U6 | |
U7 | |
U8 | |
U9 | |
U10 | |
U11 | |
U12 | |
U13 | |
U14 | |
U15 | |
U16 | |
U17 | |
U18 | |
U19 | |
U20 | |
U21 | |
U22 | |
U23 | |
U24 | |
U25 | |
U26 | |
U27 | |
U28 | |
U29 | |
U30 | |
U31 | |
U32 | |
U33 | |
U34 | |
U35 | |
U36 | |
U37 | |
U38 | |
U39 | |
U40 | |
U41 | |
U42 | |
U43 | |
U44 | |
U45 | |
U46 | |
U47 | |
U48 | |
U49 | |
U50 | |
U51 | |
U52 | |
U53 | |
U54 | |
U55 | |
U56 | |
U57 | |
U58 | |
U59 | |
U60 | |
U61 | |
U62 | |
U63 | |
U64 | |
U65 | |
U66 | |
U67 | |
U68 | |
U69 | |
U70 | |
U71 | |
U72 | |
U73 | |
U74 | |
U75 | |
U76 | |
U77 | |
U78 | |
U79 | |
U80 | |
U81 | |
U82 | |
U83 | |
U84 | |
U85 | |
U86 | |
U87 | |
U88 | |
U89 | |
U90 | |
U91 | |
U92 | |
U93 | |
U94 | |
U95 | |
U96 | |
U97 | |
U98 | |
U99 | |
U100 | |
U101 | |
U102 | |
U103 | |
U104 | |
U105 | |
U106 | |
U107 | |
U108 | |
U109 | |
U110 | |
U111 | |
U112 | |
U113 | |
U114 | |
U115 | |
U116 | |
U117 | |
U118 | |
U119 | |
U120 | |
U121 | |
U122 | |
U123 | |
U124 | |
U125 | |
U126 | |
U127 | |
Unit |
A wrapper that ensures the undelying algebraic entity has a unit norm. |
Traits
Dim |
Trait implemented by any type that can be used as a dimension. This includes type-level
integers and |
DimAdd | |
DimDiv | |
DimMax | |
DimMin | |
DimMul | |
DimName |
Trait implemented exclusively by type-level integers. |
DimNameAdd | |
DimNameDiv | |
DimNameMax | |
DimNameMin | |
DimNameMul | |
DimNameSub | |
DimSub | |
IsDynamic |
Trait implemented by |
IsNotStaticOne |
Trait implemented by |
NamedDim | |
Scalar |
The basic scalar type for all structures of |
SliceRange |
A range with a size that may be known at compile-time. |
Type Definitions
DMatrix |
A dynamically sized column-major matrix. |
DVector |
A dynamically sized column vector. |
DimDiff | |
DimMaximum | |
DimMinimum | |
DimNameDiff | |
DimNameMaximum | |
DimNameNimimum | |
DimNameProd | |
DimNameQuot | |
DimNameSum | |
DimProd | |
DimQuot | |
DimSum | |
Matrix1 |
A stack-allocated, column-major, 1x1 square matrix. |
Matrix2 |
A stack-allocated, column-major, 2x2 square matrix. |
Matrix3 |
A stack-allocated, column-major, 3x3 square matrix. |
Matrix4 |
A stack-allocated, column-major, 4x4 square matrix. |
Matrix5 |
A stack-allocated, column-major, 5x5 square matrix. |
Matrix6 |
A stack-allocated, column-major, 6x6 square matrix. |
Matrix1x2 |
A stack-allocated, column-major, 1x2 square matrix. |
Matrix1x3 |
A stack-allocated, column-major, 1x3 square matrix. |
Matrix1x4 |
A stack-allocated, column-major, 1x4 square matrix. |
Matrix1x5 |
A stack-allocated, column-major, 1x5 square matrix. |
Matrix1x6 |
A stack-allocated, column-major, 1x6 square matrix. |
Matrix2x1 |
A stack-allocated, column-major, 2x1 square matrix. |
Matrix2x3 |
A stack-allocated, column-major, 2x3 square matrix. |
Matrix2x4 |
A stack-allocated, column-major, 2x4 square matrix. |
Matrix2x5 |
A stack-allocated, column-major, 2x5 square matrix. |
Matrix2x6 |
A stack-allocated, column-major, 2x6 square matrix. |
Matrix3x1 |
A stack-allocated, column-major, 3x1 square matrix. |
Matrix3x2 |
A stack-allocated, column-major, 3x2 square matrix. |
Matrix3x4 |
A stack-allocated, column-major, 3x4 square matrix. |
Matrix3x5 |
A stack-allocated, column-major, 3x5 square matrix. |
Matrix3x6 |
A stack-allocated, column-major, 3x6 square matrix. |
Matrix4x1 |
A stack-allocated, column-major, 4x1 square matrix. |
Matrix4x2 |
A stack-allocated, column-major, 4x2 square matrix. |
Matrix4x3 |
A stack-allocated, column-major, 4x3 square matrix. |
Matrix4x5 |
A stack-allocated, column-major, 4x5 square matrix. |
Matrix4x6 |
A stack-allocated, column-major, 4x6 square matrix. |
Matrix5x1 |
A stack-allocated, column-major, 5x1 square matrix. |
Matrix5x2 |
A stack-allocated, column-major, 5x2 square matrix. |
Matrix5x3 |
A stack-allocated, column-major, 5x3 square matrix. |
Matrix5x4 |
A stack-allocated, column-major, 5x4 square matrix. |
Matrix5x6 |
A stack-allocated, column-major, 5x6 square matrix. |
Matrix6x1 |
A stack-allocated, column-major, 6x1 square matrix. |
Matrix6x2 |
A stack-allocated, column-major, 6x2 square matrix. |
Matrix6x3 |
A stack-allocated, column-major, 6x3 square matrix. |
Matrix6x4 |
A stack-allocated, column-major, 6x4 square matrix. |
Matrix6x5 |
A stack-allocated, column-major, 6x5 square matrix. |
MatrixCross |
The type of the result of a matrix cross product. |
MatrixMN |
A staticaly sized column-major matrix with |
MatrixN |
A staticaly sized column-major square matrix with |
MatrixNM |
[ Deprecated ] A staticaly sized column-major matrix with |
MatrixSlice |
A matrix slice. |
MatrixSliceMut |
A matrix slice. |
MatrixSum |
The type of the result of a matrix sum. |
RowDVector |
A dynamically sized row vector. |
RowVector |
A matrix with one row and |
RowVector1 |
A stack-allocated, 1-dimensional row vector. |
RowVector2 |
A stack-allocated, 2-dimensional row vector. |
RowVector3 |
A stack-allocated, 3-dimensional row vector. |
RowVector4 |
A stack-allocated, 4-dimensional row vector. |
RowVector5 |
A stack-allocated, 5-dimensional row vector. |
RowVector6 |
A stack-allocated, 6-dimensional row vector. |
RowVectorN |
A statically sized D-dimensional row vector. |
SquareMatrix |
A square matrix. |
Vector |
A matrix with one column and |
Vector1 |
A stack-allocated, 1-dimensional column vector. |
Vector2 |
A stack-allocated, 2-dimensional column vector. |
Vector3 |
A stack-allocated, 3-dimensional column vector. |
Vector4 |
A stack-allocated, 4-dimensional column vector. |
Vector5 |
A stack-allocated, 5-dimensional column vector. |
Vector6 |
A stack-allocated, 6-dimensional column vector. |
VectorN |
A statically sized D-dimensional column vector. |
VectorSum |
The type of the result of a matrix sum. |