Richard Kreckel [Wed, 28 Feb 2001 15:53:26 +0000 (15:53 +0000)]
* some longish timings are now disabled by default.
* check/time_lw_M2.cpp: new timing (defaults to disabled)
* check/time_lw_N.cpp: new timing (defaults to disabled)
Christian Bauer [Tue, 27 Feb 2001 19:54:38 +0000 (19:54 +0000)]
when there are multiple variables with the same maximum degree, the one with
the least number of terms in the leading coefficient is chosen as the main
variable in GCD computations
Christian Bauer [Thu, 15 Feb 2001 22:54:52 +0000 (22:54 +0000)]
the destructor, copy constructor, and assignment operator (which were the
same for all subclasses of basic, with very few exceptions) are now included
in the GINAC_IMPLEMENT_REGISTERED_CLASS macro; the GINAC_DECLARE_REGISTERED_CLASS
macro also defines these (and other common) member functions
Christian Bauer [Wed, 14 Feb 2001 00:50:46 +0000 (00:50 +0000)]
- added documentation to the indexed, color, lortensor and clifford classes
- moved Dim() function from lortensor.cpp to lorentzidx.cpp
- moved append_exvector_to_exvector() from color.cpp to utils.cpp
- some cleanups in the lortensor and clifford classes
Christian Bauer [Mon, 12 Feb 2001 20:54:53 +0000 (20:54 +0000)]
- added documentation for the idx, coloridx and lorentzidx classes
- idx_intersect() works correctly when indices appear multiple times
- g~mu_mu = D-2 (instead of D-dim(P))
Christian Bauer [Thu, 25 Jan 2001 20:53:54 +0000 (20:53 +0000)]
- gcd() and lcm() always checked the second argument, even when check_args
was false
- add::normal() handles large expressions (that collapse to much smaller ones)
better
Richard Kreckel [Mon, 22 Jan 2001 18:11:54 +0000 (18:11 +0000)]
- See if __GNUC__ < 2.97 before using std::vector<..,malloc_alloc>. Sorry,
there is no way having this depend on whether we are setting up Cint or
not because the malloc_alloc goes into the mangled signature and the
result won't link if one tries to be more clever. It really sucks.
Let's all just pray Masaharu throws away that old STL implementation
really soon now. (Jeez, he still calls this old junk 'reference'!)
- Bumped up a few dates. :-)
Christian Bauer [Sat, 6 Jan 2001 19:18:29 +0000 (19:18 +0000)]
when normal() doesn't recur any further because the specified recursion level
was reached, the remaining subexpression is replaced by a symbol to avoid
continuing with non-polynomial expressions
Richard Kreckel [Fri, 15 Dec 2000 20:47:51 +0000 (20:47 +0000)]
- utils.cpp, version.h.in: add version information to the library itself.
- numeric.*: It was not a good idea to have a cast from numeric to cl_N,
make a method to_cl_N, instead, in order not to confuse compilers.
Richard Kreckel [Sat, 23 Sep 2000 21:36:50 +0000 (21:36 +0000)]
- pseries::print(): did not insert parenthesis when needed for precedence.
- pseries::precedence: was missing (thus being inherited from basic).
- add::print(): was not honoring upper_precedence for rest.
Richard Kreckel [Thu, 10 Aug 2000 17:14:39 +0000 (17:14 +0000)]
- Complete revamp of methods in class matrix. Some redundant (and poor)
implementations of elimination schemes were thrown out. The code is now
highly orthogonal, more flexible and much more efficient. The function
lsolve() now falls back to matrix::solve(), which in turn calls different
elimination strategies. matrix::fraction_free_elim() was thrown out for
good. matrix::pivot() has now two integer arguments (ro and co) to allow
pivoting when eliminating to echelon form.
- Some new checks to guard against regressions in the new matrix code.
- Some minor bug-fixes in documentation.
- Bumped up version from 0.6.3 to 0.6.4.
- ...and the usual changes triggered by other changes.