Module Gsl.Matrix_complex

Matrices of complex numbers implemented with Bigarray

type complex_mat_bigarr = (Complex.t, Bigarray.complex64_elt, Bigarray.c_layout) Bigarray.Array2.t
type matrix = complex_mat_bigarr
val create : ?⁠init:Gsl_complex.complex ‑> int ‑> int ‑> matrix
val dims : matrix ‑> int * int
val of_array : Gsl_complex.complex array ‑> int ‑> int ‑> matrix
val of_arrays : Gsl_complex.complex array array ‑> matrix
val to_array : matrix ‑> Gsl_complex.complex array
val to_arrays : matrix ‑> Gsl_complex.complex array array
val of_complex_array : Gsl_complex.complex_array ‑> int ‑> int ‑> matrix
val to_complex_array : matrix ‑> Gsl_complex.complex_array
val get : matrix ‑> int ‑> int ‑> Gsl_complex.complex
val set : matrix ‑> int ‑> int ‑> Gsl_complex.complex ‑> unit
val set_all : matrix ‑> Gsl_complex.complex ‑> unit
val set_zero : matrix ‑> unit
val set_id : matrix ‑> unit
val memcpy : src:matrix ‑> dst:matrix ‑> unit
val copy : matrix ‑> matrix
val row : matrix ‑> int ‑> Vector_complex.vector
external add : matrix ‑> matrix ‑> unit = "ml_gsl_matrix_complex_add"
external sub : matrix ‑> matrix ‑> unit = "ml_gsl_matrix_complex_sub"
external mul_elements : matrix ‑> matrix ‑> unit = "ml_gsl_matrix_complex_mul"
external div_elements : matrix ‑> matrix ‑> unit = "ml_gsl_matrix_complex_div"
external scale : matrix ‑> Gsl_complex.complex ‑> unit = "ml_gsl_matrix_complex_scale"
external add_constant : matrix ‑> Gsl_complex.complex ‑> unit = "ml_gsl_matrix_complex_add_constant"
external add_diagonal : matrix ‑> Gsl_complex.complex ‑> unit = "ml_gsl_matrix_complex_add_diagonal"
external is_null : matrix ‑> bool = "ml_gsl_matrix_complex_isnull"
external swap_rows : matrix ‑> int ‑> int ‑> unit = "ml_gsl_matrix_complex_swap_rows"
external swap_columns : matrix ‑> int ‑> int ‑> unit = "ml_gsl_matrix_complex_swap_columns"
external swap_rowcol : matrix ‑> int ‑> int ‑> unit = "ml_gsl_matrix_complex_swap_rowcol"
external transpose : matrix ‑> matrix ‑> unit = "ml_gsl_matrix_complex_transpose_memcpy"
external transpose_in_place : matrix ‑> unit = "ml_gsl_matrix_complex_transpose"
module Single : sig ... end