Trait basic_dsp_vector::ResizeOps
[−]
[src]
pub trait ResizeOps {
fn resize(&mut self, len: usize) -> VoidResult;
}Operations to resize a data type.
Required Methods
fn resize(&mut self, len: usize) -> VoidResult
Changes self.len().
If self.is_complex() is true then len must be an even number.
len > self.alloc_len() is only possible if the underlying storage supports resizing.
Implementors
impl<S, T, N, D> ResizeOps for DspVec<S, T, N, D> where
S: ToSlice<T>,
T: RealNumber,
N: NumberSpace,
D: Domain,