Add View type aliases
This commit is contained in:
parent
9a7e92e902
commit
4234883d23
|
@ -0,0 +1,589 @@
|
||||||
|
use crate::base::dimension::{Dynamic, U1, U2, U3, U4, U5, U6};
|
||||||
|
use crate::base::matrix_view::{ViewStorage, ViewStorageMut};
|
||||||
|
use crate::base::{Const, Matrix};
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Matrix view aliases.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
// NOTE: we can't provide defaults for the strides because it's not supported yet by min_const_generics.
|
||||||
|
/// A column-major matrix view with dimensions known at compile-time.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type SMatrixView<'a, T, const R: usize, const C: usize> =
|
||||||
|
Matrix<T, Const<R>, Const<C>, ViewStorage<'a, T, Const<R>, Const<C>, Const<1>, Const<R>>>;
|
||||||
|
|
||||||
|
/// A column-major matrix view dynamic numbers of rows and columns.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type DMatrixView<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, Dynamic, ViewStorage<'a, T, Dynamic, Dynamic, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 1x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView1<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U1, ViewStorage<'a, T, U1, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 2x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView2<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U2, ViewStorage<'a, T, U2, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 3x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView3<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U3, ViewStorage<'a, T, U3, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 4x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView4<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U4, ViewStorage<'a, T, U4, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 5x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView5<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U5, ViewStorage<'a, T, U5, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 6x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView6<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U6, ViewStorage<'a, T, U6, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 1x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView1x2<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U2, ViewStorage<'a, T, U1, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 1x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView1x3<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U3, ViewStorage<'a, T, U1, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 1x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView1x4<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U4, ViewStorage<'a, T, U1, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 1x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView1x5<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U5, ViewStorage<'a, T, U1, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 1x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView1x6<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U6, ViewStorage<'a, T, U1, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 2x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView2x1<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U1, ViewStorage<'a, T, U2, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 2x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView2x3<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U3, ViewStorage<'a, T, U2, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 2x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView2x4<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U4, ViewStorage<'a, T, U2, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 2x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView2x5<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U5, ViewStorage<'a, T, U2, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 2x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView2x6<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U6, ViewStorage<'a, T, U2, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 3x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView3x1<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U1, ViewStorage<'a, T, U3, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 3x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView3x2<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U2, ViewStorage<'a, T, U3, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 3x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView3x4<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U4, ViewStorage<'a, T, U3, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 3x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView3x5<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U5, ViewStorage<'a, T, U3, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 3x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView3x6<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U6, ViewStorage<'a, T, U3, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 4x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView4x1<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U1, ViewStorage<'a, T, U4, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 4x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView4x2<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U2, ViewStorage<'a, T, U4, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 4x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView4x3<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U3, ViewStorage<'a, T, U4, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 4x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView4x5<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U5, ViewStorage<'a, T, U4, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 4x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView4x6<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U6, ViewStorage<'a, T, U4, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 5x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView5x1<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U1, ViewStorage<'a, T, U5, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 5x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView5x2<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U2, ViewStorage<'a, T, U5, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 5x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView5x3<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U3, ViewStorage<'a, T, U5, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 5x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView5x4<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U4, ViewStorage<'a, T, U5, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 5x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView5x6<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U6, ViewStorage<'a, T, U5, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 6x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView6x1<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U1, ViewStorage<'a, T, U6, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 6x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView6x2<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U2, ViewStorage<'a, T, U6, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 6x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView6x3<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U3, ViewStorage<'a, T, U6, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 6x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView6x4<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U4, ViewStorage<'a, T, U6, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 6x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixView6x5<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U5, ViewStorage<'a, T, U6, U5, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major matrix view with 1 row and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixView1xX<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, Dynamic, ViewStorage<'a, T, U1, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 2 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixView2xX<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, Dynamic, ViewStorage<'a, T, U2, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 3 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixView3xX<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, Dynamic, ViewStorage<'a, T, U3, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 4 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixView4xX<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, Dynamic, ViewStorage<'a, T, U4, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 5 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixView5xX<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, Dynamic, ViewStorage<'a, T, U5, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 6 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixView6xX<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, Dynamic, ViewStorage<'a, T, U6, Dynamic, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 1 column.
|
||||||
|
pub type MatrixViewXx1<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U1, ViewStorage<'a, T, Dynamic, U1, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 2 columns.
|
||||||
|
pub type MatrixViewXx2<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U2, ViewStorage<'a, T, Dynamic, U2, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 3 columns.
|
||||||
|
pub type MatrixViewXx3<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U3, ViewStorage<'a, T, Dynamic, U3, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 4 columns.
|
||||||
|
pub type MatrixViewXx4<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U4, ViewStorage<'a, T, Dynamic, U4, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 5 columns.
|
||||||
|
pub type MatrixViewXx5<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U5, ViewStorage<'a, T, Dynamic, U5, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 6 columns.
|
||||||
|
pub type MatrixViewXx6<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U6, ViewStorage<'a, T, Dynamic, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column vector view with dimensions known at compile-time.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorView<'a, T, D, RStride = U1, CStride = D> =
|
||||||
|
Matrix<T, D, U1, ViewStorage<'a, T, D, U1, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column vector view with dimensions known at compile-time.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type SVectorView<'a, T, const D: usize> =
|
||||||
|
Matrix<T, Const<D>, Const<1>, ViewStorage<'a, T, Const<D>, Const<1>, Const<1>, Const<D>>>;
|
||||||
|
|
||||||
|
/// A column vector view dynamic numbers of rows and columns.
|
||||||
|
pub type DVectorView<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U1, ViewStorage<'a, T, Dynamic, U1, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A 1D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorView1<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U1, ViewStorage<'a, T, U1, U1, RStride, CStride>>;
|
||||||
|
/// A 2D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorView2<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U1, ViewStorage<'a, T, U2, U1, RStride, CStride>>;
|
||||||
|
/// A 3D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorView3<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U1, ViewStorage<'a, T, U3, U1, RStride, CStride>>;
|
||||||
|
/// A 4D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorView4<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U1, ViewStorage<'a, T, U4, U1, RStride, CStride>>;
|
||||||
|
/// A 5D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorView5<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U1, ViewStorage<'a, T, U5, U1, RStride, CStride>>;
|
||||||
|
/// A 6D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorView6<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U1, ViewStorage<'a, T, U6, U1, RStride, CStride>>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Same thing, but for mutable views.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/// A column-major matrix view with dimensions known at compile-time.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type SMatrixViewMut<'a, T, const R: usize, const C: usize> =
|
||||||
|
Matrix<T, Const<R>, Const<C>, ViewStorageMut<'a, T, Const<R>, Const<C>, Const<1>, Const<R>>>;
|
||||||
|
|
||||||
|
/// A column-major matrix view dynamic numbers of rows and columns.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type DMatrixViewMut<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, Dynamic, ViewStorageMut<'a, T, Dynamic, Dynamic, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 1x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut1<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U1, ViewStorageMut<'a, T, U1, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 2x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut2<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U2, ViewStorageMut<'a, T, U2, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 3x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut3<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U3, ViewStorageMut<'a, T, U3, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 4x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut4<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U4, ViewStorageMut<'a, T, U4, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 5x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut5<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U5, ViewStorageMut<'a, T, U5, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 6x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut6<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U6, ViewStorageMut<'a, T, U6, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 1x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut1x2<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U2, ViewStorageMut<'a, T, U1, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 1x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut1x3<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U3, ViewStorageMut<'a, T, U1, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 1x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut1x4<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U4, ViewStorageMut<'a, T, U1, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 1x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut1x5<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U5, ViewStorageMut<'a, T, U1, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 1x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut1x6<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U6, ViewStorageMut<'a, T, U1, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 2x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut2x1<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U1, ViewStorageMut<'a, T, U2, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 2x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut2x3<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U3, ViewStorageMut<'a, T, U2, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 2x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut2x4<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U4, ViewStorageMut<'a, T, U2, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 2x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut2x5<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U5, ViewStorageMut<'a, T, U2, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 2x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut2x6<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U6, ViewStorageMut<'a, T, U2, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 3x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut3x1<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U1, ViewStorageMut<'a, T, U3, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 3x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut3x2<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U2, ViewStorageMut<'a, T, U3, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 3x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut3x4<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U4, ViewStorageMut<'a, T, U3, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 3x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut3x5<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U5, ViewStorageMut<'a, T, U3, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 3x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut3x6<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U6, ViewStorageMut<'a, T, U3, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 4x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut4x1<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U1, ViewStorageMut<'a, T, U4, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 4x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut4x2<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U2, ViewStorageMut<'a, T, U4, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 4x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut4x3<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U3, ViewStorageMut<'a, T, U4, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 4x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut4x5<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U5, ViewStorageMut<'a, T, U4, U5, RStride, CStride>>;
|
||||||
|
/// A column-major 4x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut4x6<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U6, ViewStorageMut<'a, T, U4, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 5x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut5x1<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U1, ViewStorageMut<'a, T, U5, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 5x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut5x2<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U2, ViewStorageMut<'a, T, U5, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 5x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut5x3<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U3, ViewStorageMut<'a, T, U5, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 5x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut5x4<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U4, ViewStorageMut<'a, T, U5, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 5x6 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut5x6<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U6, ViewStorageMut<'a, T, U5, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major 6x1 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut6x1<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U1, ViewStorageMut<'a, T, U6, U1, RStride, CStride>>;
|
||||||
|
/// A column-major 6x2 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut6x2<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U2, ViewStorageMut<'a, T, U6, U2, RStride, CStride>>;
|
||||||
|
/// A column-major 6x3 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut6x3<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U3, ViewStorageMut<'a, T, U6, U3, RStride, CStride>>;
|
||||||
|
/// A column-major 6x4 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut6x4<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U4, ViewStorageMut<'a, T, U6, U4, RStride, CStride>>;
|
||||||
|
/// A column-major 6x5 matrix view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type MatrixViewMut6x5<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U5, ViewStorageMut<'a, T, U6, U5, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major matrix view with 1 row and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixViewMut1xX<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, Dynamic, ViewStorageMut<'a, T, U1, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 2 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixViewMut2xX<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, Dynamic, ViewStorageMut<'a, T, U2, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 3 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixViewMut3xX<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, Dynamic, ViewStorageMut<'a, T, U3, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 4 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixViewMut4xX<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, Dynamic, ViewStorageMut<'a, T, U4, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 5 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixViewMut5xX<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, Dynamic, ViewStorageMut<'a, T, U5, Dynamic, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with 6 rows and a number of columns chosen at runtime.
|
||||||
|
pub type MatrixViewMut6xX<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, Dynamic, ViewStorageMut<'a, T, U6, Dynamic, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 1 column.
|
||||||
|
pub type MatrixViewMutXx1<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U1, ViewStorageMut<'a, T, Dynamic, U1, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 2 columns.
|
||||||
|
pub type MatrixViewMutXx2<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U2, ViewStorageMut<'a, T, Dynamic, U2, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 3 columns.
|
||||||
|
pub type MatrixViewMutXx3<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U3, ViewStorageMut<'a, T, Dynamic, U3, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 4 columns.
|
||||||
|
pub type MatrixViewMutXx4<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U4, ViewStorageMut<'a, T, Dynamic, U4, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 5 columns.
|
||||||
|
pub type MatrixViewMutXx5<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U5, ViewStorageMut<'a, T, Dynamic, U5, RStride, CStride>>;
|
||||||
|
/// A column-major matrix view with a number of rows chosen at runtime and 6 columns.
|
||||||
|
pub type MatrixViewMutXx6<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U6, ViewStorageMut<'a, T, Dynamic, U6, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column vector view with dimensions known at compile-time.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorViewMut<'a, T, D, RStride = U1, CStride = D> =
|
||||||
|
Matrix<T, D, U1, ViewStorageMut<'a, T, D, U1, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A column vector view with dimensions known at compile-time.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type SVectorViewMut<'a, T, const D: usize> =
|
||||||
|
Matrix<T, Const<D>, Const<1>, ViewStorageMut<'a, T, Const<D>, Const<1>, Const<1>, Const<D>>>;
|
||||||
|
|
||||||
|
/// A column vector view dynamic numbers of rows and columns.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type DVectorViewMut<'a, T, RStride = U1, CStride = Dynamic> =
|
||||||
|
Matrix<T, Dynamic, U1, ViewStorageMut<'a, T, Dynamic, U1, RStride, CStride>>;
|
||||||
|
|
||||||
|
/// A 1D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorViewMut1<'a, T, RStride = U1, CStride = U1> =
|
||||||
|
Matrix<T, U1, U1, ViewStorageMut<'a, T, U1, U1, RStride, CStride>>;
|
||||||
|
/// A 2D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorViewMut2<'a, T, RStride = U1, CStride = U2> =
|
||||||
|
Matrix<T, U2, U1, ViewStorageMut<'a, T, U2, U1, RStride, CStride>>;
|
||||||
|
/// A 3D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorViewMut3<'a, T, RStride = U1, CStride = U3> =
|
||||||
|
Matrix<T, U3, U1, ViewStorageMut<'a, T, U3, U1, RStride, CStride>>;
|
||||||
|
/// A 4D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorViewMut4<'a, T, RStride = U1, CStride = U4> =
|
||||||
|
Matrix<T, U4, U1, ViewStorageMut<'a, T, U4, U1, RStride, CStride>>;
|
||||||
|
/// A 5D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorViewMut5<'a, T, RStride = U1, CStride = U5> =
|
||||||
|
Matrix<T, U5, U1, ViewStorageMut<'a, T, U5, U1, RStride, CStride>>;
|
||||||
|
/// A 6D column vector view.
|
||||||
|
///
|
||||||
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
||||||
|
pub type VectorViewMut6<'a, T, RStride = U1, CStride = U6> =
|
||||||
|
Matrix<T, U6, U1, ViewStorageMut<'a, T, U6, U1, RStride, CStride>>;
|
|
@ -12,6 +12,7 @@ pub mod storage;
|
||||||
|
|
||||||
mod alias;
|
mod alias;
|
||||||
mod alias_slice;
|
mod alias_slice;
|
||||||
|
mod alias_view;
|
||||||
mod array_storage;
|
mod array_storage;
|
||||||
mod cg;
|
mod cg;
|
||||||
mod componentwise;
|
mod componentwise;
|
||||||
|
@ -51,6 +52,7 @@ pub use self::dimension::*;
|
||||||
|
|
||||||
pub use self::alias::*;
|
pub use self::alias::*;
|
||||||
pub use self::alias_slice::*;
|
pub use self::alias_slice::*;
|
||||||
|
pub use self::alias_view::*;
|
||||||
pub use self::array_storage::*;
|
pub use self::array_storage::*;
|
||||||
pub use self::matrix_view::*;
|
pub use self::matrix_view::*;
|
||||||
pub use self::storage::*;
|
pub use self::storage::*;
|
||||||
|
|
Loading…
Reference in New Issue