2019-04-02から1日間の記事一覧

Legendre polynomial #!/usr/bin/env python import numpy as np import matplotlib.pyplot as plt data = np.array(((-9, 5), (-4, 2), (-1, -2), (7, 9)), dtype=float) xcoords = np.linspace(-10, 10, 201) pts = np.arange(0, len(data)) l_x = [] for …