pub struct GlobalPivotSearchInput<T: Scalar + TTScalar> {
pub local_dims: Vec<usize>,
pub current_tt: TensorTrain<T>,
pub max_sample_value: f64,
pub i_set: Vec<Vec<MultiIndex>>,
pub j_set: Vec<Vec<MultiIndex>>,
}Expand description
Snapshot of the current TCI state, passed to GlobalPivotFinder.
Fields§
§local_dims: Vec<usize>Local dimensions of each tensor index.
current_tt: TensorTrain<T>Current tensor train approximation.
max_sample_value: f64Maximum absolute function value encountered so far.
i_set: Vec<Vec<MultiIndex>>Left index sets (I) for each site.
j_set: Vec<Vec<MultiIndex>>Right index sets (J) for each site.
Auto Trait Implementations§
impl<T> Freeze for GlobalPivotSearchInput<T>
impl<T> RefUnwindSafe for GlobalPivotSearchInput<T>where
T: RefUnwindSafe,
impl<T> Send for GlobalPivotSearchInput<T>
impl<T> Sync for GlobalPivotSearchInput<T>
impl<T> Unpin for GlobalPivotSearchInput<T>where
T: Unpin,
impl<T> UnsafeUnpin for GlobalPivotSearchInput<T>
impl<T> UnwindSafe for GlobalPivotSearchInput<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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>,
§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