[GiNaC-list] Randomness when using lsolve

Vladimir V. Kisil kisilv at maths.leeds.ac.uk
Thu Jan 16 20:28:53 CET 2014


	Good evening,
>>>>> On Thu, 16 Jan 2014 17:20:31 -0200, Federico Bergero <fedebergero at gmail.com> said:

    FB> what is going on there? Is there a way to have a deterministic
    FB> solution?

    You cannot force GiNaC to produce always a+b and not b+a. However,
  this expressions are equal and GiNaC is able to check that. If this is
  crucial for you for some reasons, you need to write your own filtering
  output.

  Best wishes,
-- 
Vladimir V. Kisil     email: kisilv at maths.leeds.ac.uk
                        www: http://www.maths.leeds.ac.uk/~kisilv/
Book: Geometry of Mobius Transformations
http://www.worldscientific.com/worldscibooks/10.1142/p835


More information about the GiNaC-list mailing list