package gsl

  1. Overview
  2. Docs

BLAS support

type order =
  1. | RowMajor
  2. | ColMajor
type transpose =
  1. | NoTrans
  2. | Trans
  3. | ConjTrans
type uplo =
  1. | Upper
  2. | Lower
type diag =
  1. | NonUnit
  2. | Unit
type side =
  1. | Left
  2. | Right

LEVEL 1

val dot : Vector.vector -> Vector.vector -> float
val nrm2 : Vector.vector -> float
val asum : Vector.vector -> float
val iamax : Vector.vector -> int
val swap : Vector.vector -> Vector.vector -> unit
val copy : Vector.vector -> Vector.vector -> unit
val axpy : float -> Vector.vector -> Vector.vector -> unit
val rot : Vector.vector -> Vector.vector -> float -> float -> unit
val scal : float -> Vector.vector -> unit

LEVEL 2

val gemv : transpose -> alpha:float -> a:Matrix.matrix -> x:Vector.vector -> beta:float -> y:Vector.vector -> unit
val trmv : uplo -> transpose -> diag -> a:Matrix.matrix -> x:Vector.vector -> unit
val trsv : uplo -> transpose -> diag -> a:Matrix.matrix -> x:Vector.vector -> unit
val symv : uplo -> alpha:float -> a:Matrix.matrix -> x:Vector.vector -> beta:float -> y:Vector.vector -> unit
val dger : alpha:float -> x:Vector.vector -> y:Vector.vector -> a:Matrix.matrix -> unit
val syr : uplo -> alpha:float -> x:Vector.vector -> a:Matrix.matrix -> unit
val syr2 : uplo -> alpha:float -> x:Vector.vector -> y:Vector.vector -> a:Matrix.matrix -> unit

LEVEL 3

val gemm : ta:transpose -> tb:transpose -> alpha:float -> a:Matrix.matrix -> b:Matrix.matrix -> beta:float -> c:Matrix.matrix -> unit
val symm : side -> uplo -> alpha:float -> a:Matrix.matrix -> b:Matrix.matrix -> beta:float -> c:Matrix.matrix -> unit
val trmm : side -> uplo -> transpose -> diag -> alpha:float -> a:Matrix.matrix -> b:Matrix.matrix -> unit
val trsm : side -> uplo -> transpose -> diag -> alpha:float -> a:Matrix.matrix -> b:Matrix.matrix -> unit
val syrk : uplo -> transpose -> alpha:float -> a:Matrix.matrix -> beta:float -> c:Matrix.matrix -> unit
val syr2k : uplo -> transpose -> alpha:float -> a:Matrix.matrix -> b:Matrix.matrix -> beta:float -> c:Matrix.matrix -> unit

Single precision

module Single : sig ... end

Complex

module Complex : sig ... end

Complex single precision

module Complex_Single : sig ... end
OCaml

Innovation. Community. Security.