pub struct DeltaOperator<B: Backend> { /* private fields */ }Implementations§
Source§impl<B: Backend> DeltaOperator<B>
impl<B: Backend> DeltaOperator<B>
pub fn new(k: Tensor<B, 2>, beta: Tensor<B, 1>) -> Self
pub fn apply(&self, x: &Tensor<B, 3>) -> Tensor<B, 3>
pub fn apply_vector(&self, x: &Tensor<B, 2>) -> Tensor<B, 2>
pub fn k_eigenvalue(&self) -> Tensor<B, 1>
pub fn determinant(&self) -> Tensor<B, 1>
pub fn spectral_info(&self) -> SpectralInfo
pub fn spectral_info_with_lift(&self, d_value: usize) -> SpectralInfo
Trait Implementations§
Source§impl<B: Clone + Backend> Clone for DeltaOperator<B>
impl<B: Clone + Backend> Clone for DeltaOperator<B>
Source§fn clone(&self) -> DeltaOperator<B>
fn clone(&self) -> DeltaOperator<B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<B> Freeze for DeltaOperator<B>where
<B as Backend>::FloatTensorPrimitive: Freeze,
<B as Backend>::QuantizedTensorPrimitive: Freeze,
impl<B> RefUnwindSafe for DeltaOperator<B>where
<B as Backend>::FloatTensorPrimitive: RefUnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: RefUnwindSafe,
impl<B> Send for DeltaOperator<B>
impl<B> Sync for DeltaOperator<B>
impl<B> Unpin for DeltaOperator<B>
impl<B> UnsafeUnpin for DeltaOperator<B>where
<B as Backend>::FloatTensorPrimitive: UnsafeUnpin,
<B as Backend>::QuantizedTensorPrimitive: UnsafeUnpin,
impl<B> UnwindSafe for DeltaOperator<B>where
<B as Backend>::FloatTensorPrimitive: UnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: 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