WARPXM v1.10.0
Loading...
Searching...
No Matches
spline.h File Reference
#include "warpxm/warpxm_config.h"
#include <vector>

Go to the source code of this file.

Namespaces

namespace  wxm
 Base namespace for everything not included in the global namespace.
 
namespace  wxm::spline
 

Functions

void wxm::spline::fpbspl (const std::vector< real > &t, const int n, const int k, const real x, const int l, std::vector< real > &h)
 Subroutine fpbspl evaluates the (k+1) non-zero b-splines of degree k at t(l) <= x < t(l+1) using the stable recurrence relation of de boor and cox.
 
void wxm::spline::eval_spline2d (const std::vector< real > &tx, const std::vector< real > &ty, const int nx, const int ny, const std::vector< real > &c, const int kx, const int ky, std::vector< real > &lx, std::vector< real > &ly, std::vector< real > &hx, std::vector< real > &hy, std::vector< std::vector< real > > &wx, std::vector< std::vector< real > > &wy, const int mx, const int my, const std::vector< real > &x, const std::vector< real > &y, std::vector< std::vector< real > > &SplineValue2D)
 Evaluate 2D B-spline values at (x, y), given the knots vector and coefficients.