pub struct TensorSKI<K: SparseKernel> {
pub grid_sizes: Vec<usize>,
pub kernel: K,
pub noise_variance: f64,
pub use_kronecker: bool,
}Expand description
Multi-dimensional SKI with tensor structure
Fields§
§grid_sizes: Vec<usize>Grid sizes for each dimension
kernel: KKernel function
noise_variance: f64Noise variance
use_kronecker: boolWhether to use Kronecker structure
Implementations§
Auto Trait Implementations§
impl<K> Freeze for TensorSKI<K>where
K: Freeze,
impl<K> RefUnwindSafe for TensorSKI<K>where
K: RefUnwindSafe,
impl<K> Send for TensorSKI<K>
impl<K> Sync for TensorSKI<K>
impl<K> Unpin for TensorSKI<K>where
K: Unpin,
impl<K> UnwindSafe for TensorSKI<K>where
K: 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> 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