Gsl.Matrix_flat
Matrices of floats implemented with float array
type matrix = double_mat_flat
val create : ?init:float -> int -> int -> matrix
val dims : matrix -> int * int
val of_array : float array -> int -> int -> matrix
val of_arrays : float array array -> matrix
val to_array : matrix -> float array
val to_arrays : matrix -> float array array
val get : matrix -> int -> int -> float
val set : matrix -> int -> int -> float -> unit
val set_all : matrix -> float -> unit
val set_zero : matrix -> unit
val set_id : matrix -> unit
val scale : matrix -> float -> unit
val add_constant : matrix -> float -> unit
val add_diagonal : matrix -> float -> unit
val is_null : matrix -> bool
val swap_rows : matrix -> int -> int -> unit
val swap_columns : matrix -> int -> int -> unit
val swap_rowcol : matrix -> int -> int -> unit
val transpose_in_place : matrix -> unit
val row : matrix -> int -> Vector_flat.vector
val column : matrix -> int -> Vector_flat.vector
val diagonal : matrix -> Vector_flat.vector
val subdiagonal : matrix -> int -> Vector_flat.vector
val superdiagonal : matrix -> int -> Vector_flat.vector
val view_array : float array -> ?off:int -> int -> ?tda:int -> int -> matrix
val view_vector :
Vector_flat.vector ->
?off:int ->
int ->
?tda:int ->
int ->
matrix