6 lines
124 B
Python
6 lines
124 B
Python
|
import interpol.spline.linear.do as do
|
||
|
import numpy as np
|
||
|
x = np.arange(0, 4, 0.3)
|
||
|
y = np.cos(x)
|
||
|
ip = do.InterPolator(x, y)
|