pub trait InterleaveToVector<T>: ToSlice<T>where
T: RealNumber,{
// Required methods
fn interleave_to_complex_time_vec(
&self,
other: &Self,
) -> Result<ComplexTimeVec<Vec<T>, T>, ErrorReason>;
fn interleave_to_complex_freq_vec(
&self,
other: &Self,
) -> Result<ComplexFreqVec<Vec<T>, T>, ErrorReason>;
}
Expand description
Conversion from two instances of a generic data type into a dsp vector with complex data.
Required Methods§
Sourcefn interleave_to_complex_time_vec(
&self,
other: &Self,
) -> Result<ComplexTimeVec<Vec<T>, T>, ErrorReason>
fn interleave_to_complex_time_vec( &self, other: &Self, ) -> Result<ComplexTimeVec<Vec<T>, T>, ErrorReason>
Create a new vector in real number space and time domain.
delta
can be changed after construction with a call of set_delta
.
Sourcefn interleave_to_complex_freq_vec(
&self,
other: &Self,
) -> Result<ComplexFreqVec<Vec<T>, T>, ErrorReason>
fn interleave_to_complex_freq_vec( &self, other: &Self, ) -> Result<ComplexFreqVec<Vec<T>, T>, ErrorReason>
Create a new vector in real number space and frequency domain.
delta
can be changed after construction with a call of set_delta
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.