pub struct StridedColMajorMatrixView<'a, F> { /* private fields */ }Expand description
Vertically strided column-major matrix view.
Implementations§
Source§impl<'a, F> StridedColMajorMatrixView<'a, F>
impl<'a, F> StridedColMajorMatrixView<'a, F>
Source§impl<'a, F> StridedColMajorMatrixView<'a, F>
impl<'a, F> StridedColMajorMatrixView<'a, F>
pub fn new(values: &'a [F], width: usize, stride: usize) -> Self
pub fn to_matrix(&self) -> ColMajorMatrix<F>where
F: Field,
pub fn to_row_major_matrix(&self) -> RowMajorMatrix<F>where
F: Field,
Trait Implementations§
Source§impl<'a, F: Clone> Clone for StridedColMajorMatrixView<'a, F>
impl<'a, F: Clone> Clone for StridedColMajorMatrixView<'a, F>
Source§fn clone(&self) -> StridedColMajorMatrixView<'a, F>
fn clone(&self) -> StridedColMajorMatrixView<'a, F>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, F: Copy> Copy for StridedColMajorMatrixView<'a, F>
Source§impl<'a, F: Debug> Debug for StridedColMajorMatrixView<'a, F>
impl<'a, F: Debug> Debug for StridedColMajorMatrixView<'a, F>
Source§impl<'a, F> From<ColMajorMatrixView<'a, F>> for StridedColMajorMatrixView<'a, F>
impl<'a, F> From<ColMajorMatrixView<'a, F>> for StridedColMajorMatrixView<'a, F>
Source§fn from(mat: ColMajorMatrixView<'a, F>) -> Self
fn from(mat: ColMajorMatrixView<'a, F>) -> Self
Converts to this type from the input type.
Source§impl<F> MatrixDimensions for StridedColMajorMatrixView<'_, F>
impl<F> MatrixDimensions for StridedColMajorMatrixView<'_, F>
Auto Trait Implementations§
impl<'a, F> Freeze for StridedColMajorMatrixView<'a, F>
impl<'a, F> RefUnwindSafe for StridedColMajorMatrixView<'a, F>where
F: RefUnwindSafe,
impl<'a, F> Send for StridedColMajorMatrixView<'a, F>where
F: Sync,
impl<'a, F> Sync for StridedColMajorMatrixView<'a, F>where
F: Sync,
impl<'a, F> Unpin for StridedColMajorMatrixView<'a, F>
impl<'a, F> UnsafeUnpin for StridedColMajorMatrixView<'a, F>
impl<'a, F> UnwindSafe for StridedColMajorMatrixView<'a, F>where
F: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more