![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
遗忘的知识,逝去的年华
这个作者很懒,什么都没留下…
展开
-
动态创建模块中的类对象
动态创建模块中的类对象 import Materials """动态创建模块中的类对象""" steelName="Q235" tf=8 if steelName in dir(Materials): ip_module_cls = getattr(Materials, steelName) steel= ip_module_cls(t=tf) print(steel....原创 2019-05-25 21:31:47 · 475 阅读 · 0 评论 -
scipy求解非线性方程组example
scipy求解非线性方程组 scipy.optimize.root 函数参数不太明白,找到目录下说明示例,可得二元非线性方程组解法。 Examples -------- The following functions define a system of nonlinear equations and its jacobian. >>> def fun(x): ... ...原创 2019-07-03 17:04:41 · 1481 阅读 · 0 评论