pub struct ParallelDecomposition;
Expand description
Parallel-aware matrix decomposition dispatcher
Implementations§
Source§impl ParallelDecomposition
impl ParallelDecomposition
Sourcepub fn cholesky<F>(
a: &ArrayView2<'_, F>,
workers: Option<usize>,
) -> LinalgResult<Array2<F>>
pub fn cholesky<F>( a: &ArrayView2<'_, F>, workers: Option<usize>, ) -> LinalgResult<Array2<F>>
Choose and execute the appropriate Cholesky decomposition implementation
Sourcepub fn lu<F>(
a: &ArrayView2<'_, F>,
workers: Option<usize>,
) -> LinalgResult<(Array2<F>, Array2<F>, Array2<F>)>
pub fn lu<F>( a: &ArrayView2<'_, F>, workers: Option<usize>, ) -> LinalgResult<(Array2<F>, Array2<F>, Array2<F>)>
Choose and execute the appropriate LU decomposition implementation
Sourcepub fn qr<F>(
a: &ArrayView2<'_, F>,
workers: Option<usize>,
) -> LinalgResult<(Array2<F>, Array2<F>)>
pub fn qr<F>( a: &ArrayView2<'_, F>, workers: Option<usize>, ) -> LinalgResult<(Array2<F>, Array2<F>)>
Choose and execute the appropriate QR decomposition implementation
Auto Trait Implementations§
impl Freeze for ParallelDecomposition
impl RefUnwindSafe for ParallelDecomposition
impl Send for ParallelDecomposition
impl Sync for ParallelDecomposition
impl Unpin for ParallelDecomposition
impl UnwindSafe for ParallelDecomposition
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
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