pub struct LstsqAuxResult<R: Scalar> {
pub rank: Tensor<R>,
pub singular_values: Tensor<R>,
}Expand description
Auxiliary metadata for least-squares solves.
Fields§
§rank: Tensor<R>Numerical rank per batch item, stored as a batch-shaped real-valued count tensor.
singular_values: Tensor<R>Singular values used for the rank estimate.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for LstsqAuxResult<R>
impl<R> !RefUnwindSafe for LstsqAuxResult<R>
impl<R> Send for LstsqAuxResult<R>
impl<R> Sync for LstsqAuxResult<R>
impl<R> Unpin for LstsqAuxResult<R>
impl<R> !UnwindSafe for LstsqAuxResult<R>
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<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
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