interpol/test.py

6 lines
124 B
Python
Raw Normal View History

2019-07-24 17:19:41 +00:00
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)