Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- barycentric_
2d - Compute the barycentric coordinates
(u, v, w)of pointpwith respect to triangle(a, b, c)in 2-D. - barycentric_
interp_ 2d - Interpolate a scalar at point
pinside triangle(a, b, c)with values(fa, fb, fc)using barycentric coordinates. - barycentric_
rational - Floater-Hormann family of barycentric rational interpolants.
- bicubic
- Bicubic interpolation using a 4×4 stencil on a regular 2-D grid.
- bilinear
- Bilinear interpolation on a unit square.
- bilinear_
grid - Bilinear interpolation on a regular 2-D grid of values.
- catmull_
rom - Catmull-Rom segment between
p1andp2using finite-difference tangents derived fromp0andp3. - dist3
- Helper: distance between two 3-D points.
- hermite
- Cubic Hermite interpolation (scalar).
- hermite3
- Cubic Hermite interpolation (3-vector).
- hermite_
deriv - Derivative of cubic Hermite at local parameter
t. - lerp
- Linear interpolation between two scalars.
- lerp3
- Component-wise linear interpolation between two 3-vectors.
- monotone_
cubic - Monotone cubic (PCHIP / Fritsch-Carlson) interpolation.
- natural_
neighbor_ interp - Natural neighbor interpolation using a simplified area-based Sibson weight.
- nurbs_
evaluate_ with_ derivative - Evaluate a NURBS curve using the Cox-de Boor algorithm and return the point together with its first derivative via automatic differentiation.
- quat_
dot - Dot product of two quaternions.
- quat_
nlerp - Normalized linear interpolation (nlerp) of two quaternions.
- quat_
norm - Euclidean norm of a quaternion.
- quat_
normalize - Normalize a quaternion to unit length.
- quat_
slerp - Spherical linear interpolation (slerp) between two unit quaternions.
- quat_
squad - SQUAD — smooth quaternion spline interpolation.
- rbf_fit
- Fit RBF weights by solving the interpolation system Φ w = f.
- rbf_
interpolate - Evaluate an RBF interpolant at query point
x. - rbf_
thin_ plate_ spline - Thin-plate spline RBF:
r² · ln(r)(convention: 0 at r=0). - rbf_
tps_ evaluate - Evaluate a 2-D RBF interpolant using the thin-plate spline kernel.
- rbf_
tps_ fit - Fit a 2-D RBF interpolant with the thin-plate spline kernel.
- trilinear
- Trilinear interpolation on a unit cube.
- trilinear_
grid - Trilinear interpolation on a regular 3-D grid.