object

cubic_spline_interpolator

Natural and clamped cubic-spline interpolation using a tridiagonal solve.

Availability:
logtalk_load(numerical_analysis(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-04
Compilation flags:
static, context_switching_calls
Imports:
public options
Uses:
Remarks:
(none)

Public predicates

derivative/4

Evaluates the first or second derivative of a fitted cubic spline.

Compilation flags:
static
Template:
derivative(Model,Argument,Order,Value)
Mode and number of proofs:
derivative(+compound,+number,+integer,-number) - one_or_error
Exceptions:
Order is not one or two:
domain_error(derivative_order,Order)

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)