package gsl

  1. Overview
  2. Docs

Vector of complex numbers implemented with a Bigarray

type complex_double_vector_bigarr = (Stdlib.Complex.t, Stdlib.Bigarray.complex64_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array1.t
val create : ?init:Gsl_complex.complex -> int -> vector
val of_array : Gsl_complex.complex array -> vector
val to_array : vector -> Gsl_complex.complex array
val of_complex_array : Gsl_complex.complex_array -> vector
val to_complex_array : vector -> Gsl_complex.complex_array
val length : vector -> int
val get : vector -> int -> Gsl_complex.complex
val set : vector -> int -> Gsl_complex.complex -> unit
val set_all : vector -> Gsl_complex.complex -> unit
val set_zero : vector -> unit
val set_basis : vector -> int -> unit
val memcpy : src:vector -> dst:vector -> unit
val copy : vector -> vector
val swap_element : vector -> int -> int -> unit
val reverse : vector -> unit
val subvector : vector -> off:int -> len:int -> vector
module Single : sig ... end
OCaml

Innovation. Community. Security.