complex-double-blas-vector
Basic Linear Algebra Subroutines (BLAS) interface ยป BLAS interface types

Prev:complex-float-blas-vector
Next:float-blas-matrix

Vocabulary
math.blas.vectors

Class description
A vector of double-precision floating-point complex values. For details on the tuple layout, see blas-vector-base.

See also
float-blas-matrix, double-blas-matrix, complex-float-blas-matrix, complex-double-blas-matrix, float-blas-vector, double-blas-vector, complex-float-blas-vector

DefinitionMethods
USING: accessors kernel math math.blas.vectors
math.blas.vectors.private
specialized-arrays.instances.alien.complex.complex-double ;
M: complex-double-blas-vector (blas-direct-array)
[ underlying>> ] [ [ length>> ] [ inc>> ] bi * ] bi
<direct-complex-double-array> ;

USING: kernel math.blas.matrices math.blas.matrices.private
math.blas.vectors ;
M: complex-double-blas-vector (blas-matrix-like)
drop <complex-double-blas-matrix> ;

USING: kernel math.blas.vectors math.blas.vectors.private ;
M: complex-double-blas-vector (blas-vector-like)
drop <complex-double-blas-vector> ;

USING: math.blas.ffi math.blas.vectors math.blas.vectors.private
;
M: complex-double-blas-vector V. (prepare-dot) ZDOTU ;

USING: math.blas.ffi math.blas.vectors math.blas.vectors.private
;
M: complex-double-blas-vector V.conj (prepare-dot) ZDOTC ;

USING: math.blas.ffi math.blas.vectors math.blas.vectors.private
;
M: complex-double-blas-vector Vasum (prepare-nrm2) DZASUM ;

USING: math math.blas.ffi math.blas.vectors
math.blas.vectors.private ;
M: complex-double-blas-vector Viamax (prepare-nrm2) IZAMAX 1 - ;

USING: math.blas.ffi math.blas.vectors math.blas.vectors.private
;
M: complex-double-blas-vector Vnorm (prepare-nrm2) DZNRM2 ;

USING: kernel math.blas.ffi math.blas.vectors
math.blas.vectors.private ;
M: complex-double-blas-vector Vswap
(prepare-swap) [ ZSWAP ] 2dip ;

USING: alien.c-types alien.complex kernel math.blas.ffi
math.blas.vectors math.blas.vectors.private ;
M: complex-double-blas-vector clone
complex-double heap-size (prepare-copy) [ ZCOPY ] 3dip
<complex-double-blas-vector> ;

USING: alien.complex kernel math.blas.vectors ;
M: complex-double-blas-vector element-type drop complex-double ;

USING: kernel math.blas.ffi math.blas.matrices
math.blas.matrices.private math.blas.vectors ;
M: complex-double-blas-vector n*M.V+n*V!
(prepare-gemv) [ ZGEMV ] dip ;

USING: kernel math.blas.ffi math.blas.vectors
math.blas.vectors.private ;
M: complex-double-blas-vector n*V!
(prepare-scal) [ ZSCAL ] dip ;

USING: kernel math.blas.ffi math.blas.vectors
math.blas.vectors.private ;
M: complex-double-blas-vector n*V+V!
(prepare-axpy) [ ZAXPY ] dip ;

USING: kernel math.blas.vectors prettyprint.custom ;
M: complex-double-blas-vector pprint-delims
drop \ zvector{ \ } ;