Top "Cubic" questions

Pertaining to cubing, or being of the third power.

Spline Interpolation with Python

I wrote the following code to perform a spline interpolation: import numpy as np import scipy as sp x1 = [1., 0.88, 0.67, 0.50, 0.35, 0.27, 0.18, 0.11, 0.08, 0.04, 0.04, 0.02] y1 = [0., 13.99, 27.99, 41.98, 55.98, 69.97, 83.97, 97.97, 111.96, 125.96, 139.95, 153.95] …

python interpolation spline cubic
Solving a cubic equation

As part of a program I'm writing, I need to solve a cubic equation exactly (rather than using a numerical …

python algorithm math cubic
Proper implementation of cubic spline interpolation

I was using one of the proposed algorithms out there but the results are very bad. I implemented the wiki …

java c++ interpolation spline cubic
C++: Solving Cubic Equations

This site solves cubic equations, and has the equations it uses I wrote this function to get the same results …

c++ c equation solver cubic
Cubic Spline Python code producing linear splines

edit: I'm not looking for you to debug this code. If you are familiar with this well-known algorithm, then you …

python interpolation spline cubic
Cubic spline in matlab

i have trouble getting a matlab code to work properly! i found a cubic spline code in matlab to give …

matlab spline cubic