Trait basic_dsp_vector::ToDspVectorPar[][src]

pub trait ToDspVectorPar<T>: Sized + ToSlice<T> where
    T: RealNumber
{ fn to_gen_dsp_vec_par(
        self,
        is_complex: bool,
        domain: DataDomain
    ) -> GenDspVec<Self, T>;
fn to_dsp_vec_par<N, D>(
        self,
        meta_data: &TypeMetaData<T, N, D>
    ) -> DspVec<Self, T, N, D>
    where
        N: NumberSpace,
        D: Domain
; }

Conversion from a generic data type into a dsp vector which tracks its meta information (domain and number space) only at runtime. See ToRealVector and ToComplexVector for alternatives which track most of the meta data with the type system and therefore avoid runtime errors.

The resulting vector may use multi-threading for its processing.

Required Methods

Create a new generic vector. delta can be changed after construction with a call of set_delta.

For complex vectors with an odd length the resulting value will have a zero length.

The resulting vector may use multi-threading for its processing.

Create a new vector from the given meta data. The meta data can be retrieved from an existing vector. If no existing vector is available then one of the other constructor methods should be used.

The resulting vector may use multi-threading for its processing.

Implementors