Numerical methods provided to solve different methods in university studies
Physics Numerical methods applied and used during the bachlelor degree in Physics at Lund University. Most notbly is the numerical approximation methods and similar. The code regression works upon least square methods, and weighted least square methods and have been verified. If an issue occurs when using this package, contact via GitHub for a fast solution.
xlist1 = np.array([1,2,3,4,5,6,7,8,9,10]) ylist1 = np.array([4,6,9,10,12,14,16,18,20,21]) Model = ForceLinearreg(xlist1, ylist1) print(Model) plt.plot(xlist1, ylist1, '.', label = "DATA") plt.plot(xlist1, xlist1 * Model, '-', label = "Regression") plt.legend() plt.show()
This is a small indication of PhysicsNum.ForceLinearreg, where PhysicsNum.Linearreg is written in the same way.
Feel free to contribute to this code, it is found on Github under the authors name.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for PhysicsNum-0.1.1-py3-none-any.whl