pub struct EigCotangent<R: LinalgScalar<Real = R> + Float> {
pub values: Option<Tensor<Complex<R>>>,
pub vectors: Option<Tensor<Complex<R>>>,
}Expand description
Cotangent (adjoint) for general eigendecomposition outputs.
§Examples
use tenferro_linalg::EigCotangent;
let cotangent = EigCotangent::<f64> {
values: None,
vectors: None,
};
assert!(cotangent.vectors.is_none());Fields§
§values: Option<Tensor<Complex<R>>>Cotangent for eigenvalues.
vectors: Option<Tensor<Complex<R>>>Cotangent for eigenvectors.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for EigCotangent<R>
impl<R> !RefUnwindSafe for EigCotangent<R>
impl<R> Send for EigCotangent<R>
impl<R> Sync for EigCotangent<R>
impl<R> Unpin for EigCotangent<R>
impl<R> !UnwindSafe for EigCotangent<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