2019-03-23 21:29:07 +08:00
|
|
|
use crate::base::dimension::{Dynamic, U1, U2, U3, U4, U5, U6};
|
2022-11-12 00:29:55 +08:00
|
|
|
use crate::base::matrix_view::{ViewStorage, ViewStorageMut};
|
2021-04-11 17:00:38 +08:00
|
|
|
use crate::base::{Const, Matrix};
|
2022-11-14 17:56:13 +08:00
|
|
|
use crate::slice_deprecation_note;
|
2022-11-14 16:26:45 +08:00
|
|
|
|
2018-02-02 19:26:00 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Matrix slice aliases.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
2021-04-11 17:00:38 +08:00
|
|
|
// NOTE: we can't provide defaults for the strides because it's not supported yet by min_const_generics.
|
|
|
|
/// A column-major matrix slice with dimensions known at compile-time.
|
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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(SMatrixView)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type SMatrixSlice<'a, T, const R: usize, const C: usize> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Const<R>, Const<C>, ViewStorage<'a, T, Const<R>, Const<C>, Const<1>, Const<R>>>;
|
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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(DMatrixView)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type DMatrixSlice<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, Dynamic, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice1<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice2<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U2, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice3<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U3, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice4<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U4, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice5<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U5, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice6<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U6, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView1x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice1x2<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U2, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView1x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice1x3<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U3, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView1x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice1x4<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U4, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView1x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice1x5<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U5, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView1x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice1x6<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U6, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView2x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice2x1<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView2x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice2x3<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U3, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView2x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice2x4<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U4, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView2x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice2x5<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U5, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView2x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice2x6<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U6, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView3x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice3x1<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView3x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice3x2<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U2, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView3x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice3x4<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U4, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView3x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice3x5<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U5, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView3x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice3x6<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U6, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView4x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice4x1<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView4x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice4x2<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U2, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView4x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice4x3<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U3, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView4x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice4x5<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U5, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView4x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice4x6<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U6, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView5x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice5x1<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView5x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice5x2<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U2, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView5x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice5x3<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U3, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView5x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice5x4<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U4, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView5x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice5x6<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U6, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView6x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice6x1<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView6x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice6x2<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U2, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView6x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice6x3<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U3, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView6x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice6x4<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U4, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView6x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice6x5<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U5, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView1xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice1xX<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, Dynamic, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView2xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice2xX<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, Dynamic, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView3xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice3xX<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, Dynamic, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView4xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice4xX<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, Dynamic, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView5xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice5xX<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, Dynamic, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixView6xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSlice6xX<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, Dynamic, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewXx1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceXx1<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U1, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewXx2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceXx2<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U2, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewXx3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceXx3<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U3, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewXx4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceXx4<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U4, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewXx5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceXx5<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U5, ViewStorage<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewXx6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceXx6<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U6, ViewStorage<'a, T, Dynamic, U6, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
/// A column vector slice 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorView)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSlice<'a, T, D, RStride = U1, CStride = D> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, D, U1, ViewStorage<'a, T, D, U1, RStride, CStride>>;
|
2021-04-11 17:00:38 +08:00
|
|
|
|
|
|
|
/// A column vector slice 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(SVectorView)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type SVectorSlice<'a, T, const D: usize> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Const<D>, Const<1>, ViewStorage<'a, T, Const<D>, Const<1>, Const<1>, Const<D>>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
|
|
|
/// A column vector slice dynamic numbers of rows and columns.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(DVectorView)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type DVectorSlice<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorView1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSlice1<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorView2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSlice2<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorView3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSlice3<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorView4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSlice4<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorView5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSlice5<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorView6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSlice6<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U1, ViewStorage<'a, T, 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.**
|
2022-11-14 16:37:21 +08:00
|
|
|
#[deprecated = "Use MatrixViewMut instead, which has an identical definition."]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutMN<'a, T, R, C, RStride = U1, CStride = R> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, R, C, ViewStorageMut<'a, T, 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.**
|
2022-11-14 16:41:03 +08:00
|
|
|
#[deprecated = "Use MatrixViewMut instead."]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutN<'a, T, D, RStride = U1, CStride = D> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, D, D, ViewStorageMut<'a, T, D, D, RStride, CStride>>;
|
2021-04-11 17:00:38 +08:00
|
|
|
|
|
|
|
/// A column-major matrix slice 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(SMatrixViewMut)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type SMatrixSliceMut<'a, T, const R: usize, const C: usize> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Const<R>, Const<C>, ViewStorageMut<'a, T, Const<R>, Const<C>, Const<1>, Const<R>>>;
|
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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(DMatrixViewMut)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type DMatrixSliceMut<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, Dynamic, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut1<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U1, ViewStorageMut<'a, T, U1, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut2<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U2, ViewStorageMut<'a, T, U2, U2, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut3<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U3, ViewStorageMut<'a, T, U3, U3, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut4<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U4, ViewStorageMut<'a, T, U4, U4, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut5<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U5, ViewStorageMut<'a, T, U5, U5, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut6<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U6, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut1x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut1x2<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U2, ViewStorageMut<'a, T, U1, U2, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut1x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut1x3<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U3, ViewStorageMut<'a, T, U1, U3, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut1x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut1x4<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U4, ViewStorageMut<'a, T, U1, U4, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut1x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut1x5<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U5, ViewStorageMut<'a, T, U1, U5, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut1x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut1x6<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U6, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut2x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut2x1<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U1, ViewStorageMut<'a, T, U2, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut2x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut2x3<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U3, ViewStorageMut<'a, T, U2, U3, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut2x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut2x4<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U4, ViewStorageMut<'a, T, U2, U4, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut2x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut2x5<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U5, ViewStorageMut<'a, T, U2, U5, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut2x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut2x6<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U6, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut3x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut3x1<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U1, ViewStorageMut<'a, T, U3, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut3x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut3x2<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U2, ViewStorageMut<'a, T, U3, U2, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut3x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut3x4<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U4, ViewStorageMut<'a, T, U3, U4, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut3x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut3x5<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U5, ViewStorageMut<'a, T, U3, U5, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut3x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut3x6<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U6, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut4x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut4x1<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U1, ViewStorageMut<'a, T, U4, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut4x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut4x2<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U2, ViewStorageMut<'a, T, U4, U2, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut4x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut4x3<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U3, ViewStorageMut<'a, T, U4, U3, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut4x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut4x5<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U5, ViewStorageMut<'a, T, U4, U5, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut4x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut4x6<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U6, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut5x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut5x1<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U1, ViewStorageMut<'a, T, U5, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut5x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut5x2<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U2, ViewStorageMut<'a, T, U5, U2, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut5x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut5x3<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U3, ViewStorageMut<'a, T, U5, U3, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut5x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut5x4<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U4, ViewStorageMut<'a, T, U5, U4, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut5x6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut5x6<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U6, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut6x1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut6x1<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U1, ViewStorageMut<'a, T, U6, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut6x2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut6x2<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U2, ViewStorageMut<'a, T, U6, U2, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut6x3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut6x3<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U3, ViewStorageMut<'a, T, U6, U3, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut6x4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut6x4<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U4, ViewStorageMut<'a, T, U6, U4, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut6x5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut6x5<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U5, ViewStorageMut<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut1xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut1xX<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, Dynamic, ViewStorageMut<'a, T, U1, Dynamic, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with 2 rows and a number of columns chosen at runtime.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut2xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut2xX<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, Dynamic, ViewStorageMut<'a, T, U2, Dynamic, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with 3 rows and a number of columns chosen at runtime.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut3xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut3xX<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, Dynamic, ViewStorageMut<'a, T, U3, Dynamic, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with 4 rows and a number of columns chosen at runtime.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut4xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut4xX<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, Dynamic, ViewStorageMut<'a, T, U4, Dynamic, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with 5 rows and a number of columns chosen at runtime.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut5xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut5xX<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, Dynamic, ViewStorageMut<'a, T, U5, Dynamic, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with 6 rows and a number of columns chosen at runtime.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMut6xX)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMut6xX<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, Dynamic, ViewStorageMut<'a, T, 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.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMutXx1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutXx1<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U1, ViewStorageMut<'a, T, Dynamic, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 2 columns.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMutXx2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutXx2<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U2, ViewStorageMut<'a, T, Dynamic, U2, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 3 columns.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMutXx3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutXx3<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U3, ViewStorageMut<'a, T, Dynamic, U3, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 4 columns.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMutXx4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutXx4<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U4, ViewStorageMut<'a, T, Dynamic, U4, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 5 columns.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMutXx5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutXx5<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U5, ViewStorageMut<'a, T, Dynamic, U5, RStride, CStride>>;
|
2020-11-16 00:22:37 +08:00
|
|
|
/// A column-major matrix slice with a number of rows chosen at runtime and 6 columns.
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(MatrixViewMutXx6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type MatrixSliceMutXx6<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U6, ViewStorageMut<'a, T, Dynamic, U6, RStride, CStride>>;
|
2021-04-11 17:00:38 +08:00
|
|
|
|
|
|
|
/// A column vector slice 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorViewMut)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSliceMut<'a, T, D, RStride = U1, CStride = D> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, D, U1, ViewStorageMut<'a, T, D, U1, RStride, CStride>>;
|
2018-02-02 19:26:11 +08:00
|
|
|
|
2021-04-11 17:00:38 +08:00
|
|
|
/// A column vector slice 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(SVectorViewMut)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type SVectorSliceMut<'a, T, const D: usize> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Const<D>, Const<1>, ViewStorageMut<'a, T, Const<D>, Const<1>, Const<1>, Const<D>>>;
|
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.
|
2021-04-11 17:00:38 +08:00
|
|
|
///
|
|
|
|
/// **Because this is an alias, not all its methods are listed here. See the [`Matrix`](crate::base::Matrix) type too.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(DVectorViewMut)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type DVectorSliceMut<'a, T, RStride = U1, CStride = Dynamic> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, Dynamic, U1, ViewStorageMut<'a, T, 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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorViewMut1)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSliceMut1<'a, T, RStride = U1, CStride = U1> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U1, U1, ViewStorageMut<'a, T, U1, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorViewMut2)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSliceMut2<'a, T, RStride = U1, CStride = U2> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U2, U1, ViewStorageMut<'a, T, U2, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorViewMut3)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSliceMut3<'a, T, RStride = U1, CStride = U3> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U3, U1, ViewStorageMut<'a, T, U3, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorViewMut4)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSliceMut4<'a, T, RStride = U1, CStride = U4> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U4, U1, ViewStorageMut<'a, T, U4, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorViewMut5)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSliceMut5<'a, T, RStride = U1, CStride = U5> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U5, U1, ViewStorageMut<'a, T, U5, U1, RStride, CStride>>;
|
2020-11-16 00:22:37 +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.**
|
2022-11-14 17:56:13 +08:00
|
|
|
#[deprecated = slice_deprecation_note!(VectorViewMut6)]
|
2021-04-11 17:00:38 +08:00
|
|
|
pub type VectorSliceMut6<'a, T, RStride = U1, CStride = U6> =
|
2022-11-11 22:46:04 +08:00
|
|
|
Matrix<T, U6, U1, ViewStorageMut<'a, T, U6, U1, RStride, CStride>>;
|