B-Splines have a recursively-defined basis function $N_{i,j}(t)$ as shown here: $$ \newcommand{\defeq}{:=} N_{i,j}(t)\defeq\frac{t-t_i}{t_{i+j}-t_i}N_{i,j-1}(t)\frac{t_{i+j+1}-t}{t_{i+j+1}-t_{i+1}}N_{i+1,j-1}(t) $$ I would like to re-implement this in an engine that doesn't support recursion (Desmos). Is there a way to rewrite this (potentially using sums?)?
2026-03-25 22:25:11.1774477511
Is it possible to rewrite the B-Spline Basis functions nonrecusively
152 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in RECURSION
- Solving discrete recursion equations with min in the equation
- Recognizing recursion relation of series that is solutions of $y'' + y' + x^2 y = 0$ around $x_0 = 0$.
- Ackermann Function for $(2,n)$
- Primitive recursive functions of bounded sum
- Ackermann Function for $f(2,n)$ as compared to $f(5,1)$
- Determinant of Block Tridiagonal Matrix
- In how many ways can the basketball be passed between four people so that the ball comes back to $A$ after seven passes? (Use recursion)
- Finding a recursive relation from a differential equation.
- A recursive divisor function
- Are these numbers different from each other?
Related Questions in SPLINE
- Approximate spline equation with Wolfram Mathematica
- Almost locality of cubic spline interpolation
- inhomogeneous coordinates to homogeneous coordinates
- Can the relocation of one control point of a NURBS curve be compensated by an adjustment of some weights?
- How to construct a B-spline from nodal point in Matlab?
- Evaluation the interpolation polynomial at $x$
- Book suggestions on B-spline method for solving differential equations
- C2 continuous Bezier contour.
- Formula for the partial derivative of a bivariate tensor-product spline on a grid of points
- Integral of two zero-order spline basis functions
Related Questions in DESMOS
- How to use AND condition in Desmos
- How do I write this basic recursive formula into Desmos?
- Negative integral but positive function?
- Skew with Sgn(x) yields unwanted signed line segments
- Error in desmos while computing $\int_{-\infty}^{\infty}e^{-x^2}dx $
- Discrepancy in definite integral $\int_{0}^{2\pi}\frac{1}{10+3\cos x}dx$ using Desmos
- How can i make Desmos equations only visible, if a variable is less than 0?
- How to graph series in Desmos $f\left(x\right)=\sum_{n=1}^{x}nb-f_{1}\left(f\left(x-1\right)\right)$
- Why does Desmos outlines $r=\cos(2\theta)$ differently from $r\le\cos(2\theta)$?
- Why Desmos is giving two different answers for integral of the form $\int_{0}^{\pi}\left(\tan^{-1}(\cot(mx)\right)^2\:dx$
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Well, for a given degree, you can obviously just combine the recursion steps to get a closed-form expression. For common degrees (2 or 3) this is not too bad, but it gets nastier after that.
And you don’t really need recursion (in the sense of functions calling themselves), anyway — you can just use a loop.
There are definitions of b-spline basis functions that use divided differences, or convolutions, but I don’t think those would be very helpful. See (for example) Carl deBoor’s book entitled “A Practical Guide to Splines”.
For simple examples, see the answer to this question.