[GiNaC-list] Symbolic functions with multiple outputs
C.Dams at science.ru.nl
Thu Sep 8 11:26:59 CEST 2005
On Thu, 8 Sep 2005, John Pye wrote:
> >In the list case, perhaps what you really would want to have is a
> >symbolic function water_variables(p,h) that does not evalutate further
> >but can be used to hold pressure and enthalpy as results.
> Sorry, I don't understand what you mean here?
> By evaluating these at the same time in my final numerical evaluation
> stage, I can optimise a bit on the evaluation of the power series which
> is used to provide the steam properties I'm using, see
In the case with the water_variables function you could supply your own
function for the numerical evalutation of such a function and you could
use your optimisations.
More information about the GiNaC-list