ComplexArray extension

Extension methods for Float64x2List, representing a list of complex numbers.

on

Methods

complexMultiply(Float64x2List other) → void

Available on Float64x2List, provided by the ComplexArray extension

Complex multiplies each element of other onto each element of this list.
createConjugates(int outputLength) Float64x2List

Available on Float64x2List, provided by the ComplexArray extension

Creates redundant conjugate terms. This is the inverse of discardConjugates, and it only really makes sense to recreate conjugates after they have been discarded using that method.
discardConjugates() Float64x2List

Available on Float64x2List, provided by the ComplexArray extension

Discards redundant conjugate terms, assuming this is the result of a real valued FFT. This method does not check whether those terms are actualy redundant conjugate values.
magnitudes() Float64List

Available on Float64x2List, provided by the ComplexArray extension

Returns the magnitudes of the elements of the Float64x2List.
squareMagnitudes() Float64List

Available on Float64x2List, provided by the ComplexArray extension

Returns the square magnitudes of the elements of the Float64x2List.
toRealArray() Float64List

Available on Float64x2List, provided by the ComplexArray extension

Returns the real components of the Float64x2List.

Static Methods

discardConjugatesLength(int length) int

Available on Float64x2List, provided by the ComplexArray extension

Returns the length of the result of calling discardConjugates on a list of the given length. See discardConjugates for more information.
fromRealArray(List<double> reals, [int outputLength = -1]) Float64x2List

Available on Float64x2List, provided by the ComplexArray extension

Converts a real array to a Float64x2List of complex numbers.