pub enum ConvolveMode {
Full,
Same,
Valid,
}Variants§
Full
‘full’ returns the convolution at each point of overlap, with an output size of in1.len() + in2.len() - 1.
Same
‘same’ returns the central part of the full convolution, with an output size of in1.len() (the same as the first input).
Valid
‘valid’ returns the convolution at points where the signals overlap completely without zero-padding, with an output size of max(in1.len(), in2.len()) - min(in1.len(), in2.len()) + 1.
Trait Implementations§
Source§impl Clone for ConvolveMode
impl Clone for ConvolveMode
impl Copy for ConvolveMode
Auto Trait Implementations§
impl Freeze for ConvolveMode
impl RefUnwindSafe for ConvolveMode
impl Send for ConvolveMode
impl Sync for ConvolveMode
impl Unpin for ConvolveMode
impl UnsafeUnpin for ConvolveMode
impl UnwindSafe for ConvolveMode
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