29 Nov
2015
29 Nov
'15
10:58 p.m.
On 28 Nov 2015 12:39, "Jan Rheinlander" <jrheinlaender@gmx.de> wrote:
Hi,
is there a way to create a ginac object "e" such that log(e) automatically evaluates to 1?
The following seems to work: ex e=exp(numeric(1)); std::cout << log(e) << std::endl; // -> 1.0 -- Vladimir V. Kisil http://www.maths.leeds.ac.uk/~kisilv/ Book: Geometry of Mobius Transformations http://goo.gl/EaG2Vu Software: Geometry of cycles http://moebinv.sourceforge.net/