1、梯度的模长 http://www.gaosan.com/gaokao/262218.html 2、diff函数用法 https://blog.csdn.net/weixin_39735012/article/details/110839815 diff函数(matlab) 3、Python sympy.subs()用法