摘要:
··· import pylab as plt import numpy as np from numpy.linalg import norm from scipy.interpolate import interp2d from mpl_toolkits.mplot3d import Axes3 阅读全文
posted @ 2024-11-06 11:40
等我刷把宗师
阅读(19)
评论(0)
推荐(0)
摘要:
import numpy as np import pylab as plt from scipy.interpolate import interp1d from scipy.interpolate import lagrange a = np.loadtxt('F:\python数学建模与算法\ 阅读全文
posted @ 2024-11-06 11:39
等我刷把宗师
阅读(21)
评论(0)
推荐(0)
摘要:
import numpy as np from scipy.interpolate import lagrange import matplotlib.pyplot as plt import matplotlib yx = lambda x: 1/(1+x**2) def fun(n): x = 阅读全文
posted @ 2024-11-06 11:38
等我刷把宗师
阅读(22)
评论(0)
推荐(0)
摘要:
import numpy as np from scipy.interpolate import lagrange x0 = np.arange(1, 7) y0 = np.array([16, 18, 21, 17, 15, 12]) p = lagrange(x0, y0) print("从高到 阅读全文
posted @ 2024-11-06 11:36
等我刷把宗师
阅读(17)
评论(0)
推荐(0)
摘要:
import numpy as np import matplotlib.pyplot as plt x0 = np.arange(1, 7) y0 = np.array([16, 18, 21, 17, 15, 12]) A = np.vander(x0) # 范德蒙行列式 p = np.lina 阅读全文
posted @ 2024-11-06 11:35
等我刷把宗师
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号