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 -> Gsl_vector_flat.vector -> unit
val transform_vector : t -> direction -> ?ws:ws -> Gsl_vector.vector -> unit
val transform_gen : t -> direction -> ?ws:ws -> [< Gsl_vectmat.vec ] -> unit

2D transforms

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

Innovation. Community. Security.