/[GiNaC]/ginac/numeric.h
ViewVC logotype

Log of /ginac/numeric.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.80 - (view) (annotate) - [select for diffs]
Thu Aug 2 13:39:17 2007 UTC (7 years, 1 month ago) by vollinga
Branch: MAIN
CVS Tags: HEAD, release_1-4-0, release_1-4-1
Branch point for: ginac_1-4
Changes since 1.79: +3 -0 lines
Diff to previous 1.79 , to selected 1.77
Added missing is_negative() inline function.


Revision 1.79 - (view) (annotate) - [select for diffs]
Wed Jan 31 22:29:20 2007 UTC (7 years, 7 months ago) by kreckel
Branch: MAIN
Changes since 1.78: +1 -1 lines
Diff to previous 1.78 , to selected 1.77
* Happy New Year(s)!


Revision 1.68.4.3 - (view) (annotate) - [select for diffs]
Wed Jan 31 22:27:39 2007 UTC (7 years, 7 months ago) by kreckel
Branch: ginac_1-3
CVS Tags: release_1-3-7, release_1-3-8, release_1-3-9
Changes since 1.68.4.2: +1 -1 lines
Diff to previous 1.68.4.2 , to branch point 1.68 , to next main 1.80 , to selected 1.77
* Happy New Year(s)!


Revision 1.77.2.1 - (view) (annotate) - [select for diffs]
Thu Apr 27 11:42:41 2006 UTC (8 years, 4 months ago) by vollinga
Branch: experimental_fclasses
Changes since 1.77: +2 -28 lines
Diff to previous 1.77 , to next main 1.80
* _function suffix only for cmath functions and conjugate().
* fixed printing defaults for functions.
* removed functions "numerical <functionname>(const numeric& x)". For the
  internally used abs, factorial and binomial functions static members of the
  respective classes have been added.


Revision 1.78 - (view) (annotate) - [select for diffs]
Fri Apr 21 12:16:02 2006 UTC (8 years, 5 months ago) by chrisd
Branch: MAIN
Changes since 1.77: +2 -0 lines
Diff to previous 1.77
Added methods for taking real and imaginary parts.


Revision 1.77 - (view) (annotate) - [selected]
Mon Mar 27 15:13:22 2006 UTC (8 years, 5 months ago) by chrisd
Branch: MAIN
Branch point for: experimental_fclasses
Changes since 1.76: +1 -0 lines
Diff to previous 1.76
Added .is_polynomial() method.


Revision 1.76 - (view) (annotate) - [select for diffs]
Mon Mar 13 14:21:47 2006 UTC (8 years, 6 months ago) by chrisd
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 , to selected 1.77
Make step(0)=1/2 again and remove step_power.


Revision 1.75 - (view) (annotate) - [select for diffs]
Thu Mar 9 17:02:05 2006 UTC (8 years, 6 months ago) by chrisd
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 , to selected 1.77
Make step(0)=1 for greater consistency.


Revision 1.74 - (view) (annotate) - [select for diffs]
Thu Mar 9 16:13:11 2006 UTC (8 years, 6 months ago) by chrisd
Branch: MAIN
Changes since 1.73: +4 -0 lines
Diff to previous 1.73 , to selected 1.77
Add step function to GiNaCs built-in functions.


Revision 1.73 - (view) (annotate) - [select for diffs]
Tue Feb 14 16:40:06 2006 UTC (8 years, 7 months ago) by chrisd
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72 , to selected 1.77
Fixed problems on 64-bit machines and introduced has_options::algebraic.


Revision 1.72 - (view) (annotate) - [select for diffs]
Thu Jan 19 16:36:07 2006 UTC (8 years, 8 months ago) by vollinga
Branch: MAIN
Changes since 1.71: +1 -9 lines
Diff to previous 1.71 , to selected 1.77
- New tinfo mechanism
  (Remark: return_type_tinfo returns basic* now)
- Removed rtt from class symbol.


Revision 1.71 - (view) (annotate) - [select for diffs]
Thu Nov 10 14:36:28 2005 UTC (8 years, 10 months ago) by vollinga
Branch: MAIN
Changes since 1.70: +11 -1 lines
Diff to previous 1.70 , to selected 1.77
Added callback mechanism to watch changes to 'Digits' (to be used for look-up tables)


Revision 1.70 - (view) (annotate) - [select for diffs]
Sun May 1 18:23:27 2005 UTC (9 years, 4 months ago) by kreckel
Branch: MAIN
Changes since 1.69: +1 -1 lines
Diff to previous 1.69 , to selected 1.77
* Last week, the FSF has moved their office.


Revision 1.68.4.2 - (view) (annotate) - [select for diffs]
Sun May 1 18:12:43 2005 UTC (9 years, 4 months ago) by kreckel
Branch: ginac_1-3
CVS Tags: release_1-3-1, release_1-3-2, release_1-3-3, release_1-3-4, release_1-3-5, release_1-3-6
Changes since 1.68.4.1: +1 -1 lines
Diff to previous 1.68.4.1 , to branch point 1.68 , to selected 1.77
* Last week, the FSF has moved their office.


Revision 1.69 - (view) (annotate) - [select for diffs]
Tue Feb 22 15:38:09 2005 UTC (9 years, 7 months ago) by cbauer
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68 , to selected 1.77
Happy new year!


Revision 1.68.4.1 - (view) (annotate) - [select for diffs]
Tue Feb 22 15:37:20 2005 UTC (9 years, 7 months ago) by cbauer
Branch: ginac_1-3
Changes since 1.68: +1 -1 lines
Diff to previous 1.68 , to selected 1.77
Happy new year!


Revision 1.59.2.6 - (view) (annotate) - [select for diffs]
Thu Jan 8 15:36:53 2004 UTC (10 years, 8 months ago) by cbauer
Branch: ginac_1-1
CVS Tags: release_1-1-6, release_1-1-7
Changes since 1.59.2.5: +1 -1 lines
Diff to previous 1.59.2.5 , to branch point 1.59 , to next main 1.80 , to selected 1.77
Happy New Year!


Revision 1.68 - (view) (annotate) - [select for diffs]
Sun Jan 4 13:12:41 2004 UTC (10 years, 8 months ago) by vollinga
Branch: MAIN
CVS Tags: release_1-2-0, release_1-2-1, release_1-2-2, release_1-2-3, release_1-2-4, release_1-3-0
Branch point for: ginac_1-2, ginac_1-3
Changes since 1.67: +4 -5 lines
Diff to previous 1.67 , to selected 1.77
* Added complex conjugation methods and GiNaC function "conjugate".
* Data member "value" now is cln::cl_N.


Revision 1.67 - (view) (annotate) - [select for diffs]
Thu Sep 4 14:00:17 2003 UTC (11 years ago) by cbauer
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 , to selected 1.77
basic::to_rational()/to_polynomial() now take an exmap instead of a list;
the old methods of ex remain for compatibility


Revision 1.66 - (view) (annotate) - [select for diffs]
Wed Aug 13 16:44:07 2003 UTC (11 years, 1 month ago) by cbauer
Branch: MAIN
Changes since 1.65: +9 -1 lines
Diff to previous 1.65 , to selected 1.77
use new-style print methods


Revision 1.65 - (view) (annotate) - [select for diffs]
Mon Jul 21 15:15:59 2003 UTC (11 years, 2 months ago) by cbauer
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 , to selected 1.77
normal() uses an additional reverse lookup map


Revision 1.64 - (view) (annotate) - [select for diffs]
Fri Jul 11 15:28:44 2003 UTC (11 years, 2 months ago) by cbauer
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 , to selected 1.77
subs() and normal() use maps instead of lists, resulting in a huge performance
boost for subs()


Revision 1.63 - (view) (annotate) - [select for diffs]
Wed Jul 2 16:47:12 2003 UTC (11 years, 2 months ago) by cbauer
Branch: MAIN
Changes since 1.62: +48 -35 lines
Diff to previous 1.62 , to selected 1.77
merging 1.2 branch into main trunk


Revision 1.59.2.4.2.4 - (view) (annotate) - [select for diffs]
Wed Jun 18 16:21:55 2003 UTC (11 years, 3 months ago) by cbauer
Changes since 1.59.2.4.2.3: +1 -0 lines
Diff to previous 1.59.2.4.2.3 , to branch point 1.59.2.4 , to next main 1.59.2.6 , to selected 1.77
- basic::subs() now descends into subexpressions by default
- the old non-recursive behavior of basic::subs() is now available as
  basic::subs_one_level() (this is only needed for implementing classes)


Revision 1.59.2.5 - (view) (annotate) - [select for diffs]
Wed Jun 18 15:13:20 2003 UTC (11 years, 3 months ago) by cbauer
Branch: ginac_1-1
CVS Tags: release_1-1-1, release_1-1-2, release_1-1-3, release_1-1-4, release_1-1-5
Changes since 1.59.2.4: +14 -0 lines
Diff to previous 1.59.2.4 , to branch point 1.59 , to selected 1.77
pole_error and do_taylor moved to public header files


Revision 1.59.2.4.2.3 - (view) (annotate) - [select for diffs]
Tue Jun 17 15:53:51 2003 UTC (11 years, 3 months ago) by cbauer
Changes since 1.59.2.4.2.2: +14 -0 lines
Diff to previous 1.59.2.4.2.2 , to branch point 1.59.2.4 , to selected 1.77
pole_error and do_taylor moved to public header files


Revision 1.59.2.4.2.2 - (view) (annotate) - [select for diffs]
Sat Jun 14 12:27:45 2003 UTC (11 years, 3 months ago) by cbauer
Changes since 1.59.2.4.2.1: +1 -1 lines
Diff to previous 1.59.2.4.2.1 , to branch point 1.59.2.4 , to selected 1.77
- removed copy(), destroy(), copy constructors, destructors and assignment
  operators from all classes except basic, because the defaults work just fine
  (and this also speeds up things a little)
- clarified the behavior of basic copy constructor vs. basic assignment op


Revision 1.59.2.4.2.1 - (view) (annotate) - [select for diffs]
Mon Jun 9 15:46:49 2003 UTC (11 years, 3 months ago) by cbauer
Changes since 1.59.2.4: +31 -31 lines
Diff to previous 1.59.2.4 , to selected 1.77
func(void) -> func() (this is C++, dammit :)


Revision 1.59.2.4 - (view) (annotate) - [select for diffs]
Thu Jan 30 19:35:16 2003 UTC (11 years, 7 months ago) by cbauer
Branch: ginac_1-1
CVS Tags: release_1-1-0
Changes since 1.59.2.3: +1 -0 lines
Diff to previous 1.59.2.3 , to branch point 1.59 , to selected 1.77
added to_polynomial(), to complement to_rational()


Revision 1.59.2.3 - (view) (annotate) - [select for diffs]
Tue Jan 21 20:52:35 2003 UTC (11 years, 8 months ago) by cbauer
Branch: ginac_1-1
Changes since 1.59.2.2: +1 -1 lines
Diff to previous 1.59.2.2 , to branch point 1.59 , to selected 1.77
*** empty log message ***


Revision 1.62 - (view) (annotate) - [select for diffs]
Tue Jan 21 19:50:24 2003 UTC (11 years, 8 months ago) by cbauer
Branch: MAIN
CVS Tags: release_1-0-13, release_1-0-14, release_1-0-15
Branch point for: ginac_1-0
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 , to selected 1.77
- prepared for 1.0.13 release
- synced to 1.1


Revision 1.59.2.2 - (view) (annotate) - [select for diffs]
Tue Apr 30 19:42:41 2002 UTC (12 years, 4 months ago) by kreckel
Branch: ginac_1-1
Changes since 1.59.2.1: +0 -3 lines
Diff to previous 1.59.2.1 , to branch point 1.59 , to selected 1.77
* Globalize the hash-value-space.


Revision 1.59.2.1 - (view) (annotate) - [select for diffs]
Sun Jan 27 13:32:32 2002 UTC (12 years, 7 months ago) by kreckel
Branch: ginac_1-1
Changes since 1.59: +4 -1 lines
Diff to previous 1.59 , to selected 1.77
* Sync 1.1 branch to 1.0 mainline.


Revision 1.61 - (view) (annotate) - [select for diffs]
Fri Jan 25 15:33:07 2002 UTC (12 years, 8 months ago) by cbauer
Branch: MAIN
CVS Tags: release_1-0-10, release_1-0-11, release_1-0-12, release_1-0-6, release_1-0-7, release_1-0-8, release_1-0-9
Changes since 1.60: +3 -0 lines
Diff to previous 1.60 , to selected 1.77
- (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
  of any class (except add/mul/ncmul/numeric) for "s". They should even work
  if "s" is a "power" object, as long as the exponent is non-integer, but with
  some limitations. For example, you can "collect(a*2^x+b*2^x, 2^x)" to get
  "(a+b)*2^x", but "degree(2^(3*x), 2^x)" yields 0 instead of 3).


Revision 1.60 - (view) (annotate) - [select for diffs]
Thu Jan 24 22:28:20 2002 UTC (12 years, 8 months ago) by kreckel
Branch: MAIN
CVS Tags: release_1-0-4
Changes since 1.59: +1 -1 lines
Diff to previous 1.59 , to selected 1.77
* Finilize version 1.0.4 (version numbers, copyrights and such rubbish).


Revision 1.59 - (view) (annotate) - [select for diffs]
Mon Oct 22 13:59:51 2001 UTC (12 years, 11 months ago) by kreckel
Branch: MAIN
CVS Tags: release_1-0-0, release_1-0-1, release_1-0-2, release_1-0-3
Branch point for: ginac_1-1
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 , to selected 1.77
* Some internal reorganization WRT flyweight handling and initialization,
  resulting in a general speed-up.
  Wherever thou hast written _ex7() thou shalt write _ex7 from now on.


Revision 1.58 - (view) (annotate) - [select for diffs]
Wed Aug 22 16:11:51 2001 UTC (13 years, 1 month ago) by kreckel
Branch: MAIN
CVS Tags: release_0-9-4
Changes since 1.57: +0 -7 lines
Diff to previous 1.57 , to selected 1.77
- Cleanups: My evil plot of making ex::bp private may finally be carried
  out, provided one changes all the is_of_type(obj,type) to is_a<type>(obj)
  which we don't do right now because it would degrade performance on
  gcc-2.95.x.  Also, ex_to_type(obj) has gone for good now, we have been
  having ex_to<type>(obj) long enough.  ex_to_nonconst_type(obj) have gone
  as well, since they are almost never used and one can always cast aways
  the constness explicitly if need should arise.


Revision 1.57 - (view) (annotate) - [select for diffs]
Tue Jun 26 20:32:04 2001 UTC (13 years, 3 months ago) by cbauer
Branch: MAIN
CVS Tags: release_0-9-1, release_0-9-2, release_0-9-3
Changes since 1.56: +1 -1 lines
Diff to previous 1.56 , to selected 1.77
- replaced the Derivative() function by a more resonable fderivative class;
  to see it in action, try "series(abs(x),x==0,3)" and "series(abs(x),x==y,3)"
  in ginsh with previous GiNaC releases and with this one
- add::eval() throws an exception when the first term is non-commutative and
  the overall_coeff is non-zero
- small fixes to print_tree output of indexed objects
- ncmul::expand() now actually does expand something like "(dirac_gamma(mu)+1)
  *dirac_gamma(nu)" correctly (but the change to add::eval() should make this
  a "can't happen" case)
- moved ToString() to tostring.h (fewer header dependencies)
- ALL YOUR "BASES CLASSES" ARE BELONG TO US


Revision 1.56 - (view) (annotate) - [select for diffs]
Tue Jun 26 17:19:38 2001 UTC (13 years, 3 months ago) by kreckel
Branch: MAIN
Changes since 1.55: +7 -7 lines
Diff to previous 1.55 , to selected 1.77
* Ctors of class numeric are not explicit any more.  All built-in callers for
  pseudofunctions are now templated and default to ex arguments which relaxes
  the need for explicit ctors.


Revision 1.55 - (view) (annotate) - [select for diffs]
Sat Jun 16 14:38:09 2001 UTC (13 years, 3 months ago) by kreckel
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54 , to selected 1.77
* Supplement some (now deprecated) macros by inlined template functions:
  - ex_to_foobar(baz)  ->  ex_to<foobar>(baz).


Revision 1.54 - (view) (annotate) - [select for diffs]
Fri Jun 15 15:20:55 2001 UTC (13 years, 3 months ago) by kreckel
Branch: MAIN
Changes since 1.53: +9 -0 lines
Diff to previous 1.53 , to selected 1.77
* Supplement some (now deprecated) macros by inlined template functions:
  - is_of_type(foo, type) -> is_a<type>(foo)
  - is_ex_of_type(foo, type) -> is_a<type>(foo)
  - is_exaclty_of_type(foo, type) -> is_exaclty_a<type>(foo)
  - is_ex_exaclty_of_type(foo, type) -> is_exaclty_a<type>(foo)


Revision 1.53 - (view) (annotate) - [select for diffs]
Tue Jun 12 10:55:49 2001 UTC (13 years, 3 months ago) by kreckel
Branch: MAIN
Changes since 1.52: +0 -2 lines
Diff to previous 1.52 , to selected 1.77
- cruft removed.


Revision 1.52 - (view) (annotate) - [select for diffs]
Tue Jun 5 09:55:06 2001 UTC (13 years, 3 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-9-0
Changes since 1.51: +0 -1 lines
Diff to previous 1.51 , to selected 1.77
- ++version_major.
- added matrix::pow() to handle integer exponents with the least amount of
  multiplications possible and...
- ...added power::evalm() to actually use it.
- classhierarchy.fig: add class wildcard.
- some cleanups.


Revision 1.51 - (view) (annotate) - [select for diffs]
Sat May 19 17:37:45 2001 UTC (13 years, 4 months ago) by cbauer
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50 , to selected 1.77
replaced "precedence" static member variable by virtual precedence() function


Revision 1.50 - (view) (annotate) - [select for diffs]
Fri May 11 10:16:11 2001 UTC (13 years, 4 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-8-3
Changes since 1.49: +0 -1 lines
Diff to previous 1.49 , to selected 1.77
* Zapped header dependency from <strstream>.


Revision 1.49 - (view) (annotate) - [select for diffs]
Fri Apr 6 19:03:00 2001 UTC (13 years, 5 months ago) by cbauer
Branch: MAIN
CVS Tags: release_0-8-1, release_0-8-2
Changes since 1.48: +1 -4 lines
Diff to previous 1.48 , to selected 1.77
- replaced the various print*() member functions by a single print() that
  takes a print_context object that determines the output formatting; this
  should make it easier to add more output types
- print_tree output of indexed objects looks better


Revision 1.48 - (view) (annotate) - [select for diffs]
Wed Feb 28 12:54:53 2001 UTC (13 years, 6 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-7-3, release_0-8-0
Changes since 1.47: +103 -109 lines
Diff to previous 1.47 , to selected 1.77
* ginac/registrar.h: dtor is inlined now.
* ginac/basic.h, ginac/ex.h: removed INLINE_FOO_CONSTRUCTORS and hand-inlined
  stuff instead, since the macros turned out to get in the way while
  fine-tuning the inlining.
* ginac/utils.h: if 'long long' works, use that one for computing the hash
  value instead of floating point tricks.  2 Reasons: on Intel the assembler
  is terrible and slow otherwise, 'long long' will appear in C++ anyways when
  they adapt to the C99 standard.
* Several other small performance tweaks.
* ginac/constant.cpp: (constant::calchash()) implement, caring for serial.
* ginac/function.pl (function::calchash()): implement, caring for serial.
* ginac/expairseq.cpp: honor coeff's hash value.
* ginac/pseries.cpp: (pseries::power_const()) fix problems with zero pseries.
* Added several pounds of in-source documentation in doxygen style.


Revision 1.47 - (view) (annotate) - [select for diffs]
Sat Feb 17 18:07:08 2001 UTC (13 years, 7 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-7-2
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 , to selected 1.77
pseries::expand(): do not generate zero terms.
pseries::print(): print trivial case, too.
others: documentation updates.


Revision 1.46 - (view) (annotate) - [select for diffs]
Fri Feb 16 17:25:50 2001 UTC (13 years, 7 months ago) by cbauer
Branch: MAIN
Changes since 1.45: +0 -2 lines
Diff to previous 1.45 , to selected 1.77
GINAC_DECLARE_REGISTERED_CLASS declares duplicate() and compare_same_type(),
GINAC_IMPLEMENT_REGISTERED_CLASS implements duplicate()


Revision 1.45 - (view) (annotate) - [select for diffs]
Thu Feb 15 19:54:55 2001 UTC (13 years, 7 months ago) by cbauer
Branch: MAIN
Changes since 1.44: +0 -14 lines
Diff to previous 1.44 , to selected 1.77
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


Revision 1.44 - (view) (annotate) - [select for diffs]
Wed Feb 14 16:04:21 2001 UTC (13 years, 7 months ago) by cbauer
Branch: MAIN
Changes since 1.43: +0 -2 lines
Diff to previous 1.43 , to selected 1.77
removed the "some_*" and "typeid_*" definitions since we are using our own
RTTI for quite some time now


Revision 1.43 - (view) (annotate) - [select for diffs]
Mon Jan 22 15:12:10 2001 UTC (13 years, 8 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-7-1
Changes since 1.42: +1 -1 lines
Diff to previous 1.42 , to selected 1.77
- 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.  :-)


Revision 1.42 - (view) (annotate) - [select for diffs]
Fri Dec 15 17:47:51 2000 UTC (13 years, 9 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-7-0
Changes since 1.41: +10 -1 lines
Diff to previous 1.41 , to selected 1.77
- 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.


Revision 1.41 - (view) (annotate) - [select for diffs]
Fri Nov 24 22:19:48 2000 UTC (13 years, 10 months ago) by kreckel
Branch: MAIN
Changes since 1.40: +40 -55 lines
Diff to previous 1.40 , to selected 1.77
Transition to the (yet to be released) CLN 1.1.


Revision 1.40 - (view) (annotate) - [select for diffs]
Mon Aug 14 12:21:08 2000 UTC (14 years, 1 month ago) by kreckel
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 , to selected 1.77
- Inserted some more std:: to make it compile under GCC2.96.


Revision 1.39 - (view) (annotate) - [select for diffs]
Fri Aug 11 15:52:42 2000 UTC (14 years, 1 month ago) by cbauer
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 , to selected 1.77
- fixes to the indentation


Revision 1.38 - (view) (annotate) - [select for diffs]
Fri Aug 11 15:07:17 2000 UTC (14 years, 1 month ago) by cbauer
Branch: MAIN
Changes since 1.37: +128 -128 lines
Diff to previous 1.37 , to selected 1.77
- indentation is now done with tabs
- printtree() prints the class names as known to the registrar, not the
  (mangled) class names from typeid().name()


Revision 1.37 - (view) (annotate) - [select for diffs]
Tue Jul 25 20:49:32 2000 UTC (14 years, 2 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-6-3, release_0-6-4
Changes since 1.36: +0 -1 lines
Diff to previous 1.36 , to selected 1.77
- Made determinant_algo (in flags.h) really work.
- Fixed minor bugs in matrix.cpp.
- Small Documantation updates.


Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Jul 20 21:12:42 2000 UTC (14 years, 2 months ago) by kreckel
Branch: MAIN
Changes since 1.35: +9 -6 lines
Diff to previous 1.35 , to selected 1.77
- Derivatives are now assembled in a slightly different manner (i.e. they
  'look' different on first sight).  Under certain circumstances this can
  result in a dramatic speedup because it gives hashing a better chance,
  especially when computing higher derivatives.
- Series expansion accepts an additional bool argument now, telling it
  whether branch cuts are to be honored (as Maple does it) or not (as
  Mathematica does it).  It defaults to true (i.e. the Maple way).
- Many series expansions of built-in functions have been reengineered.
- The Dilogarithm (Li2) now has floating point evaluation, derivative and a
  proper series expansion.
- Namespace 'std' cleanly disentangled, as demanded by ISO/EIC 14882-1998(E).
- Some helpers updated from upstream.


Revision 1.35 - (view) (annotate) - [select for diffs]
Tue Jun 6 20:34:21 2000 UTC (14 years, 3 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-6-2
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 , to selected 1.77
- bernoulli(): Really sped the Bernoulli numbers up!  Wolfram, Maple, and
  all others: beat this!


Revision 1.34 - (view) (annotate) - [select for diffs]
Mon Jun 5 09:45:21 2000 UTC (14 years, 3 months ago) by kreckel
Branch: MAIN
Changes since 1.33: +0 -7 lines
Diff to previous 1.33 , to selected 1.77
- ginac/operators.cpp: added some missing debugmsg()'s, which would have
  come in handy if they had been around before Cint's show-stopper bug.  ;-)
- INSTALL, cint/ginaccint.bin.cpp: Updated Cint-copyright.
- ginac/*: deleted some #ifdef CINT_CONVERSION_WORKAROUND's.


Revision 1.33 - (view) (annotate) - [select for diffs]
Thu Apr 6 15:58:15 2000 UTC (14 years, 5 months ago) by cbauer
Branch: MAIN
CVS Tags: release_0-6-0, release_0-6-1
Changes since 1.32: +1 -0 lines
Diff to previous 1.32 , to selected 1.77
- added ex::to_rational() to convert general expression to rational expression
  by replacing all non-rational parts with temporary symbols, e.g.:
    ex a = pow(sin(x), 2) - pow(cos(x), 2);
    ex b = sin(x) + cos(x);
    ex d;
    lst l;
    divide(a.to_rational(l), b.to_rational(l), d);
    cout << d.subs(l) << endl;
  will print "sin(x)-cos(x)"


Revision 1.32 - (view) (annotate) - [select for diffs]
Mon Apr 3 18:02:17 2000 UTC (14 years, 5 months ago) by kreckel
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 , to selected 1.77
- inline int csgn(const numeric &): fixed a typo.


Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Mar 29 20:09:35 2000 UTC (14 years, 5 months ago) by kreckel
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 , to selected 1.77
- dramatic speedup for characteristic polynomials of numerical matrices.
- speedup for matrix multiplication of somewhat sparse matrices.
- gamma -> Euler  (sorry 4 that, again).
- two new tests (Q and Q') from Lewis' and Wester's testsuite.
- fixed compilation desaster in timing M1 by using the new parser.
- had a glass of beer.


Revision 1.30 - (view) (annotate) - [select for diffs]
Sun Mar 26 18:57:24 2000 UTC (14 years, 6 months ago) by kreckel
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 , to selected 1.77
- As advertised: we are calling the Gamma function tgamma() now!


Revision 1.29 - (view) (annotate) - [select for diffs]
Tue Mar 21 16:30:38 2000 UTC (14 years, 6 months ago) by kreckel
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 , to selected 1.77
- gamma() -> Gamma().
- EulerGamma -> gamma.
- beta() -> Beta().
- Version -> 0.6.0 in order to make it clear there were *real* changes.


Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Mar 15 19:28:41 2000 UTC (14 years, 6 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-5-4
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 , to selected 1.77
- According to CLTL 0^I is undefined, 0^(I+epsilon) is 0 and 0^(I-epsilon)
  is an overflow.  Now, this should be honored.


Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Mar 1 18:32:45 2000 UTC (14 years, 6 months ago) by kreckel
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26 , to selected 1.77
- Fixed a logic error in numeric::info().
- Maybe added another world record: an extremely fast fibonacci routine
  (a nonrecursive variation of a method suggested by B. Haible).


Revision 1.26 - (view) (annotate) - [select for diffs]
Mon Feb 21 20:11:42 2000 UTC (14 years, 7 months ago) by frink
Branch: MAIN
CVS Tags: release_0-5-3
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 , to selected 1.77
container.pl: can now generate constructors for an arbitary number
    of arguments
function.pl: new concept for specifying options for functions,
    take a look at the function_options class
    first experimental support for remembering functions
    IMPORTANT: the syntax of the macro REGISTER_FUNCTION() has
    changed incompatibly (see inifcns.cpp for an example)
flags.h: flags for remembering strategies (lru, lfu,...)
inifcns*.cpp: use the new REGISTER_FUNCTION() macro syntax
numeric.h/cpp: hashing for numbers using CLN's cl_equal_hashcode()
    seems to give increased performance
simp_lor.h: simplify_simp_lor can be called without scalar products list
structure.pl: bug fix in regular expression
normal.cpp: bug fix, a_numeric.compare(_ex0)


Revision 1.25 - (view) (annotate) - [select for diffs]
Tue Feb 15 20:17:57 2000 UTC (14 years, 7 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-5-2
Changes since 1.24: +1 -0 lines
Diff to previous 1.24 , to selected 1.77
- introduced numeric::has()


Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Feb 7 14:57:35 2000 UTC (14 years, 7 months ago) by kreckel
Branch: MAIN
CVS Tags: relase_0-5-0, relase_0-5-1
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 , to selected 1.77
- */Makefile.in: changes triggered by newer automake.
- added relational::rhs() and relational::lhs() also available from ex.
- added two new checks in check/linear_solve.cpp (formerly
  check/lsolve_onedim.cpp) shamelessly ripped from the Maple online-help.
- added keyword warranty to ginsh as dictated by the bible (emacs).


Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Feb 2 15:50:11 2000 UTC (14 years, 7 months ago) by kreckel
Branch: MAIN
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 , to selected 1.77
- diff() is now only defined on classes ex and basic, where it handles
  higher derivatives.  derivative() is now the method to be implemented
  by the user that does single derivatives, it is protected.
- Implemented some very clumpsy automatic generation of ginaccint.
  It is ugly because we have to compile libginac without namespace GiNaC.
- Fixed some wrong logic in numeric::power().


Revision 1.22 - (view) (annotate) - [select for diffs]
Sun Jan 30 20:53:22 2000 UTC (14 years, 7 months ago) by kreckel
Branch: MAIN
Changes since 1.21: +6 -8 lines
Diff to previous 1.21 , to selected 1.77
- Renamed flag NO_GINAC_NAMESPACE to NO_NAMESPACE_GINAC because of m4.
- Made configure check for cint and makecint and call makecint to dump out
  cint/Makefile.cint, which will later be called by cint/Makefile.  See
  configure option --with-cint.
- Added some documentation about GiNaC-cint (e.g. a manpage).
- All dummies in subdir cint/ are created by cint/dummies.pl now, removed
  older stuff.


Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Jan 27 15:26:13 2000 UTC (14 years, 7 months ago) by cbauer
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 , to selected 1.77
- building GiNaC in a separate directory now works


Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Jan 24 19:12:31 2000 UTC (14 years, 8 months ago) by kreckel
Branch: MAIN
Changes since 1.19: +42 -40 lines
Diff to previous 1.19 , to selected 1.77
- Added Fibonacci numbers for integers
- many functions now return const to trap errors like fibonacci(1)=10;


Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Jan 21 15:20:31 2000 UTC (14 years, 8 months ago) by cbauer
Branch: MAIN
Changes since 1.18: +6 -6 lines
Diff to previous 1.18 , to selected 1.77
- changed all instances of "foo const &/*" to "const foo &/*"
- changed function arguments like "int const" to a simple "int"


Revision 1.18 - (view) (annotate) - [select for diffs]
Wed Jan 19 19:46:57 2000 UTC (14 years, 8 months ago) by cbauer
Branch: MAIN
Changes since 1.17: +2 -0 lines
Diff to previous 1.17 , to selected 1.77
- implemented global class registry (for class basic and derived classes)
- implemented archiving of expressions (except for class idx, and all classes
  derived from idx and indexed)
- added series() wrapper function
- class series renamed to pseries to avoid name clashes with global series()
  wrapper function, ex::series(), and basic::series()
- corrected the series expansion of single symbols with respect to the order
  term
- calling subs() on a series didn't work


Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Jan 11 19:25:06 2000 UTC (14 years, 8 months ago) by kreckel
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 , to selected 1.77
- made nops() return unsigned instead of int
- changed dates in copyright notices


Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Dec 20 17:12:36 1999 UTC (14 years, 9 months ago) by kreckel
Branch: MAIN
Changes since 1.15: +112 -116 lines
Diff to previous 1.15 , to selected 1.77
- more logic on the trigonometric function stuff.
- changed several occurences of numeric const & to const numeric &, which
  is the same, but doxygen kept being confused because declarations
  differed from implementations.


Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Dec 17 16:58:32 1999 UTC (14 years, 9 months ago) by kreckel
Branch: MAIN
Changes since 1.14: +0 -12 lines
Diff to previous 1.14 , to selected 1.77
- Banned exZERO(), exONE(), exMINUSHALF() and all this from the interface.
  There is now _ex1() meaning 1, _ex_1() meaning -1, _ex1_2() meaning 1/2
  and so on defined in utils.h and implemented in utils.cpp.  Feel free
  to extend them as it pleases you but use them inside the library only.
- Added more evaluations of trigonometric functions
- Added series expansions for psi(x) and psi(n,x) at all their poles


Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Dec 13 15:43:34 1999 UTC (14 years, 9 months ago) by kreckel
Branch: MAIN
Changes since 1.13: +9 -2 lines
Diff to previous 1.13 , to selected 1.77
- introduced info_flags::cinteger, info_flags::crational,
  info_flags::cinteger_polynomial, info_flags::crational_polynomial with
  intuitive behaviour.
- extended documentation
- made things like evlaf(zeta(3)) work
- killed several bugs


Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Dec 10 17:23:57 1999 UTC (14 years, 9 months ago) by kreckel
Branch: MAIN
Changes since 1.12: +2 -0 lines
Diff to previous 1.12 , to selected 1.77
- changed behaviour of numeric::is_rational() and added numeric::is_cinteger()
  and numeric::is_crational() which work for complex numbers now
- added default ctor for constant to please CInt
- documentation reflects the changes for upcoming 0.4.1


Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Dec 2 15:45:15 1999 UTC (14 years, 9 months ago) by frink
Branch: MAIN
Changes since 1.11: +4 -0 lines
Diff to previous 1.11 , to selected 1.77
#ifndef around namespace GiNaC { }


Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Dec 1 18:13:01 1999 UTC (14 years, 9 months ago) by kreckel
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 , to selected 1.77
- added prefix and postfix increment and decrement operators for class numeric
- made all function_index const
- added overloaded psi(x) and psi(n,x) with some sensible behaviour


Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Nov 29 19:50:48 1999 UTC (14 years, 9 months ago) by kreckel
Branch: MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 , to selected 1.77
- changed function::diff() to be more tolerant by checking first if the
  nth argument when differentiated is non-zero and *then* building the sum.
- added support for overloaded polygamma functions psi(x) and psi(n,x).
- changed return code of atan2_diff to be somewhat simpler and adjusted
  check/differentiation.cpp to account for this.


Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Nov 23 16:13:22 1999 UTC (14 years, 10 months ago) by kreckel
Branch: MAIN
Changes since 1.8: +0 -8 lines
Diff to previous 1.8 , to selected 1.77
- Deleted some legacy code.
- Clarified some comments.


Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Nov 22 15:26:18 1999 UTC (14 years, 10 months ago) by kreckel
Branch: MAIN
Changes since 1.7: +2 -0 lines
Diff to previous 1.7 , to selected 1.77
- added Bernoulli numbers
- fixed Riemann's Zeta function for integer arguments


Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Nov 19 15:46:20 1999 UTC (14 years, 10 months ago) by kreckel
Branch: MAIN
Changes since 1.6: +2 -0 lines
Diff to previous 1.6 , to selected 1.77
- architectural checkpoint for zeta-function.


Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Nov 17 21:22:09 1999 UTC (14 years, 10 months ago) by kreckel
Branch: MAIN
Changes since 1.5: +4 -0 lines
Diff to previous 1.5 , to selected 1.77
- deleted add::printpair() since this has become obsolete
- revamped add::print() in order to fix all those output-bugs like
  this infamous one: x-2*y --> x(-2)*y


Revision 1.5 - (view) (annotate) - [select for diffs]
Wed Nov 17 16:58:00 1999 UTC (14 years, 10 months ago) by cbauer
Branch: MAIN
Changes since 1.4: +11 -3 lines
Diff to previous 1.4 , to selected 1.77
- put everything in "GiNaC" namespace
- converted some macros into inline functions
- split debugmsg.h into assertion.h (public) and debugmsg.h (private)


Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Nov 16 16:35:26 1999 UTC (14 years, 10 months ago) by cbauer
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 , to selected 1.77
- modified the comment blocks so the copyright message no longer appears in
  the reference manual (made by Doxygen)


Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Nov 10 19:35:49 1999 UTC (14 years, 10 months ago) by cbauer
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 , to selected 1.77
- modified GiNaC headers to Alexander's liking


Revision 1.2 - (view) (annotate) - [select for diffs]
Wed Nov 10 16:35:12 1999 UTC (14 years, 10 months ago) by cbauer
Branch: MAIN
Changes since 1.1: +21 -6 lines
Diff to previous 1.1 , to selected 1.77
- enforced GiNaC coding standards :-)


Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Nov 9 19:57:04 1999 UTC (14 years, 10 months ago) by cbauer
Branch: MAIN
Diff to selected 1.77
- switched to automake build environment


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.17