LinSolve snippet

LinSolve snippet - Mensajes

#1 Publicado: 9/9/2013 19:46:56
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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) descargado 1801 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 3 usuarios les gustó este mensaje
Radovan Omorjan 10/9/2013 1:38:00, Davide Carpi 10/9/2013 5:01:00, Andrey Ivashov 11/9/2013 7:52:00
#2 Publicado: 11/9/2013 18:38:57
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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
  • Nuevos mensajes
  • Sin mensajes nuevos