package gsl

  1. Overview
  2. Docs

Module Gsl.Matrix_complex_flatSource

Matrices of complex number simplemented with float array

Sourcetype complex_mat_flat = private {
  1. data : float array;
  2. off : int;
  3. dim1 : int;
  4. dim2 : int;
  5. tda : int;
}
Sourceval create : ?init:Gsl_complex.complex -> int -> int -> matrix
Sourceval dims : matrix -> int * int
Sourceval of_arrays : Gsl_complex.complex array array -> matrix
Sourceval of_array : Gsl_complex.complex array -> int -> int -> matrix
Sourceval to_arrays : matrix -> Gsl_complex.complex array array
Sourceval to_array : matrix -> Gsl_complex.complex array
Sourceval of_complex_array : float array -> int -> int -> matrix
Sourceval to_complex_array : matrix -> Gsl_complex.complex_array
Sourceval get : matrix -> int -> int -> Gsl_complex.complex
Sourceval set : matrix -> int -> int -> Gsl_complex.complex -> unit
Sourceval set_all : matrix -> Gsl_complex.complex -> unit
Sourceval set_zero : matrix -> unit
Sourceval set_id : matrix -> unit
Sourceval memcpy : src:matrix -> dst:matrix -> unit
Sourceval copy : matrix -> matrix
Sourceval add : matrix -> matrix -> unit
Sourceval sub : matrix -> matrix -> unit
Sourceval mul_elements : matrix -> matrix -> unit
Sourceval div_elements : matrix -> matrix -> unit
Sourceval scale : matrix -> float -> unit
Sourceval add_constant : matrix -> float -> unit
Sourceval add_diagonal : matrix -> Gsl_complex.complex -> unit
Sourceval is_null : matrix -> bool
Sourceval swap_rows : matrix -> int -> int -> unit
Sourceval swap_columns : matrix -> int -> int -> unit
Sourceval swap_rowcol : matrix -> int -> int -> unit
Sourceval transpose : matrix -> matrix -> unit
Sourceval transpose_in_place : matrix -> unit
Sourceval submatrix : matrix -> k1:int -> k2:int -> n1:int -> n2:int -> matrix
Sourceval subdiagonal : matrix -> int -> Vector_complex_flat.vector
Sourceval superdiagonal : matrix -> int -> Vector_complex_flat.vector
Sourceval view_complex_array : Gsl_complex.complex_array -> ?off:int -> int -> ?tda:int -> int -> matrix
Sourceval view_vector : Vector_complex_flat.vector -> ?off:int -> int -> ?tda:int -> int -> matrix
OCaml

Innovation. Community. Security.