2024-09-29 09:25:33 发布
网友
我正在使用fsolve。以下是与fsolve相关的代码片段。函数func(H)有300行长,所以我不会在这里发布
func(H)
def tosolve(H, T): return T - func(H[0]) x0 = fsolve(tosolve, 200., args=(35)) print(x0)
我如何确保fsolve甚至不尝试低于0
fsolve
if guess < 0 then this is not the root you are looking for
目前没有回答
目前没有回答
相关问题 更多 >
编程相关推荐