We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码链接
输出截图:
思路: 文件读取 ——> 格式化文件 ——>二元词组计数返回
心得:最容易出错的地方是用re模块,正则表达式之前接触过一些,但是实际操作起来还是容易出错。。。
代码部分:
import sympy as sympy x = sympy.Symbol("x") print (sympy.diff(sympy.sin(x**2)*x))
输出结果: 2*x**2*cos(x**2) + sin(x**2)
2*x**2*cos(x**2) + sin(x**2)
心得:没有用过Numpy以外的三方数学计算模块,看前面的人有用sympy才发现符号计算这么方便
输出截图: 源数组:
向量化处理后:
The text was updated successfully, but these errors were encountered:
TedWenJun
No branches or pull requests
基础任务
代码链接
输出截图:
思路: 文件读取 ——> 格式化文件 ——>二元词组计数返回
心得:最容易出错的地方是用re模块,正则表达式之前接触过一些,但是实际操作起来还是容易出错。。。
进阶任务
The text was updated successfully, but these errors were encountered: