1 USING: help.markup help.syntax math multiline
2 sequences sequences.complex ;
5 ARTICLE: "sequences.complex" "Complex virtual sequences"
6 "The " { $link complex-sequence } " class wraps a sequence of " { $link real } " number values, presenting a sequence of " { $link complex } " values made by treating the underlying sequence as pairs of alternating real and imaginary values."
7 { $subsection complex-sequence }
8 { $subsection <complex-sequence> } ;
10 ABOUT: "sequences.complex"
12 HELP: complex-sequence
13 { $class-description "Sequence wrapper class that transforms a sequence of " { $link real } " number values into a sequence of " { $link complex } " values, treating the underlying sequence as pairs of alternating real and imaginary values." }
14 { $examples { $example <"
16 specialized-arrays.double sequences.complex
18 double-array{ 1.0 -1.0 -2.0 2.0 3.0 0.0 } <complex-sequence> >array .
19 "> "{ C{ 1.0 -1.0 } C{ -2.0 2.0 } C{ 3.0 0.0 } }" } } ;
21 HELP: <complex-sequence>
22 { $values { "sequence" sequence } { "complex-sequence" complex-sequence } }
23 { $description "Wraps " { $snippet "sequence" } " in a " { $link complex-sequence } "." }
24 { $examples { $example <"
26 specialized-arrays.double sequences.complex
28 double-array{ 1.0 -1.0 -2.0 2.0 3.0 0.0 } <complex-sequence> second .
29 "> "C{ -2.0 2.0 }" } } ;
31 { complex-sequence <complex-sequence> } related-words