Struct basic_dsp_vector::combined_ops::Identifier [] [src]

pub struct Identifier<T, N, D> where
    T: RealNumber,
    D: Domain,
    N: NumberSpace
{ /* fields omitted */ }

An identifier is just a placeholder for a data type used to ensure already at compile time that operations are valid.

Trait Implementations

impl<T, N, D> GetMetaData<T, N, D> for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

Gets a copy of the vector meta data. This can be used to create new types with the same meta data. Read more

impl<T, N, D> OffsetOps<T> for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

Adds a scalar to each vector element. Read more

impl<T, N, D> ScaleOps<T> for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

Multiplies the vector element with a scalar. Read more

impl<T, N, D> OffsetOps<Complex<T>> for Identifier<T, N, D> where
    T: RealNumber,
    N: ComplexNumberSpace,
    D: Domain
[src]

[src]

Adds a scalar to each vector element. Read more

impl<T, N, D> ScaleOps<Complex<T>> for Identifier<T, N, D> where
    T: RealNumber,
    N: ComplexNumberSpace,
    D: Domain
[src]

[src]

Multiplies the vector element with a scalar. Read more

impl<T, N, D> TrigOps for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

Calculates the sine of each element in radians. Read more

[src]

Calculates the cosine of each element in radians. Read more

[src]

Calculates the tangent of each element in radians.

[src]

Calculates the principal value of the inverse sine of each element in radians.

[src]

Calculates the principal value of the inverse cosine of each element in radians.

[src]

Calculates the principal value of the inverse tangent of each element in radians.

[src]

Calculates the hyperbolic sine each element in radians.

[src]

Calculates the hyperbolic cosine each element in radians.

[src]

Calculates the hyperbolic tangent each element in radians.

[src]

Calculates the principal value of the inverse hyperbolic sine of each element in radians.

[src]

Calculates the principal value of the inverse hyperbolic cosine of each element in radians.

[src]

Calculates the principal value of the inverse hyperbolic tangent of each element in radians. Read more

impl<T, N, D> PowerOps<T> for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

Gets the square root of all vector elements. Read more

[src]

Squares all vector elements. Read more

[src]

Calculates the n-th root of every vector element. Read more

[src]

Raises every vector element to a floating point power. Read more

[src]

Computes the principal value of natural logarithm of every element in the vector. Read more

[src]

Calculates the natural exponential for every vector element. Read more

[src]

Calculates the logarithm to the given base for every vector element. Read more

[src]

Calculates the exponential to the given base for every vector element. Read more

impl<T, N, D> RealOps for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

Gets the absolute value of all vector elements. # Example Read more

impl<T, N, D> ComplexOps<T> for Identifier<T, N, D> where
    T: RealNumber,
    N: ComplexNumberSpace,
    D: Domain
[src]

[src]

Multiplies each vector element with exp(j*(a*idx*self.delta() + b)) where a and b are arguments and idx is the index of the data points in the vector ranging from 0 to self.points() - 1. j is the imaginary number and exp the exponential function. Read more

[src]

Calculates the complex conjugate of the vector. # Example Read more

impl<T, N, D> ElementaryOps<Identifier<T, N, D>, T, N, D> for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

Calculates the sum of self + summand. It consumes self and returns the result. # Failures TransRes may report the following ErrorReason members: Read more

[src]

Calculates the difference of self - subtrahend. It consumes self and returns the result. # Failures TransRes may report the following ErrorReason members: Read more

[src]

Calculates the product of self * factor. It consumes self and returns the result. # Failures TransRes may report the following ErrorReason members: Read more

[src]

Calculates the quotient of self / summand. It consumes self and returns the result. # Failures TransRes may report the following ErrorReason members: Read more

impl<T, N, D> IdentifierOps for Identifier<T, N, D> where
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

[src]

The domain in which the data vector resides. Basically specifies the x-axis and the type of operations which are valid on this vector. Read more

[src]

Indicates whether the vector contains complex data. This also specifies the type of operations which are valid on this vector. Read more

[src]

Copies data from another vector.

[src]

Adds its length to the vector elements # Example Read more

[src]

Subtracts its length from the vector elements # Example Read more

[src]

divides the vector elements by its length Subtracts its length from the vector elements # Example Read more

[src]

Multiplies the vector elements with its length # Example Read more

impl<T, N, D> RealToComplexTransformsOps<T> for Identifier<T, N, D> where
    Identifier<T, N, D>: ToComplexResult,
    <Identifier<T, N, D> as ToComplexResult>::ComplexResult: RededicateForceOps<Identifier<T, N, D>>,
    T: RealNumber,
    N: RealNumberSpace,
    D: Domain
[src]

[src]

Converts the real vector into a complex vector. Read more

impl<T, N, D> ComplexToRealTransformsOps<T> for Identifier<T, N, D> where
    Identifier<T, N, D>: ToRealResult,
    <Identifier<T, N, D> as ToRealResult>::RealResult: RededicateForceOps<Identifier<T, N, D>>,
    T: RealNumber,
    N: ComplexNumberSpace,
    D: Domain
[src]

[src]

Gets the absolute value, magnitude or norm of all vector elements. # Example Read more

[src]

Gets the square root of the absolute value of all vector elements. # Example Read more

[src]

Gets all real elements. # Example Read more

[src]

Gets all imag elements. # Example Read more

[src]

Gets the phase of all elements in [rad]. # Example Read more

impl<T, N, D> Debug for Identifier<T, N, D> where
    T: RealNumber,
    D: Domain,
    N: NumberSpace
[src]

[src]

Formats the value using the given formatter.