7.4 interfacing with C#

This lesson describes how to call functions/modules written in C into python and

import numpy as np

x= np.array([1, 2, 4,  5,  10, 20, 21, 22, 23, 24])
y= np.array([4, 6, 12, 15, 34, 68, 71, 72, 73, 74])

# perform linear regression

Total running time of the script: ( 0 minutes 0.001 seconds)

Gallery generated by Sphinx-Gallery