pub struct Prediction<T: Float> {
pub energy: T,
pub input: Complex<T>,
}Expand description
Phase prediction for spectral processing
Fields§
§energy: T§input: Complex<T>Implementations§
Source§impl<T: Float> Prediction<T>
impl<T: Float> Prediction<T>
pub fn make_output(&self, phase: Complex<T>) -> Complex<T>
Trait Implementations§
Source§impl<T: Clone + Float> Clone for Prediction<T>
impl<T: Clone + Float> Clone for Prediction<T>
Source§fn clone(&self) -> Prediction<T>
fn clone(&self) -> Prediction<T>
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<T> Freeze for Prediction<T>where
T: Freeze,
impl<T> RefUnwindSafe for Prediction<T>where
T: RefUnwindSafe,
impl<T> Send for Prediction<T>where
T: Send,
impl<T> Sync for Prediction<T>where
T: Sync,
impl<T> Unpin for Prediction<T>where
T: Unpin,
impl<T> UnwindSafe for Prediction<T>where
T: 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