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

Log of /ginac/pseries.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Links to release_1-0-10: (view) (annotate)
Sticky Tag:

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


Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Aug 22 16:11:51 2001 UTC (11 years, 9 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-9-4, 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.28: +3 -12 lines
Diff to previous 1.28
- 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.28 - (view) (annotate) - [select for diffs]
Fri Jun 15 15:20:55 2001 UTC (12 years ago) by kreckel
Branch: MAIN
CVS Tags: release_0-9-1, release_0-9-2, release_0-9-3
Changes since 1.27: +8 -2 lines
Diff to previous 1.27
* 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.27 - (view) (annotate) - [select for diffs]
Wed May 23 20:43:20 2001 UTC (12 years ago) by cbauer
Branch: MAIN
CVS Tags: release_0-9-0
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
- first implementation of pattern matching


Revision 1.26 - (view) (annotate) - [select for diffs]
Sat May 19 17:37:46 2001 UTC (12 years, 1 month ago) by cbauer
Branch: MAIN
Changes since 1.25: +1 -2 lines
Diff to previous 1.25
replaced "precedence" static member variable by virtual precedence() function


Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Apr 20 19:06:56 2001 UTC (12 years, 2 months ago) by cbauer
Branch: MAIN
CVS Tags: release_0-8-2, release_0-8-3
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
- color/clifford objects have representation label to distinguish elements
  of different algebras; objects with different labels commute with each
  other
- dirac_one() -> dirac_ONE()
- added gamma5 clifford objects which is constructed by dirac_gamma5()
- clifford::simplify_ncmul() anticommutes gamma5's to the front and removes
  squares of gamma5
- the argument to collect() can be a list of objects in which case the
  result is either a recursively collected polynomial, or a polynomial in
  a distributed form with terms like coeff*x1^e1*...*xn^en, as specified by
  the second argument to collect(). For example (ginsh):
    > f=a*x-x+a*x*y+x*y+a*x*y^2-2*x*y^2+y^2;
    a*x+y*a*x+y^2*a*x+y^2-x+y*x-2*y^2*x
    > collect(f,x);
    (-1+y+y^2*a+y*a+a-2*y^2)*x+y^2
    > collect(f,y);
    a*x-x+y^2*(1+a*x-2*x)+y*(a*x+x)
    > collect(f,[x,y]);
    (-1+y*(1+a)+y^2*(-2+a)+a)*x+y^2
    > collect(f,[y,x]);
    (-1+a)*x+y*(1+a)*x+(1+(-2+a)*x)*y^2
    > collect_distributed(f,[x,y]);
    (-1+a)*x+y^2*(-2+a)*x+y*(1+a)*x+y^2


Revision 1.24 - (view) (annotate) - [select for diffs]
Sun Apr 8 21:08:35 2001 UTC (12 years, 2 months ago) by cbauer
Branch: MAIN
CVS Tags: release_0-8-1
Changes since 1.23: +19 -1 lines
Diff to previous 1.23
- renamed
    function::getserial() -> function::get_serial()
    symbol::setname() -> symbol::set_name()
    symbol::getname() -> symbol::get_name()
  for consistency (since the interface has changed anyway)
- added pseries::get_var() and pseries::get_point()


Revision 1.23 - (view) (annotate) - [select for diffs]
Fri Apr 6 19:03:01 2001 UTC (12 years, 2 months ago) by cbauer
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22
- 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.22 - (view) (annotate) - [select for diffs]
Mon Apr 2 16:57:39 2001 UTC (12 years, 2 months ago) by cbauer
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21
degree(), ldegree(), coeff(), lcoeff(), tcoeff() and collect() can now
be used with constants and indexed expressions as well, so you can use
it to collect by powers of Pi or find the coefficient of gamma~0.
Limitations:
 - it only works with symbols, constants and indexed expressions;
   trying to find the coefficient of, e.g., "x^2" or "x+y" won't work
 - it does not know about dummy index summations; the coefficient of
   gamma~0 in p.mu*gamma~mu should be p.0 but is returned as 0
 - using the functions on elements of noncommutative products might
   return wrong or surprising results


Revision 1.21 - (view) (annotate) - [select for diffs]
Wed Feb 28 12:54:53 2001 UTC (12 years, 3 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-7-3, release_0-8-0
Changes since 1.20: +1 -5 lines
Diff to previous 1.20
* 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.20 - (view) (annotate) - [select for diffs]
Fri Feb 16 17:25:51 2001 UTC (12 years, 4 months ago) by cbauer
Branch: MAIN
CVS Tags: release_0-7-2
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
GINAC_DECLARE_REGISTERED_CLASS declares duplicate() and compare_same_type(),
GINAC_IMPLEMENT_REGISTERED_CLASS implements duplicate()


Revision 1.19 - (view) (annotate) - [select for diffs]
Thu Feb 15 19:54:55 2001 UTC (12 years, 4 months ago) by cbauer
Branch: MAIN
Changes since 1.18: +0 -10 lines
Diff to previous 1.18
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.18 - (view) (annotate) - [select for diffs]
Wed Feb 14 16:04:21 2001 UTC (12 years, 4 months ago) by cbauer
Branch: MAIN
Changes since 1.17: +0 -4 lines
Diff to previous 1.17
removed the "some_*" and "typeid_*" definitions since we are using our own
RTTI for quite some time now


Revision 1.17 - (view) (annotate) - [select for diffs]
Mon Jan 22 15:12:10 2001 UTC (12 years, 4 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-7-1
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
- 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.16 - (view) (annotate) - [select for diffs]
Sat Sep 23 17:36:50 2000 UTC (12 years, 8 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-7-0
Changes since 1.15: +1 -0 lines
Diff to previous 1.15
- 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.


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


Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Aug 11 15:07:17 2000 UTC (12 years, 10 months ago) by cbauer
Branch: MAIN
Changes since 1.13: +48 -48 lines
Diff to previous 1.13
- 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.13 - (view) (annotate) - [select for diffs]
Sat Jul 22 00:47:04 2000 UTC (12 years, 11 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-6-3, release_0-6-4
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
- Fixed the bug that broke xloop's po_redux.
- Interface Change: No argument 'bool branchcut' for series methods,
  instead 'unsigned options'.  Sorry.
: ----------------------------------------------------------------------


Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Jul 20 21:12:42 2000 UTC (12 years, 11 months ago) by kreckel
Branch: MAIN
Changes since 1.11: +14 -6 lines
Diff to previous 1.11
- 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.11 - (view) (annotate) - [select for diffs]
Fri Jun 9 16:36:11 2000 UTC (13 years ago) by kreckel
Branch: MAIN
CVS Tags: release_0-6-2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
- pseries::print(): Make it print more nicely.
- bernoulli(): A slightly slower but only half as memory consuming algorithm
  ripped from Pari.


Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Apr 18 09:46:03 2000 UTC (13 years, 2 months ago) by kreckel
Branch: MAIN
CVS Tags: release_0-6-0, release_0-6-1
Changes since 1.9: +1 -0 lines
Diff to previous 1.9
- Overwritten: pseries::printtree().


Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Mar 23 13:50:31 2000 UTC (13 years, 2 months ago) by kreckel
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
- We now write f(x).series(x==3,5) instead of f(x).series(x,3,5) and
  f(x).series(x,4) instead of f(x).series(x,0,4).  We also don't allow
  default arguments any more.


Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Feb 21 17:08:03 2000 UTC (13 years, 3 months ago) by cbauer
Branch: MAIN
CVS Tags: release_0-5-3, release_0-5-4
Changes since 1.7: +1 -0 lines
Diff to previous 1.7
- collect() works better


Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Feb 8 15:18:39 2000 UTC (13 years, 4 months ago) by cbauer
Branch: MAIN
CVS Tags: relase_0-5-1, release_0-5-2
Changes since 1.6: +1 -0 lines
Diff to previous 1.6
- series expansion of pseries objects should now work as expected


Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Feb 2 15:50:12 2000 UTC (13 years, 4 months ago) by kreckel
Branch: MAIN
CVS Tags: relase_0-5-0
Changes since 1.5: +2 -1 lines
Diff to previous 1.5
- 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.5 - (view) (annotate) - [select for diffs]
Sun Jan 30 20:53:23 2000 UTC (13 years, 4 months ago) by kreckel
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4
- 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.4 - (view) (annotate) - [select for diffs]
Thu Jan 27 15:26:13 2000 UTC (13 years, 4 months ago) by cbauer
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
- building GiNaC in a separate directory now works


Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Jan 21 15:20:32 2000 UTC (13 years, 5 months ago) by cbauer
Branch: MAIN
Changes since 1.2: +10 -10 lines
Diff to previous 1.2
- changed all instances of "foo const &/*" to "const foo &/*"
- changed function arguments like "int const" to a simple "int"


Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Jan 21 14:51:31 2000 UTC (13 years, 5 months ago) by cbauer
Branch: MAIN
Changes since 1.1: +3 -0 lines
Diff to previous 1.1
- implemented nops() and op() for pseries objects


Revision 1.1 - (view) (annotate) - [select for diffs]
Wed Jan 19 19:46:57 2000 UTC (13 years, 5 months ago) by cbauer
Branch: MAIN
- 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


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.15