complex-sequence
Complex virtual sequences

Next:<complex-sequence> ( sequence -- complex-sequence )


Vocabulary
sequences.complex

Class description
Sequence wrapper class that transforms a sequence of real number values into a sequence of complex values, treating the underlying sequence as pairs of alternating real and imaginary values.

Examples
USING: prettyprint specialized-arrays sequences.complex sequences alien.c-types arrays ; SPECIALIZED-ARRAY: double double-array{ 1.0 -1.0 -2.0 2.0 3.0 0.0 } <complex-sequence> >array .
{ C{ 1.0 -1.0 } C{ -2.0 2.0 } C{ 3.0 0.0 } }


See also
<complex-sequence>

Definition


Methods