interpol/test.py
2019-07-24 19:19:41 +02:00

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)