ComplexArray extension
Extension methods for Float64x2List, representing a list of complex numbers.
Methods
-
complexMultiply(
Float64x2List other) → void -
Complex multiplies each element of
other
onto each element of this list. -
createConjugates(
int outputLength) → Float64x2List - 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 - 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 - Returns the magnitudes of the elements of the Float64x2List.
-
squareMagnitudes(
) → Float64List - Returns the square magnitudes of the elements of the Float64x2List.
-
toRealArray(
) → Float64List - Returns the real components of the Float64x2List.
Static Methods
-
discardConjugatesLength(
int length) → int -
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 - Converts a real array to a Float64x2List of complex numbers.