Share Your Experience: Take the 2024 Developer Survey

# Tag Info

Accepted

### Minimize distance between curves

Let's assume you have a set of abscissas $x_i$ and two sets of function values on these grid points $f_i, g_i$ representing the functions $f$ and $g$. As mentioned in the comments, you'll need a model ...
• 3,147
Accepted

### Parametrized spline - oscilating second derivative

Your choice of parameterization is creating problems. Instead of spanning one in $t$ between points, span an amount proportional to the line segment between the two points in $(x,y)$ space. I've ...
• 1,253

### in Finite Element, which approximation requires less number of unknowns: B-splines vs Shape functions vs Spectral Elements

Based on the comments below your post you may reach the conclusion that # DOFs and speed have no correlation whatsoever - this is not true. Keeping all other things fixed and increasing the number of ...
• 2,162
Accepted

### Fitting a monotonically increasing spline function

A smoothing spline might be good enough in your case. For example, scipy.interpolate.UnivariateSpline implements this. You can use it in the following way: ...
• 459
Accepted

• 481
1 vote

### Accelerating Conjugate Gradients fitting for small localized kernel (like cubic B-spline)

You certainly can try using Gauss-Seidel based preconditioning that is relatively easy to construct and is cheap enough (by my assessment) to give it a try. Other choices of algebraic preconditioners ...
• 8,672
1 vote

### Integrating/Implementing NURBS-related calculations

I think that you should take a look to OpenCascade. It provides with Spline surfaces, and NURBS particularly. It is written in C++ and it is released under LGPL license. Regarding FreeCAD, I don't ...
• 8,525
1 vote

### How to connect two fitted B-spline curve?

Fitting together B-splines with a given continuity is a hard problem. This was actually the motivation behind developing a generalization of NURBS called T-splines. There are many articles on T-...
• 383

Only top scored, non community-wiki answers of a minimum length are eligible