ginsh - GiNaC Interactive Shell V0.3 Copyright (C) 1999 Johannes Gutenberg Universitaet Mainz, Germany This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details.
(1+x)*(1-I); 1-I*x+1-I print("); type=3add, hash=1 (0x1), flags=3, nops=2 x (symbol): serial=2, hash=0 (0x0), flags=3 1-I (numeric): hash=2147483649 (0x80000001), flags=11 ----- overall_coeff 1-I (numeric): hash=2147483649 (0x80000001), flags=11 =====
On Sun, 31 Oct 1999, Richard B. Kreckel wrote:
(1+x)*(1-I); 1-I*x+1-I
Similar to the 2^1/2 problem, numeric::print() should be checked. One might discuss if it is reasonable to automatically expand complex numbers like in 3*(x+y) -> 3*x + 3*y or restrict to real numbers only. -- Alexander Frink E-Mail: Alexander.Frink@Uni-Mainz.DE Institut fuer Physik Phone: +49-6131-393391 Johannes-Gutenberg-Universitaet D-55099 Mainz, Germany
participants (2)
-
Alexander Frink
-
Richard B. Kreckel