Maxima: Transforming solutions obtained by linsolve.
Subject: Maxima: Transforming solutions obtained by linsolve.
From: Barton Willis
Date: Wed, 21 Nov 2007 18:16:12 -0600
-----Constantine Frangos <cfrangos at telkomsa.net> wrote: -----
>Your explanation on how %rnum_list works together with linsolve, etc is
>useful. I was not aware of this.
One more thing: The option variable 'linsolve_param' controls the
generation
of %r variables (to read the user documentation, enter ? linsolve_param).
So try this:
mycoefmatrix(eqs,vars) := block([linsolve_params : 'true],
coefmatrix(map('rhs, linsolve(eqs,vars)), %rnum_list))$
linsolve_param defaults to true, but in case the user changes it...
BW