1 USING: help.markup help.syntax math.blas.matrices math.blas.vectors multiline ;
4 ARTICLE: "math.blas.syntax" "BLAS interface literal syntax"
6 { $subsection POSTPONE: svector{ }
7 { $subsection POSTPONE: dvector{ }
8 { $subsection POSTPONE: cvector{ }
9 { $subsection POSTPONE: zvector{ }
11 { $subsection POSTPONE: smatrix{ }
12 { $subsection POSTPONE: dmatrix{ }
13 { $subsection POSTPONE: cmatrix{ }
14 { $subsection POSTPONE: zmatrix{ } ;
16 ABOUT: "math.blas.syntax"
19 { $syntax "svector{ 1.0 -2.0 3.0 }" }
20 { $description "Construct a literal " { $link float-blas-vector } "." } ;
23 { $syntax "dvector{ 1.0 -2.0 3.0 }" }
24 { $description "Construct a literal " { $link double-blas-vector } "." } ;
27 { $syntax "cvector{ 1.0 -2.0 C{ 3.0 -1.0 } }" }
28 { $description "Construct a literal " { $link float-complex-blas-vector } "." } ;
31 { $syntax "dvector{ 1.0 -2.0 C{ 3.0 -1.0 } }" }
32 { $description "Construct a literal " { $link double-complex-blas-vector } "." } ;
35 POSTPONE: svector{ POSTPONE: dvector{
36 POSTPONE: cvector{ POSTPONE: zvector{
46 { $description "Construct a literal " { $link float-blas-matrix } ". Note that although BLAS matrices are stored in column-major order, the literal is specified in row-major order." } ;
55 { $description "Construct a literal " { $link double-blas-matrix } ". Note that although BLAS matrices are stored in column-major order, the literal is specified in row-major order." } ;
60 { 0.0 C{ 0.0 1.0 } 0.0 2.0 }
62 { 0.0 0.0 0.0 C{ 0.0 -1.0 } }
64 { $description "Construct a literal " { $link float-complex-blas-matrix } ". Note that although BLAS matrices are stored in column-major order, the literal is specified in row-major order." } ;
69 { 0.0 C{ 0.0 1.0 } 0.0 2.0 }
71 { 0.0 0.0 0.0 C{ 0.0 -1.0 } }
73 { $description "Construct a literal " { $link double-complex-blas-matrix } ". Note that although BLAS matrices are stored in column-major order, the literal is specified in row-major order." } ;
76 POSTPONE: smatrix{ POSTPONE: dmatrix{
77 POSTPONE: cmatrix{ POSTPONE: zmatrix{