gsl-ocaml / gsl_wavelet.mli

Markus Mottl f721575 














































(** Wavelet Transforms *)

type t
type ws

type kind =
  | DAUBECHIES
  | DAUBECHIES_CENTERED
  | HAAR
  | HAAR_CENTERED
  | BSPLINE
  | BSPLINE_CENTERED

type direction = FORWARD | BACKWARD

val make : kind -> int -> t
external name : t -> string = "ml_gsl_wavelet_name"
val workspace_make : int -> ws
external workspace_size : ws -> int = "ml_gsl_wavelet_workspace_size"

(** {3 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

(** {3 2D transforms} *)

type ordering =
  | STANDARD
  | 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.