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> OffsetOps<T> for Identifier<T, N, D> where T: RealNumber, N: NumberSpace, D: Domain
[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]

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]

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]

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]

Calculates the sine of each element in radians. Read more

Calculates the cosine of each element in radians. Read more

Calculates the tangent of each element in radians.

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

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

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

Calculates the hyperbolic sine each element in radians.

Calculates the hyperbolic cosine each element in radians.

Calculates the hyperbolic tangent each element in radians.

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

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

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]

Gets the square root of all vector elements. Read more

Squares all vector elements. Read more

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

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

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

Calculates the natural exponential for every vector element. Read more

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

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]

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

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

Transforms all vector elements using the function map.

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

Transforms all vector elements using the function map.

impl<T, N, D> ComplexOps<T> for Identifier<T, N, D> where T: RealNumber, N: ComplexNumberSpace, D: Domain
[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

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

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

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

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

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

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]

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

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

Copies data from another vector.

Adds its length to the vector elements # Example Read more

Subtracts its length from the vector elements # Example Read more

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

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>::ComplexResult: RededicateForceOps<Identifier<T, N, D>>, T: RealNumber, N: RealNumberSpace, D: Domain
[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>::RealResult: RededicateForceOps<Identifier<T, N, D>>, T: RealNumber, N: ComplexNumberSpace, D: Domain
[src]

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

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

Gets all real elements. # Example Read more

Gets all imag elements. # Example Read more

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]

Formats the value using the given formatter.