pub struct SymbolicQr<I> { /* private fields */ }Expand description
the symbolic structure of a sparse $QR$ decomposition
Implementations§
Source§impl<I: Index> SymbolicQr<I>
impl<I: Index> SymbolicQr<I>
Sourcepub fn col_perm(&self) -> PermRef<'_, I>
pub fn col_perm(&self) -> PermRef<'_, I>
returns the fill-reducing column permutation that was computed during symbolic analysis
Sourcepub fn len_idx(&self) -> usize
pub fn len_idx(&self) -> usize
returns the length of the slice needed to store the symbolic indices of the $QR$ decomposition
Sourcepub fn len_val(&self) -> usize
pub fn len_val(&self) -> usize
returns the length of the slice needed to store the numerical values of the $QR$ decomposition
Sourcepub fn solve_in_place_scratch<T>(&self, rhs_ncols: usize, par: Par) -> StackReqwhere
T: ComplexField,
pub fn solve_in_place_scratch<T>(&self, rhs_ncols: usize, par: Par) -> StackReqwhere
T: ComplexField,
returns the size and alignment of the workspace required to solve the system $A x = \text{rhs}$ in the sense of least squares
Sourcepub fn factorize_numeric_qr_scratch<T>(
&self,
par: Par,
params: Spec<QrParams, T>,
) -> StackReqwhere
T: ComplexField,
pub fn factorize_numeric_qr_scratch<T>(
&self,
par: Par,
params: Spec<QrParams, T>,
) -> StackReqwhere
T: ComplexField,
computes the required workspace size and alignment for a numerical $QR$ factorization
Sourcepub fn factorize_numeric_qr<'out, T: ComplexField>(
&'out self,
indices: &'out mut [I],
val: &'out mut [T],
A: SparseColMatRef<'_, I, T>,
par: Par,
stack: &mut MemStack,
params: Spec<QrParams, T>,
) -> QrRef<'out, I, T>
pub fn factorize_numeric_qr<'out, T: ComplexField>( &'out self, indices: &'out mut [I], val: &'out mut [T], A: SparseColMatRef<'_, I, T>, par: Par, stack: &mut MemStack, params: Spec<QrParams, T>, ) -> QrRef<'out, I, T>
computes a numerical $QR$ factorization of $A$
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for SymbolicQr<I>
impl<I> RefUnwindSafe for SymbolicQr<I>where
I: RefUnwindSafe,
impl<I> Send for SymbolicQr<I>where
I: Send,
impl<I> Sync for SymbolicQr<I>where
I: Sync,
impl<I> Unpin for SymbolicQr<I>where
I: Unpin,
impl<I> UnwindSafe for SymbolicQr<I>where
I: UnwindSafe,
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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