complex-components

Complex component virtual sequences

Complex component virtual sequences

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

Vocabulary

sequences.complex-components

Class description

Sequence wrapper class that transforms a sequence of complex number values into a sequence of real values, interleaving the real and imaginary parts of the complex values in the original sequence.

Examples

See also

<complex-components>

Definition

Methods

sequences.complex-components

Class description

Sequence wrapper class that transforms a sequence of complex number values into a sequence of real values, interleaving the real and imaginary parts of the complex values in the original sequence.

Examples

USING: prettyprint sequences arrays sequences.complex-components ;
{ C{ 1.0 -1.0 } -2.0 C{ 3.0 1.0 } } <complex-components> >array .

{ 1.0 -1.0 -2.0 0 3.0 1.0 }

{ 1.0 -1.0 -2.0 0 3.0 1.0 }

See also

<complex-components>

Definition

Methods