Fixed a (presumed) typo in documentation in matrix_view.rs
Fixed a (presumed) typo in documentation in matrix_view.rs. Previously it says fixed_view and fixed_slice returns a matrix with `(R::dim(), CView::dim())` consecutive components. I just changed R to RView, because presumably this is a typo.
This commit is contained in:
parent
a803815bd1
commit
119d69198e
|
@ -546,7 +546,7 @@ 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::dim(),
|
||||||
/// CView::dim())` consecutive components.
|
/// CView::dim())` consecutive components.
|
||||||
#[inline]
|
#[inline]
|
||||||
#[deprecated = slice_deprecation_note!($fixed_view)]
|
#[deprecated = slice_deprecation_note!($fixed_view)]
|
||||||
|
@ -555,7 +555,7 @@ 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 `(RView::dim(),
|
||||||
/// CView::dim())` consecutive components.
|
/// CView::dim())` 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)
|
||||||
|
|
Loading…
Reference in New Issue