摘要: import numpy as np import matplotlib.pyplot as plt 定义分段函数 def piecewise_function(x): result = np.where( np.logical_and(x >= -2, x <= 2), # 定义域 -2 <= x 阅读全文
posted @ 2025-06-03 15:45 skurar 阅读(16) 评论(0) 推荐(0)