package oml

  1. Overview
  2. Docs
type boundary_condition =
  1. | Natural
  2. | Clamped of float * float
type t
val knots : t -> (float * float) array
val coefficients : t -> (float * float * float * float) array
val fit : ?bc:boundary_condition -> (float * float) array -> t
val eval : t -> float -> float
val eval_arr : t -> float array -> float array
OCaml

Innovation. Community. Security.