Fixed a typo in documentation in matrix_view.rs
This commit is contained in:
parent
a803815bd1
commit
e84ea21c74
|
@ -546,8 +546,8 @@ macro_rules! matrix_view_impl (
|
||||||
$me.$generic_view_with_steps(start, shape, steps)
|
$me.$generic_view_with_steps(start, shape, steps)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Slices this matrix starting at its component `(irow, icol)` and with `(R::dim(),
|
/// Slices this matrix starting at its component `(irow, icol)` and with `(RVIEW, CVIEW)`
|
||||||
/// CView::dim())` consecutive components.
|
/// consecutive components.
|
||||||
#[inline]
|
#[inline]
|
||||||
#[deprecated = slice_deprecation_note!($fixed_view)]
|
#[deprecated = slice_deprecation_note!($fixed_view)]
|
||||||
pub fn $fixed_slice<const RVIEW: usize, const CVIEW: usize>($me: $Me, irow: usize, icol: usize)
|
pub fn $fixed_slice<const RVIEW: usize, const CVIEW: usize>($me: $Me, irow: usize, icol: usize)
|
||||||
|
@ -555,8 +555,8 @@ macro_rules! matrix_view_impl (
|
||||||
$me.$fixed_view(irow, icol)
|
$me.$fixed_view(irow, icol)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return a view of this matrix starting at its component `(irow, icol)` and with `(R::dim(),
|
/// Return a view of this matrix starting at its component `(irow, icol)` and with
|
||||||
/// CView::dim())` consecutive components.
|
/// `(RVIEW, CVIEW)` consecutive components.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn $fixed_view<const RVIEW: usize, const CVIEW: usize>($me: $Me, irow: usize, icol: usize)
|
pub fn $fixed_view<const RVIEW: usize, const CVIEW: usize>($me: $Me, irow: usize, icol: usize)
|
||||||
-> $MatrixView<'_, T, Const<RVIEW>, Const<CVIEW>, S::RStride, S::CStride> {
|
-> $MatrixView<'_, T, Const<RVIEW>, Const<CVIEW>, S::RStride, S::CStride> {
|
||||||
|
|
Loading…
Reference in New Issue