Gsl.Vectmat
Generic variant types for vectors and matrices
val vec_convert :
?protect:bool ->
[< `A of float array | `VF of Vector_flat.vector | `V of Vector.vector ] ->
[> vec ]
val mat_convert :
?protect:bool ->
[< `M of Matrix.matrix
| `MF of Matrix_flat.matrix
| `A of float array * int * int
| `AA of float array array ] ->
[> mat ]
val mat_flat :
?protect:bool ->
[< `M of Matrix.matrix
| `MF of Matrix_flat.matrix
| `A of float array * int * int
| `AA of float array array ] ->
Matrix_flat.matrix
val cmat_convert :
?protect:bool ->
[< `CM of Matrix_complex.matrix
| `CMF of Matrix_complex_flat.matrix
| `CA of Gsl_complex.complex_array * int * int ] ->
[> cmat ]
val to_array : [< vec ] -> float array
val v_max : [< vec ] -> float
val v_min : [< vec ] -> float
val v_minmax : [< vec ] -> float * float
val v_max_index : [< vec ] -> int
val v_min_index : [< vec ] -> int
val v_minmax_index : [< vec ] -> int * int
val tmp : [< mat ] -> [> `M of Matrix.matrix ]
val to_arrays : [< mat ] -> float array array
val m_add_diagonal : [< mat ] -> float -> unit
val swap_rows : [< mat ] -> int -> int -> unit
val swap_columns : [< mat ] -> int -> int -> unit
val swap_rowcol : [< mat ] -> int -> int -> unit
val transpose_in_place : [< mat ] -> unit