2019-03-23 21:29:07 +08:00
|
|
|
use crate::base::dimension::{Dynamic, U1, U2, U3, U4, U5, U6};
|
|
|
|
use crate::base::matrix_slice::{SliceStorage, SliceStorageMut};
|
|
|
|
use crate::base::Matrix;
|
2018-02-02 19:26:00 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Matrix slice aliases.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
/// A column-major matrix slice with `R` rows and `C` columns.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMN<'a, N, R, C, RStride = U1, CStride = R> =
|
|
|
|
Matrix<N, R, C, SliceStorage<'a, N, R, C, RStride, CStride>>;
|
2018-02-02 19:26:00 +08:00
|
|
|
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with `D` rows and columns.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceN<'a, N, D, RStride = U1, CStride = D> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, D, D, SliceStorage<'a, N, D, D, RStride, CStride>>;
|
2018-02-02 19:26:00 +08:00
|
|
|
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice dynamic numbers of rows and columns.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type DMatrixSlice<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, Dynamic, SliceStorage<'a, N, Dynamic, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:00 +08:00
|
|
|
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 1x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice1<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U1, SliceStorage<'a, N, U1, U1, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 2x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice2<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U2, SliceStorage<'a, N, U2, U2, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 3x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice3<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U3, SliceStorage<'a, N, U3, U3, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 4x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice4<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U4, SliceStorage<'a, N, U4, U4, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 5x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice5<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U5, SliceStorage<'a, N, U5, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 6x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice6<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U6, SliceStorage<'a, N, U6, U6, RStride, CStride>>;
|
2018-02-02 19:26:00 +08:00
|
|
|
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 1x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice1x2<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U2, SliceStorage<'a, N, U1, U2, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 1x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice1x3<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U3, SliceStorage<'a, N, U1, U3, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 1x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice1x4<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U4, SliceStorage<'a, N, U1, U4, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 1x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice1x5<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U5, SliceStorage<'a, N, U1, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 1x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice1x6<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U6, SliceStorage<'a, N, U1, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
|
|
|
/// A column-major 2x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice2x1<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U1, SliceStorage<'a, N, U2, U1, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 2x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice2x3<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U3, SliceStorage<'a, N, U2, U3, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 2x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice2x4<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U4, SliceStorage<'a, N, U2, U4, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 2x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice2x5<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U5, SliceStorage<'a, N, U2, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 2x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice2x6<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U6, SliceStorage<'a, N, U2, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
|
|
|
/// A column-major 3x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice3x1<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U1, SliceStorage<'a, N, U3, U1, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 3x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice3x2<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U2, SliceStorage<'a, N, U3, U2, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 3x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice3x4<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U4, SliceStorage<'a, N, U3, U4, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 3x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice3x5<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U5, SliceStorage<'a, N, U3, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 3x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice3x6<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U6, SliceStorage<'a, N, U3, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
|
|
|
/// A column-major 4x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice4x1<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U1, SliceStorage<'a, N, U4, U1, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 4x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice4x2<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U2, SliceStorage<'a, N, U4, U2, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 4x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice4x3<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U3, SliceStorage<'a, N, U4, U3, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 4x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice4x5<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U5, SliceStorage<'a, N, U4, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 4x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice4x6<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U6, SliceStorage<'a, N, U4, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
|
|
|
/// A column-major 5x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice5x1<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U1, SliceStorage<'a, N, U5, U1, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 5x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice5x2<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U2, SliceStorage<'a, N, U5, U2, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 5x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice5x3<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U3, SliceStorage<'a, N, U5, U3, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 5x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice5x4<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U4, SliceStorage<'a, N, U5, U4, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 5x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice5x6<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U6, SliceStorage<'a, N, U5, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
|
|
|
/// A column-major 6x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice6x1<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U1, SliceStorage<'a, N, U6, U1, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 6x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice6x2<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U2, SliceStorage<'a, N, U6, U2, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 6x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice6x3<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U3, SliceStorage<'a, N, U6, U3, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 6x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice6x4<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U4, SliceStorage<'a, N, U6, U4, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major 6x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice6x5<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U5, SliceStorage<'a, N, U6, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
|
|
|
/// A column-major matrix slice with 1 row and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice1xX<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, Dynamic, SliceStorage<'a, N, U1, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with 2 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice2xX<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, Dynamic, SliceStorage<'a, N, U2, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with 3 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice3xX<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, Dynamic, SliceStorage<'a, N, U3, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with 4 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice4xX<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, Dynamic, SliceStorage<'a, N, U4, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with 5 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice5xX<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, Dynamic, SliceStorage<'a, N, U5, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with 6 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSlice6xX<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, Dynamic, SliceStorage<'a, N, U6, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 1 column.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceXx1<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U1, SliceStorage<'a, N, Dynamic, U1, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 2 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceXx2<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U2, SliceStorage<'a, N, Dynamic, U2, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 3 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceXx3<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U3, SliceStorage<'a, N, Dynamic, U3, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 4 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceXx4<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U4, SliceStorage<'a, N, Dynamic, U4, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 5 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceXx5<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U5, SliceStorage<'a, N, Dynamic, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 6 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceXx6<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U6, SliceStorage<'a, N, Dynamic, U6, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
|
|
|
/// A column vector slice with `D` rows.
|
2018-12-09 18:22:21 +08:00
|
|
|
pub type VectorSliceN<'a, N, D, RStride = U1, CStride = D> =
|
|
|
|
Matrix<N, D, U1, SliceStorage<'a, N, D, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
|
|
|
/// A column vector slice dynamic numbers of rows and columns.
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type DVectorSlice<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U1, SliceStorage<'a, N, Dynamic, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
|
|
|
/// A 1D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSlice1<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U1, SliceStorage<'a, N, U1, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
/// A 2D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSlice2<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U1, SliceStorage<'a, N, U2, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
/// A 3D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSlice3<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U1, SliceStorage<'a, N, U3, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
/// A 4D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSlice4<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U1, SliceStorage<'a, N, U4, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
/// A 5D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSlice5<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U1, SliceStorage<'a, N, U5, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
/// A 6D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSlice6<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U1, SliceStorage<'a, N, U6, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
2018-02-02 19:26:00 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Same thing, but for mutable slices.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with `R` rows and `C` columns.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutMN<'a, N, R, C, RStride = U1, CStride = R> =
|
|
|
|
Matrix<N, R, C, SliceStorageMut<'a, N, R, C, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with `D` rows and columns.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutN<'a, N, D, RStride = U1, CStride = D> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, D, D, SliceStorageMut<'a, N, D, D, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice dynamic numbers of rows and columns.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type DMatrixSliceMut<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, Dynamic, SliceStorageMut<'a, N, Dynamic, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major 1x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut1<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U1, SliceStorageMut<'a, N, U1, U1, RStride, CStride>>;
|
|
|
|
/// A column-major 2x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut2<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U2, SliceStorageMut<'a, N, U2, U2, RStride, CStride>>;
|
|
|
|
/// A column-major 3x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut3<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U3, SliceStorageMut<'a, N, U3, U3, RStride, CStride>>;
|
|
|
|
/// A column-major 4x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut4<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U4, SliceStorageMut<'a, N, U4, U4, RStride, CStride>>;
|
|
|
|
/// A column-major 5x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut5<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U5, SliceStorageMut<'a, N, U5, U5, RStride, CStride>>;
|
|
|
|
/// A column-major 6x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut6<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U6, SliceStorageMut<'a, N, U6, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major 1x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut1x2<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U2, SliceStorageMut<'a, N, U1, U2, RStride, CStride>>;
|
|
|
|
/// A column-major 1x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut1x3<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U3, SliceStorageMut<'a, N, U1, U3, RStride, CStride>>;
|
|
|
|
/// A column-major 1x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut1x4<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U4, SliceStorageMut<'a, N, U1, U4, RStride, CStride>>;
|
|
|
|
/// A column-major 1x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut1x5<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U5, SliceStorageMut<'a, N, U1, U5, RStride, CStride>>;
|
|
|
|
/// A column-major 1x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut1x6<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U6, SliceStorageMut<'a, N, U1, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major 2x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut2x1<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U1, SliceStorageMut<'a, N, U2, U1, RStride, CStride>>;
|
|
|
|
/// A column-major 2x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut2x3<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U3, SliceStorageMut<'a, N, U2, U3, RStride, CStride>>;
|
|
|
|
/// A column-major 2x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut2x4<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U4, SliceStorageMut<'a, N, U2, U4, RStride, CStride>>;
|
|
|
|
/// A column-major 2x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut2x5<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U5, SliceStorageMut<'a, N, U2, U5, RStride, CStride>>;
|
|
|
|
/// A column-major 2x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut2x6<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U6, SliceStorageMut<'a, N, U2, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major 3x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut3x1<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U1, SliceStorageMut<'a, N, U3, U1, RStride, CStride>>;
|
|
|
|
/// A column-major 3x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut3x2<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U2, SliceStorageMut<'a, N, U3, U2, RStride, CStride>>;
|
|
|
|
/// A column-major 3x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut3x4<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U4, SliceStorageMut<'a, N, U3, U4, RStride, CStride>>;
|
|
|
|
/// A column-major 3x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut3x5<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U5, SliceStorageMut<'a, N, U3, U5, RStride, CStride>>;
|
|
|
|
/// A column-major 3x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut3x6<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U6, SliceStorageMut<'a, N, U3, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major 4x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut4x1<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U1, SliceStorageMut<'a, N, U4, U1, RStride, CStride>>;
|
|
|
|
/// A column-major 4x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut4x2<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U2, SliceStorageMut<'a, N, U4, U2, RStride, CStride>>;
|
|
|
|
/// A column-major 4x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut4x3<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U3, SliceStorageMut<'a, N, U4, U3, RStride, CStride>>;
|
|
|
|
/// A column-major 4x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut4x5<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U5, SliceStorageMut<'a, N, U4, U5, RStride, CStride>>;
|
|
|
|
/// A column-major 4x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut4x6<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U6, SliceStorageMut<'a, N, U4, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major 5x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut5x1<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U1, SliceStorageMut<'a, N, U5, U1, RStride, CStride>>;
|
|
|
|
/// A column-major 5x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut5x2<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U2, SliceStorageMut<'a, N, U5, U2, RStride, CStride>>;
|
|
|
|
/// A column-major 5x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut5x3<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U3, SliceStorageMut<'a, N, U5, U3, RStride, CStride>>;
|
|
|
|
/// A column-major 5x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut5x4<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U4, SliceStorageMut<'a, N, U5, U4, RStride, CStride>>;
|
|
|
|
/// A column-major 5x6 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut5x6<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U6, SliceStorageMut<'a, N, U5, U6, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major 6x1 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut6x1<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U1, SliceStorageMut<'a, N, U6, U1, RStride, CStride>>;
|
|
|
|
/// A column-major 6x2 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut6x2<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U2, SliceStorageMut<'a, N, U6, U2, RStride, CStride>>;
|
|
|
|
/// A column-major 6x3 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut6x3<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U3, SliceStorageMut<'a, N, U6, U3, RStride, CStride>>;
|
|
|
|
/// A column-major 6x4 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut6x4<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U4, SliceStorageMut<'a, N, U6, U4, RStride, CStride>>;
|
|
|
|
/// A column-major 6x5 matrix slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut6x5<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U5, SliceStorageMut<'a, N, U6, U5, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with 1 row and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut1xX<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, Dynamic, SliceStorageMut<'a, N, U1, Dynamic, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with 2 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut2xX<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, Dynamic, SliceStorageMut<'a, N, U2, Dynamic, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with 3 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut3xX<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, Dynamic, SliceStorageMut<'a, N, U3, Dynamic, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with 4 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut4xX<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, Dynamic, SliceStorageMut<'a, N, U4, Dynamic, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with 5 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut5xX<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, Dynamic, SliceStorageMut<'a, N, U5, Dynamic, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with 6 rows and a number of columns chosen at runtime.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMut6xX<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, Dynamic, SliceStorageMut<'a, N, U6, Dynamic, RStride, CStride>>;
|
2018-02-02 19:26:04 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 1 column.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutXx1<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U1, SliceStorageMut<'a, N, Dynamic, U1, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 2 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutXx2<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U2, SliceStorageMut<'a, N, Dynamic, U2, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 3 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutXx3<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U3, SliceStorageMut<'a, N, Dynamic, U3, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 4 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutXx4<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U4, SliceStorageMut<'a, N, Dynamic, U4, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 5 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutXx5<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U5, SliceStorageMut<'a, N, Dynamic, U5, RStride, CStride>>;
|
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 6 columns.
|
2018-02-02 19:26:35 +08:00
|
|
|
pub type MatrixSliceMutXx6<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U6, SliceStorageMut<'a, N, Dynamic, U6, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column vector slice with `D` rows.
|
2018-12-09 18:22:21 +08:00
|
|
|
pub type VectorSliceMutN<'a, N, D, RStride = U1, CStride = D> =
|
|
|
|
Matrix<N, D, U1, SliceStorageMut<'a, N, D, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column vector slice dynamic numbers of rows and columns.
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type DVectorSliceMut<'a, N, RStride = U1, CStride = Dynamic> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, Dynamic, U1, SliceStorageMut<'a, N, Dynamic, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A 1D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSliceMut1<'a, N, RStride = U1, CStride = U1> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U1, U1, SliceStorageMut<'a, N, U1, U1, RStride, CStride>>;
|
|
|
|
/// A 2D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSliceMut2<'a, N, RStride = U1, CStride = U2> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U2, U1, SliceStorageMut<'a, N, U2, U1, RStride, CStride>>;
|
|
|
|
/// A 3D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSliceMut3<'a, N, RStride = U1, CStride = U3> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U3, U1, SliceStorageMut<'a, N, U3, U1, RStride, CStride>>;
|
|
|
|
/// A 4D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSliceMut4<'a, N, RStride = U1, CStride = U4> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U4, U1, SliceStorageMut<'a, N, U4, U1, RStride, CStride>>;
|
|
|
|
/// A 5D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSliceMut5<'a, N, RStride = U1, CStride = U5> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U5, U1, SliceStorageMut<'a, N, U5, U1, RStride, CStride>>;
|
|
|
|
/// A 6D column vector slice.
|
2020-11-21 00:46:03 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2020-04-06 00:49:48 +08:00
|
|
|
pub type VectorSliceMut6<'a, N, RStride = U1, CStride = U6> =
|
2020-11-16 00:22:37 +08:00
|
|
|
Matrix<N, U6, U1, SliceStorageMut<'a, N, U6, U1, RStride, CStride>>;
|