package gsl

  1. Overview
  2. Docs

Eigensystems

Real Symmetric Matrices

type symm_ws
val make_symm_ws : int -> symm_ws
val _symm : Gsl_vectmat.mat -> Gsl_vectmat.vec -> symm_ws -> unit
val symm : ?protect:bool -> [< `M of Gsl_matrix.matrix | `MF of Gsl_matrix_flat.matrix | `A of float array * int * int | `AA of float array array ] -> Gsl_vector.vector
type symmv_ws
val make_symmv_ws : int -> symmv_ws
val symmv : ?protect:bool -> [< `M of Gsl_matrix.matrix | `MF of Gsl_matrix_flat.matrix | `A of float array * int * int | `AA of float array array ] -> Gsl_vector.vector * Gsl_matrix.matrix
type sort =
  1. | VAL_ASC
  2. | VAL_DESC
  3. | ABS_ASC
  4. | ABS_DESC
val symmv_sort : (Gsl_vector.vector * Gsl_matrix.matrix) -> sort -> unit

Complex Hermitian Matrices

type herm_ws
val make_herm_ws : int -> herm_ws
val _herm : Gsl_vectmat.cmat -> Gsl_vectmat.vec -> herm_ws -> unit
val herm : ?protect:bool -> [< `CM of Gsl_matrix_complex.matrix | `CMF of Gsl_matrix_complex_flat.matrix | `CA of Gsl_complex.complex_array * int * int ] -> Gsl_vector.vector
type hermv_ws
val make_hermv_ws : int -> hermv_ws
val hermv_sort : (Gsl_vector.vector * Gsl_matrix_complex.matrix) -> sort -> unit

Real Nonsymmetric Matrices

type nonsymm_ws
val make_nonsymm_ws : int -> nonsymm_ws
val _nonsymm : Gsl_vectmat.mat -> Gsl_vectmat.cvec -> nonsymm_ws -> unit
val nonsymm : ?protect:bool -> [< `M of Gsl_matrix.matrix | `MF of Gsl_matrix_flat.matrix | `A of float array * int * int | `AA of float array array ] -> Gsl_vector_complex.vector
type nonsymmv_ws
val make_nonsymmv_ws : int -> nonsymmv_ws
val nonsymmv : ?protect:bool -> [< `M of Gsl_matrix.matrix | `MF of Gsl_matrix_flat.matrix | `A of float array * int * int | `AA of float array array ] -> Gsl_vector_complex.vector * Gsl_matrix_complex.matrix
val nonsymmv_sort : (Gsl_vector_complex.vector * Gsl_matrix_complex.matrix) -> sort -> unit
OCaml

Innovation. Community. Security.