nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
#include <memory_resource>
#include <nk/value/value.hpp>
#include <string>
#include <tuple>

Go to the source code of this file.

Functions

Value nk::stats::aveknt (const Value &t, int k, std::pmr::memory_resource *mr=nullptr)
 Greville knot averages (a = aveknt(t, k)).
Value nk::stats::augknt (const Value &knots, int k, std::pmr::memory_resource *mr=nullptr)
 Augment knot sequence (aug = augknt(knots, k)).
Value nk::stats::brk2knt (const Value &breaks, const Value &mults, std::pmr::memory_resource *mr=nullptr)
 Replicate breaks by multiplicities (t = brk2knt(breaks, mults)).
std::tuple< Value, Value > nk::stats::knt2brk (const Value &knots, std::pmr::memory_resource *mr=nullptr)
 Decompose knot vector ([breaks, mults] = knt2brk(knots)).
Value nk::stats::ppmak (const Value &breaks, const Value &coefs, int d, std::pmr::memory_resource *mr=nullptr)
 Piecewise-polynomial constructor (pp = ppmak(breaks, coefs, d)).
Value nk::stats::fnval (const Value &pp, const Value &x, std::pmr::memory_resource *mr=nullptr)
 Evaluate a pp-form spline (y = fnval(pp, x)).
Value nk::stats::fnder (const Value &pp, int order, std::pmr::memory_resource *mr=nullptr)
 Differentiate a pp-form spline (dpp = fnder(pp, order)).
Value nk::stats::fnint (const Value &pp, std::pmr::memory_resource *mr=nullptr)
 Antiderivative of a pp-form spline (ipp = fnint(pp)).
Value nk::stats::csapi (const Value &x, const Value &y, std::pmr::memory_resource *mr=nullptr)
 Not-a-knot cubic spline interpolation (pp = csapi(x, y)).
Value nk::stats::fnbrk (const Value &pp, const std::string &part, std::pmr::memory_resource *mr=nullptr)
 Extract a named field from a pp-form spline (v = fnbrk(pp, part)).
Value nk::stats::fncmb (const Value &pp1, double c1, const Value &pp2=Value::Empty, double c2=0.0, std::pmr::memory_resource *mr=nullptr)
 Combine pp-form splines linearly (pp = fncmb(pp1, c1, pp2, c2)).