LinSolve snippet

LinSolve snippet - 消息

#1 已发布: 2013/9/9 19:46:56
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

I have uploaded a snippet for solving linear systems given as vector of equations much like in the NonLinear Solvers plugin. Unfortunately, I did not manage to implement embedded results assignment. Thus, this snippet is only a modest preview of what a plugin function LinSolve could do. I shall withdraw the snippet from the gallery as soon as such a plugin function is provided by one of our great plugin programmers.
Section linsolve.sm (27.37 KiB)已下载 1820 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
3位用户喜欢此帖子
Radovan Omorjan 2013/9/10 01:38:00, Davide Carpi 2013/9/10 05:01:00, Andrey Ivashov 2013/9/11 07:52:00
#2 已发布: 2013/9/11 18:38:57
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

I have updated the LinSolve snippet in the gallery. Now there is a function Residual() for checking solutions of systems of equations.
It does not require the solution to be assigned to the variables, just specify the system and the solution vector. The vector can be generated in place by
the call to the solver.
This way you can test and document the solution quality without lots of assignments and Clear() calls or switching on and off alternatives.
Residual.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • 有新帖
  • 无新帖