package gsl

  1. Overview
  2. Docs

Wavelet Transforms

type t
type ws
type kind =
  1. | DAUBECHIES
  2. | DAUBECHIES_CENTERED
  3. | HAAR
  4. | HAAR_CENTERED
  5. | BSPLINE
  6. | BSPLINE_CENTERED
type direction =
  1. | FORWARD
  2. | BACKWARD
val make : kind -> int -> t
val name : t -> string
val workspace_make : int -> ws
val workspace_size : ws -> int

1D transforms

val transform_array : t -> direction -> ?ws:ws -> ?stride:int -> ?off:int -> ?len:int -> float array -> unit
val transform_forward : t -> ?ws:ws -> ?stride:int -> ?off:int -> ?len:int -> float array -> unit
val transform_inverse : t -> ?ws:ws -> ?stride:int -> ?off:int -> ?len:int -> float array -> unit
val transform_vector_flat : t -> direction -> ?ws:ws -> Vector_flat.vector -> unit
val transform_vector : t -> direction -> ?ws:ws -> Vector.vector -> unit
val transform_gen : t -> direction -> ?ws:ws -> [< Vectmat.vec ] -> unit

2D transforms

type ordering =
  1. | STANDARD
  2. | NON_STANDARD
val transform_matrix_flat : t -> ordering -> direction -> ?ws:ws -> Matrix_flat.matrix -> unit
val transform_matrix : t -> ordering -> direction -> ?ws:ws -> Matrix.matrix -> unit
val transform_matrix_gen : t -> ordering -> direction -> ?ws:ws -> [< Vectmat.mat ] -> unit
OCaml

Innovation. Community. Security.