摘要: import numpy as np def main(): #1-- Integral积分 from scipy.integrate import quad, dblquad, nquad print(quad(lambda x:np.exp(-x),0,np.inf)) print(dblquad(lambda t,x:np.exp(-x*t)/t**3, 0... 阅读全文
posted @ 2018-06-01 17:54 流星小子 阅读(1903) 评论(0) 推荐(0) 编辑
摘要: import numpy as np import matplotlib.pyplot as plt def main(): #scatter fig = plt.figure() ax = fig.add_subplot(3,3,1) n = 128 X = np.random.normal(0,1,n) Y = np.random.normal... 阅读全文
posted @ 2018-06-01 17:32 流星小子 阅读(302) 评论(0) 推荐(0) 编辑