Liking cljdoc? Tell your friends :D

fastmath.interpolation.ssj


b-splineclj

(b-spline xs ys)
(b-spline xs ys {:keys [degree hp1 clamped? knots] :or {clamped? false}})

B-spline interpolation or approximation.

Parameters:

  • :knots or :degree - sequence of knots or degree
  • :clamped? - for clamped knots (calculated), default: false
  • :hp1 - for clamped knots, if defined (degree < hp1 <= n) approximation function is created.

For clamped knots, default degree is set to 3, N-1 otherwise.

B-spline interpolation or approximation.

Parameters:
* `:knots` or `:degree` - sequence of knots or degree
* `:clamped?` - for clamped knots (calculated), default: `false`
* `:hp1` - for clamped knots, if defined (degree < hp1 <= n) approximation function is created.

For clamped knots, default degree is set to `3`, `N-1` otherwise.
sourceraw docstring

cubic-smoothingclj

(cubic-smoothing xs ys)
(cubic-smoothing xs ys {:keys [weights rho] :or {rho 1.0}})
source

polynomialclj

(polynomial xs ys)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close