]> www.ginac.de Git - ginac.git/commitdiff
- enforced GiNaC coding standards :-)
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 10 Nov 1999 19:34:55 +0000 (19:34 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 10 Nov 1999 19:34:55 +0000 (19:34 +0000)
96 files changed:
check/Makefile.in
check/check.h
check/differentiation.cpp
check/expand_subs.cpp
check/fcntimer.cpp
check/inifcns_consist.cpp
check/lsolve_onedim.cpp
check/main.cpp
check/matrix_checks.cpp
check/normalization.cpp
check/numeric_consist.cpp
check/numeric_output.cpp
check/paranoia_check.cpp
check/poly_gcd.cpp
check/powerlaws.cpp
check/series_expansion.cpp
doc/Makefile.in
ginac/Makefile.am
ginac/Makefile.in
ginac/add.cpp
ginac/add.h
ginac/basic.cpp
ginac/basic.h
ginac/clifford.cpp
ginac/clifford.h
ginac/color.cpp
ginac/color.h
ginac/coloridx.cpp
ginac/coloridx.h
ginac/constant.cpp
ginac/constant.h
ginac/container.pl
ginac/debugmsg.h
ginac/diff.cpp
ginac/ex.cpp
ginac/ex.h
ginac/expair.h
ginac/expairseq.cpp
ginac/expairseq.h
ginac/exprseq.cpp
ginac/exprseq.h
ginac/exprseq_suppl.cpp
ginac/fail.cpp
ginac/fail.h
ginac/flags.h
ginac/function.cpp
ginac/function.h
ginac/function.pl
ginac/ginac.h
ginac/idx.cpp
ginac/idx.h
ginac/indexed.cpp
ginac/indexed.h
ginac/inifcns.cpp
ginac/inifcns.h
ginac/inifcns_gamma.cpp
ginac/inifcns_trans.cpp
ginac/isospin.cpp
ginac/isospin.h
ginac/lorentzidx.cpp
ginac/lorentzidx.h
ginac/lst.cpp
ginac/lst.h
ginac/lst_suppl.cpp
ginac/matrix.cpp
ginac/matrix.h
ginac/mul.cpp
ginac/mul.h
ginac/ncmul.cpp
ginac/ncmul.h
ginac/normal.cpp
ginac/normal.h
ginac/numeric.cpp
ginac/numeric.h
ginac/operators.cpp
ginac/operators.h
ginac/power.cpp
ginac/power.h
ginac/print.cpp
ginac/printcsrc.cpp
ginac/printraw.cpp
ginac/printtree.cpp
ginac/relational.cpp
ginac/relational.h
ginac/series.cpp
ginac/series.h
ginac/simp_lor.cpp
ginac/simp_lor.h
ginac/structure.cpp
ginac/structure.h
ginac/structure.pl
ginac/symbol.cpp
ginac/symbol.h
ginac/tinfos.h
ginac/utils.cpp
ginac/utils.h

index 2cb929067b3da758361436ac93c6d52c64adf491..4bce8dd9da077194ba0e6d8e8e4e74bcc17ca43f 100644 (file)
@@ -65,6 +65,12 @@ CXXCPP = @CXXCPP@
 DOXYGEN = @DOXYGEN@
 DVIPS = @DVIPS@
 FIG2DEV = @FIG2DEV@
 DOXYGEN = @DOXYGEN@
 DVIPS = @DVIPS@
 FIG2DEV = @FIG2DEV@
+GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
+GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
+GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
+GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
+GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
+GINACLIB_VERSION = @GINACLIB_VERSION@
 JADE = @JADE@
 JADETEX = @JADETEX@
 LATEX = @LATEX@
 JADE = @JADE@
 JADETEX = @JADETEX@
 LATEX = @LATEX@
@@ -72,6 +78,10 @@ LD = @LD@
 LEX = @LEX@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 LEX = @LEX@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
+LT_AGE = @LT_AGE@
+LT_CURRENT = @LT_CURRENT@
+LT_RELEASE = @LT_RELEASE@
+LT_REVISION = @LT_REVISION@
 MAINT = @MAINT@
 MAKEINDEX = @MAKEINDEX@
 MAKEINFO = @MAKEINFO@
 MAINT = @MAINT@
 MAKEINDEX = @MAKEINDEX@
 MAKEINFO = @MAKEINFO@
index 964df6bffdbec7ea28e93464e8cc0285c83bd48f..89a093e78f90fd4952af0762feb63e06f0cc3306 100644 (file)
@@ -1,4 +1,23 @@
-// check/check.h
+/** @file check.h
+ *
+ *  Prototypes for all individual checks.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #ifndef CHECK_H
 #define CHECK_H
 
 #ifndef CHECK_H
 #define CHECK_H
index c6838efdb2c56d4d1d96c2fd53e554f413c2028b..8a160180ba437e03c773f43e1ed4e4e712fac2c0 100644 (file)
@@ -1,6 +1,23 @@
-// check/differentiation.cpp
-
-/* Tests for symbolic differentiation, including various functions. */
+/** @file differentiation.cpp
+ *
+ *  Tests for symbolic differentiation, including various functions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index 9f4105a1f5ea44d9e5ea3132b4b8157c9ea91e7d..abaea8f18d86684b3179f3b6b6fba790100804d8 100644 (file)
@@ -1,16 +1,34 @@
-// check/expand_subs.cpp
-
-/* The first test routine implements Denny Fliegner's quick consistency check:
+/** @file expand_subs.cpp
+ *
+ *  The first test routine implements Denny Fliegner's quick consistency check:
  *     e = (a0 + a1 + a2 + a3 + ...)^2
  *     expand e
  *     substitute a0 by (-a2 - a3 - ...) in e
  *     expand e
  *     e = (a0 + a1 + a2 + a3 + ...)^2
  *     expand e
  *     substitute a0 by (-a2 - a3 - ...) in e
  *     expand e
- * after which e should be just a1^2.
- * In addition, a simpler modification is tested in the second test:
+ *  after which e should be just a1^2.
+ *  In addition, a simpler modification is tested in the second test:
  *     e = (a0 + a1)^200
  *     expand e
  *     substitute a0 by -a1 in e
  *     e = (a0 + a1)^200
  *     expand e
  *     substitute a0 by -a1 in e
- * after which e should return 0 (without expanding). */
+ *  after which e should return 0 (without expanding).
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index 897636ddc394e18b193dc265f40153f248ff471e..152ec67d6745c5b6908f1dcdf253bad4d1c43a66 100644 (file)
@@ -1,4 +1,24 @@
-// check/fcntimer.cpp
+/** @file fcntimer.cpp
+ *
+ *  Function execution timer.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
 
 #include <stdio.h>
 #include <sys/resource.h>
 
 #include <stdio.h>
 #include <sys/resource.h>
index d85bf95edbefb68efba6825aa6fa43d2ae6db34a..5d91a145f3adc53e3f15c75e45abd7fafb6ffe7c 100644 (file)
@@ -1,7 +1,24 @@
-// check/inifcns_consist.cpp
-
-/* This test routine applies assorted tests on initially known higher level
- * functions. */
+/** @file inifcns_consist.cpp
+ *
+ *  This test routine applies assorted tests on initially known higher level
+ *  functions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index 270b9eb1114f23c579a2169a3f9053ef744a07bb..5cd3421d2117770c7dff659651d3058de8079f0c 100644 (file)
@@ -1,7 +1,24 @@
-// check/lsolve_onedim.cpp
-
-/* This test routine does some simple checks on solving a polynomial for a
- * variable. */
+/** @file lsolve_onedim.cpp
+ *
+ * This test routine does some simple checks on solving a polynomial for a
+ * variable.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index 4cf44c6d680fa7201dddd7725a2b8b1a4a2ba49d..ef74535d9ef63437dc4aaf62f3f93c5f602598e8 100644 (file)
@@ -1,4 +1,23 @@
-// check/main.cpp
+/** @file main.cpp
+ *
+ *  Main program that calls all individual tests.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdexcept>
 #include <ginac/ginac.h>
 
 #include <stdexcept>
 #include <ginac/ginac.h>
index db2277f5bf0c820e051d20bace58a4d9cc42e28d..4b973ef314cb8297f9e3a1d997fad9351057f7b1 100644 (file)
@@ -1,6 +1,23 @@
-// check/matrix_checks.cpp
-
-/* Here we test manipulations on GiNaC's symbolic matrices. */
+/** @file matrix_checks.cpp
+ *
+ *  Here we test manipulations on GiNaC's symbolic matrices.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdexcept>
 #include <ginac/ginac.h>
 
 #include <stdexcept>
 #include <ginac/ginac.h>
index b3882e6054332f1363e5b5efef9eaa710cd99ceb..0b79a64cdfb4707d70622a4c26a913a6e2c1ff73 100644 (file)
@@ -1,6 +1,23 @@
-// check/normalization.cpp
-
-/* Rational function normalization test-suite. */
+/** @file normalization.cpp
+ *
+ *  Rational function normalization test suite.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index 947c850a00a9ef5781fd93fb9053e5eb1b5a5ea2..cd6f81ce09c49a6d9b3be459e7f168048554a92e 100644 (file)
@@ -1,7 +1,24 @@
-// check/numeric_consist.cpp
-
-/* This test routine creates some numbers and check the result of several
- * boolean tests on these numbers like is_integer() etc... */
+/** @file numeric_consist.cpp
+ *
+ *  This test routine creates some numbers and check the result of several
+ *  boolean tests on these numbers like is_integer() etc...
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdlib.h>
 #include <ginac/ginac.h>
 
 #include <stdlib.h>
 #include <ginac/ginac.h>
index c480676870f73d1f33a4cc2c6d9e0fffd685410c..d138a74f3b221d967cdbc88d5b1cdf659831c201 100644 (file)
@@ -1,4 +1,23 @@
-// check/numeric_output.cpp
+/** @file numeric_output.cpp
+ *
+ *  Test output of numeric types.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index 97ee011d902ab912e756e3e954133e6c80c59822..228d84653700626b9729e953a937fc9b9adb0491 100644 (file)
@@ -1,9 +1,26 @@
-// check/paranoia_check.cpp
-
-/* This set of tests checks for some of GiNaC's oopses which showed up during
- * development.  Things were evaluated wrongly and so.  It should not find such
- * a sick behaviour again.  But since we are paranoic and we want to exclude
- * that behaviour for good... */
+/** @file paranoia_check.cpp
+ *
+ *  This set of tests checks for some of GiNaC's oopses which showed up during
+ *  development.  Things were evaluated wrongly and so.  It should not find such
+ *  a sick behaviour again.  But since we are paranoic and we want to exclude
+ *  that behaviour for good...
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index 484254487590d4dba3cd610d5a82fa3411bb635e..542bc80c8439d8a805b161f138c70e8d21aedadd 100644 (file)
@@ -1,7 +1,24 @@
-// check/poly_gcd.cpp
-
-/* Some test with polynomial GCD calculations. See also the checks for
- * rational function normalization in normalization.cpp. */
+/** @file poly_gcd.cpp
+ *
+ *  Some test with polynomial GCD calculations. See also the checks for
+ *  rational function normalization in normalization.cpp.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index e103fed9cf37cb8fafe904de35f8892fc0b8d081..2a6382a812688bdda81e43fe82c1456b730503a5 100644 (file)
@@ -1,7 +1,24 @@
-// check/powerlaws.cpp
-
-/* Tests for power laws.  You shouldn't try to draw much inspiration from
- * this code, it is a sanity check rather deeply rooted in GiNaC's classes. */
+/** @file powerlaws.cpp
+ *
+ *  Tests for power laws.  You shouldn't try to draw much inspiration from
+ *  this code, it is a sanity check rather deeply rooted in GiNaC's classes.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index e66059deca7ee727b6659e33b16404f8a07e64f4..0f8437b247c94da4fdd2e7f205eb18a4677d454b 100644 (file)
@@ -1,6 +1,23 @@
-// check/series_expansion.cpp
-
-/* Series expansion test (Laurent and Taylor series). */
+/** @file series_expansion.cpp
+ *
+ *  Series expansion test (Laurent and Taylor series).
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
index dad8d832f9c0535d2bbd81e9650f099fef829c98..479655968a7ebce9c8ad8fa8f5fcf43b83ad4c74 100644 (file)
@@ -65,6 +65,12 @@ CXXCPP = @CXXCPP@
 DOXYGEN = @DOXYGEN@
 DVIPS = @DVIPS@
 FIG2DEV = @FIG2DEV@
 DOXYGEN = @DOXYGEN@
 DVIPS = @DVIPS@
 FIG2DEV = @FIG2DEV@
+GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
+GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
+GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
+GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
+GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
+GINACLIB_VERSION = @GINACLIB_VERSION@
 JADE = @JADE@
 JADETEX = @JADETEX@
 LATEX = @LATEX@
 JADE = @JADE@
 JADETEX = @JADETEX@
 LATEX = @LATEX@
@@ -72,6 +78,10 @@ LD = @LD@
 LEX = @LEX@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 LEX = @LEX@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
+LT_AGE = @LT_AGE@
+LT_CURRENT = @LT_CURRENT@
+LT_RELEASE = @LT_RELEASE@
+LT_REVISION = @LT_REVISION@
 MAINT = @MAINT@
 MAKEINDEX = @MAKEINDEX@
 MAKEINFO = @MAKEINFO@
 MAINT = @MAINT@
 MAKEINDEX = @MAKEINDEX@
 MAKEINFO = @MAKEINFO@
index d215d8ce94d7ad8641e77ed1ddf4076004cc160e..e56226c88c5a1d1e840bf42b7ff6b495769a1765 100644 (file)
@@ -8,6 +8,8 @@ libginac_la_SOURCES = add.cpp basic.cpp constant.cpp diff.cpp ex.cpp \
   clifford.cpp structure.cpp color.cpp indexed.cpp idx.cpp isospin.cpp \
   exprseq_suppl.cpp lst.cpp lst_suppl.cpp simp_lor.cpp coloridx.cpp \
   lorentzidx.cpp utils.h
   clifford.cpp structure.cpp color.cpp indexed.cpp idx.cpp isospin.cpp \
   exprseq_suppl.cpp lst.cpp lst_suppl.cpp simp_lor.cpp coloridx.cpp \
   lorentzidx.cpp utils.h
+libginac_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+  -release $(LT_RELEASE)
 ginacincludedir = $(includedir)/ginac
 ginacinclude_HEADERS = ginac.h add.h basic.h clifford.h color.h coloridx.h \
   constant.h debugmsg.h ex.h expair.h expairseq.h exprseq.h fail.h flags.h \
 ginacincludedir = $(includedir)/ginac
 ginacinclude_HEADERS = ginac.h add.h basic.h clifford.h color.h coloridx.h \
   constant.h debugmsg.h ex.h expair.h expairseq.h exprseq.h fail.h flags.h \
index 724c97146205f3c2bf80ad58b952ab689da620f4..f757935a6bccd20af31ded7d637bffc5cb7eabde 100644 (file)
@@ -65,6 +65,12 @@ CXXCPP = @CXXCPP@
 DOXYGEN = @DOXYGEN@
 DVIPS = @DVIPS@
 FIG2DEV = @FIG2DEV@
 DOXYGEN = @DOXYGEN@
 DVIPS = @DVIPS@
 FIG2DEV = @FIG2DEV@
+GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
+GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
+GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
+GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
+GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
+GINACLIB_VERSION = @GINACLIB_VERSION@
 JADE = @JADE@
 JADETEX = @JADETEX@
 LATEX = @LATEX@
 JADE = @JADE@
 JADETEX = @JADETEX@
 LATEX = @LATEX@
@@ -72,6 +78,10 @@ LD = @LD@
 LEX = @LEX@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 LEX = @LEX@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
+LT_AGE = @LT_AGE@
+LT_CURRENT = @LT_CURRENT@
+LT_RELEASE = @LT_RELEASE@
+LT_REVISION = @LT_REVISION@
 MAINT = @MAINT@
 MAKEINDEX = @MAKEINDEX@
 MAKEINFO = @MAKEINFO@
 MAINT = @MAINT@
 MAKEINDEX = @MAKEINDEX@
 MAKEINFO = @MAKEINFO@
@@ -90,6 +100,8 @@ libginac_la_SOURCES = add.cpp basic.cpp constant.cpp diff.cpp ex.cpp \
   clifford.cpp structure.cpp color.cpp indexed.cpp idx.cpp isospin.cpp \
   exprseq_suppl.cpp lst.cpp lst_suppl.cpp simp_lor.cpp coloridx.cpp \
   lorentzidx.cpp utils.h
   clifford.cpp structure.cpp color.cpp indexed.cpp idx.cpp isospin.cpp \
   exprseq_suppl.cpp lst.cpp lst_suppl.cpp simp_lor.cpp coloridx.cpp \
   lorentzidx.cpp utils.h
+libginac_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+  -release $(LT_RELEASE)
 ginacincludedir = $(includedir)/ginac
 ginacinclude_HEADERS = ginac.h add.h basic.h clifford.h color.h coloridx.h \
   constant.h debugmsg.h ex.h expair.h expairseq.h exprseq.h fail.h flags.h \
 ginacincludedir = $(includedir)/ginac
 ginacinclude_HEADERS = ginac.h add.h basic.h clifford.h color.h coloridx.h \
   constant.h debugmsg.h ex.h expair.h expairseq.h exprseq.h fail.h flags.h \
@@ -106,7 +118,6 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I..
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
-libginac_la_LDFLAGS = 
 libginac_la_LIBADD = 
 libginac_la_OBJECTS =  add.lo basic.lo constant.lo diff.lo ex.lo \
 expairseq.lo exprseq.lo fail.lo function.lo inifcns.lo inifcns_trans.lo \
 libginac_la_LIBADD = 
 libginac_la_OBJECTS =  add.lo basic.lo constant.lo diff.lo ex.lo \
 expairseq.lo exprseq.lo fail.lo function.lo inifcns.lo inifcns_trans.lo \
index 0d88e329316c64b93eb5640a15983cb3ea56c43e..42e65bb904ea7171fe42007dfc61d0471dbca5eb 100644 (file)
@@ -1,6 +1,23 @@
 /** @file add.cpp
  *
 /** @file add.cpp
  *
- *  Implementation of GiNaC's sums of expressions. */
+ *  Implementation of GiNaC's sums of expressions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 #include <stdexcept>
 
 #include <iostream>
 #include <stdexcept>
index 6986b1e3ca039056b204a2e7df0105b5b14732e6..783830345b682f4d18ee7bcd6741fc6a77e4104e 100644 (file)
@@ -1,11 +1,26 @@
 /** @file add.h
  *
 /** @file add.h
  *
- *  Interface to GiNaC's sums of expressions. */
-
-#ifndef _ADD_H_
-#define _ADD_H_
+ *  Interface to GiNaC's sums of expressions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#include "expairseq.h"
+#ifndef __GINAC_ADD_H__
+#define __GINAC_ADD_H__
 
 /** Sum of expressions. */
 class add : public expairseq
 
 /** Sum of expressions. */
 class add : public expairseq
@@ -90,5 +105,5 @@ extern type_info const & typeid_add;
 
 #define ex_to_add(X) static_cast<add const &>(*(X).bp)
 
 
 #define ex_to_add(X) static_cast<add const &>(*(X).bp)
 
-#endif // ndef _ADD_H_
+#endif // ndef __GINAC_ADD_H__
 
 
index 875bf758135c9bd73e60bf6cc58ec108c608028a..8317f8129adb7134b2a5b625d96ba93862befa2c 100644 (file)
@@ -1,6 +1,23 @@
 /** @file basic.cpp
  *
 /** @file basic.cpp
  *
- *  Implementation of GiNaC's ABC. */
+ *  Implementation of GiNaC's ABC.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 #include <typeinfo>
 
 #include <iostream>
 #include <typeinfo>
index a095617155d652a57e45e17fc85d86e471299e46..943939041d442ffa5e681c8f6ab2d22de0a4c789 100644 (file)
@@ -1,18 +1,31 @@
 /** @file basic.h
  *
 /** @file basic.h
  *
- *  Interface to GiNaC's ABC. */
+ *  Interface to GiNaC's ABC.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _BASIC_H_
-#define _BASIC_H_
+#ifndef __GINAC_BASIC_H__
+#define __GINAC_BASIC_H__
 
 #include <iostream>
 #include <typeinfo>
 #include <vector>
 
 
 #include <iostream>
 #include <typeinfo>
 #include <vector>
 
-#include "flags.h"
-#include "tinfos.h"
-#include "debugmsg.h"
-
 class basic;
 class ex;
 class symbol;
 class basic;
 class ex;
 class symbol;
@@ -237,4 +250,4 @@ inline unsigned golden_ratio_hash(unsigned n)
 #endif
 }
 
 #endif
 }
 
-#endif // ndef _BASIC_H_
+#endif // ndef __GINAC_BASIC_H__
index 98f3652d099a5c418bc08d10590f082bfa38ed8f..9c01f9a0002dae884990e4801610df4954950fb1 100644 (file)
@@ -1,7 +1,24 @@
 /** @file clifford.cpp
  *
  *  Implementation of GiNaC's clifford objects.
 /** @file clifford.cpp
  *
  *  Implementation of GiNaC's clifford objects.
- *  No real implementation yet, to be done.     */
+ *  No real implementation yet, to be done.    
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 
 
 #include <string>
 
index 65ec005fc3bb529f2c0bada54df367c92d9e818a..68a81a452e19b9ec1bcb8a44e930862807213599 100644 (file)
@@ -1,16 +1,29 @@
 /** @file clifford.h
  *
 /** @file clifford.h
  *
- *  Interface to GiNaC's clifford objects. */
+ *  Interface to GiNaC's clifford objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _CLIFFORD_H_
-#define _CLIFFORD_H_
+#ifndef __GINAC_CLIFFORD_H__
+#define __GINAC_CLIFFORD_H__
 
 #include <string>
 
 
 #include <string>
 
-class clifford;
-
-#include "indexed.h"
-
 /** Base class for clifford object */
 class clifford : public indexed
 {
 /** Base class for clifford object */
 class clifford : public indexed
 {
@@ -70,6 +83,6 @@ extern type_info const & typeid_clifford;
 
 #define ex_to_clifford(X) static_cast<clifford const &>(*(X).bp)
 
 
 #define ex_to_clifford(X) static_cast<clifford const &>(*(X).bp)
 
-#endif // ndef _CLIFFORD_H_
+#endif // ndef __GINAC_CLIFFORD_H__
 
 
 
 
index f790e94163d0542190329e6c78d166208ad7baea..fc78506af58ff60576fffb476f95c7549e229647 100644 (file)
@@ -1,7 +1,24 @@
 /** @file color.cpp
  *
  *  Implementation of GiNaC's color objects.
 /** @file color.cpp
  *
  *  Implementation of GiNaC's color objects.
- *  No real implementation yet, to be done.     */
+ *  No real implementation yet, to be done.    
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 #include <list>
 
 #include <string>
 #include <list>
index 3237359ed72257df50dd421971e2296964eb75d7..d900d84f9b22dca82189d027699c49e2ddd79267 100644 (file)
@@ -1,17 +1,30 @@
 /** @file color.h
  *
 /** @file color.h
  *
- *  Interface to GiNaC's color objects. */
+ *  Interface to GiNaC's color objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _COLOR_H_
-#define _COLOR_H_
+#ifndef __GINAC_COLOR_H__
+#define __GINAC_COLOR_H__
 
 #include <string>
 #include <vector>
 
 
 #include <string>
 #include <vector>
 
-class color;
-
-#include "indexed.h"
-
 #define MAX_REPRESENTATION_LABELS 4
 #define COLOR_EIGHT 8 // N*N-1
 #define COLOR_THREE 3 // N
 #define MAX_REPRESENTATION_LABELS 4
 #define COLOR_EIGHT 8 // N*N-1
 #define COLOR_THREE 3 // N
@@ -138,6 +151,6 @@ ex brute_force_sum_color_indices(ex const & e);
 
 void append_exvector_to_exvector(exvector & dest, exvector const & source);
 
 
 void append_exvector_to_exvector(exvector & dest, exvector const & source);
 
-#endif // ndef _COLOR_H_
+#endif // ndef __GINAC_COLOR_H__
 
 
 
 
index 2b12a99777c658cdba3b8af5da69ec0621104cb7..be7768d7dfb75b93d5122b320471b586432d03e0 100644 (file)
@@ -1,6 +1,23 @@
 /** @file coloridx.cpp
  *
 /** @file coloridx.cpp
  *
- *  Implementation of GiNaC's color indices. */
+ *  Implementation of GiNaC's color indices.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdexcept>
 
 
 #include <stdexcept>
 
index 92e6b1ff3dfcae4d5703d20aad6c3d91d0564a9d..8f7e8254681b4c0739b6848a1299e2d3fbad2981 100644 (file)
@@ -1,15 +1,30 @@
 /** @file coloridx.h
  *
 /** @file coloridx.h
  *
- *  Interface to GiNaC's color indices. */
+ *  Interface to GiNaC's color indices.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _COLORIDX_H_
-#define _COLORIDX_H_
+#ifndef __GINAC_COLORIDX_H__
+#define __GINAC_COLORIDX_H__
 
 #include <string>
 #include <vector>
 
 
 #include <string>
 #include <vector>
 
-#include "idx.h"
-
 class coloridx : public idx
 {
     friend class color;
 class coloridx : public idx
 {
     friend class color;
@@ -60,4 +75,4 @@ extern type_info const & typeid_coloridx;
 
 #define ex_to_coloridx(X) (static_cast<coloridx const &>(*(X).bp))
 
 
 #define ex_to_coloridx(X) (static_cast<coloridx const &>(*(X).bp))
 
-#endif // ndef _COLORIDX_H_
+#endif // ndef __GINAC_COLORIDX_H__
index a1cc1ef90e0c03e85996e54598964910421f7f32..2bfb4b323436e6d7ca0f473d038aaed482403e52 100644 (file)
@@ -1,6 +1,23 @@
 /** @file constant.cpp
  *
 /** @file constant.cpp
  *
- *  Implementation of GiNaC's constant types and some special constants. */
+ *  Implementation of GiNaC's constant types and some special constants.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 #include <stdexcept>
 
 #include <string>
 #include <stdexcept>
index ef7e8c8d197a807c5f61928fa8a1c0d737831545..e772ada848566a796b9e307f48748a6f2cdd5bb6 100644 (file)
@@ -1,17 +1,29 @@
 /** @file constant.h
  *
 /** @file constant.h
  *
- *  Interface to GiNaC's constant types and some special constants. */
+ *  Interface to GiNaC's constant types and some special constants.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _CONSTANT_H_
-#define _CONSTANT_H_
+#ifndef __GINAC_CONSTANT_H__
+#define __GINAC_CONSTANT_H__
 
 #include <string>
 
 
 #include <string>
 
-class constant;
-
-#include "ex.h"
-#include "numeric.h"
-
 /** This class holds constants, symbols with specific numerical value. Each
  *  object of this class must either provide their own function to evaluate it
  *  to class numeric or provide the constant as a numeric (if it's an exact
 /** This class holds constants, symbols with specific numerical value. Each
  *  object of this class must either provide their own function to evaluate it
  *  to class numeric or provide the constant as a numeric (if it's an exact
@@ -74,4 +86,4 @@ extern const constant Pi;
 extern const constant Catalan;
 extern const constant EulerGamma;
 
 extern const constant Catalan;
 extern const constant EulerGamma;
 
-#endif // ndef _CONSTANT_H_
+#endif // ndef __GINAC_CONSTANT_H__
index d7b860bc586d8290fd25a7bbbf14ca63f8aa5f6a..4cb7f8839e0c63faaccabfefc3950a397e6cb9b1 100755 (executable)
@@ -98,13 +98,29 @@ $interface=<<END_OF_INTERFACE;
  *                        \$prepend=${prepend}
  *                        \$let_op=${let_op}
  *                        \$open_bracket=${open_bracket}
  *                        \$prepend=${prepend}
  *                        \$let_op=${let_op}
  *                        \$open_bracket=${open_bracket}
- *                        \$close_bracket=${close_bracket} */
+ *                        \$close_bracket=${close_bracket}
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _${CONTAINER_UC}_H_
-#define _${CONTAINER_UC}_H_
+#ifndef __GINAC_${CONTAINER_UC}_H__
+#define __GINAC_${CONTAINER_UC}_H__
 
 #include <${STLHEADER}>
 
 #include <${STLHEADER}>
-
 #include <ginac/ginac.h>
 
 typedef ${STLHEADER}<ex> ${STLT};
 #include <ginac/ginac.h>
 
 typedef ${STLHEADER}<ex> ${STLT};
@@ -200,7 +216,7 @@ extern type_info const & typeid_${CONTAINER};
 
 #define ex_to_${CONTAINER}(X) (static_cast<${CONTAINER} const &>(*(X).bp))
 
 
 #define ex_to_${CONTAINER}(X) (static_cast<${CONTAINER} const &>(*(X).bp))
 
-#endif // ndef _${CONTAINER_UC}_H_
+#endif // ndef __GINAC_${CONTAINER_UC}_H__
 
 END_OF_INTERFACE
 
 
 END_OF_INTERFACE
 
@@ -216,7 +232,24 @@ $implementation=<<END_OF_IMPLEMENTATION;
  *                        \$prepend=${prepend}
  *                        \$let_op=${let_op}
  *                        \$open_bracket=${open_bracket}
  *                        \$prepend=${prepend}
  *                        \$let_op=${let_op}
  *                        \$open_bracket=${open_bracket}
- *                        \$close_bracket=${close_bracket} */
+ *                        \$close_bracket=${close_bracket}
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 #include <stdexcept>
 
 #include <iostream>
 #include <stdexcept>
index caf8bcb42897cc843f4b8226f8013c130f0b17e2..eae3cbd8e61915dc6b69764c925f83febb61bfd5 100644 (file)
@@ -1,9 +1,26 @@
 /** @file debugmsg.h
  *
 /** @file debugmsg.h
  *
- *  Utilities needed for debugging only. */
+ *  Utilities needed for debugging only.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _DEBUGMSG_H_
-#define _DEBUGMSG_H_
+#ifndef __GINAC_DEBUGMSG_H__
+#define __GINAC_DEBUGMSG_H__
 
 #ifdef _DEBUG
 #define VERBOSE
 
 #ifdef _DEBUG
 #define VERBOSE
@@ -38,5 +55,4 @@
 #define ASSERT(X) ((void)0)
 #endif
 
 #define ASSERT(X) ((void)0)
 #endif
 
-#endif // ndef _DEBUGMSG_H_
-
+#endif // ndef __GINAC_DEBUGMSG_H__
index b8ef4c5c71e8bd0120aa902645d9b5d20d728ecb..c8ef77b8dd7c6b4a0d79ee76bbae1360ad896b5a 100644 (file)
@@ -1,6 +1,23 @@
 /** @file diff.cpp
  *
 /** @file diff.cpp
  *
- *  Implementation of symbolic differentiation in all of GiNaC's classes. */
+ *  Implementation of symbolic differentiation in all of GiNaC's classes.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdexcept>
 
 
 #include <stdexcept>
 
index 7cb0c6f682e3d29dbb2a295e0dcf1e65d64f4011..652005ddfc4d815c940c0ee204718892adc051f8 100644 (file)
@@ -1,6 +1,23 @@
 /** @file ex.cpp
  *
 /** @file ex.cpp
  *
- *  Implementation of GiNaC's light-weight expression handles. */
+ *  Implementation of GiNaC's light-weight expression handles.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 
 
 #include <iostream>
 
index 2300627e10869e594daac31fbea46864f1a4a82a..d22dc86a38aedeba4770a8a690e14028ff988525 100644 (file)
@@ -1,9 +1,26 @@
 /** @file ex.h
  *
 /** @file ex.h
  *
- *  Interface to GiNaC's light-weight expression handles. */
+ *  Interface to GiNaC's light-weight expression handles.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _EX_H_
-#define _EX_H_
+#ifndef __GINAC_EX_H__
+#define __GINAC_EX_H__
 
 #include <iostream>
 
 
 #include <iostream>
 
@@ -11,10 +28,6 @@ class ex;
 class expand_options;
 class status_flags;
 
 class expand_options;
 class status_flags;
 
-#include "basic.h"
-#include "debugmsg.h"
-#include "flags.h"
-
 class symbol;
 class lst;
 
 class symbol;
 class lst;
 
@@ -266,4 +279,4 @@ inline ex subs(ex const & thisex, lst const & ls, lst const & lr)
 inline void swap(ex & e1, ex & e2)
 { e1.swap(e2); }
 
 inline void swap(ex & e1, ex & e2)
 { e1.swap(e2); }
 
-#endif // ndef _EX_H_
+#endif // ndef __GINAC_EX_H__
index ffe953224a1a5120317097e8d2c8053176a1c940..3f98d4127d80e8a15a4282e07bf4e1c8d86974ae 100644 (file)
@@ -1,4 +1,21 @@
-/** @file expair.h */
+/** @file expair.h
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 /** A pair of expressions.
  *  This similar to, but slightly extended STL's pair<> but we need to account
 
 /** A pair of expressions.
  *  This similar to, but slightly extended STL's pair<> but we need to account
index 96811383a99ed76420b040f2aecbb88e00a8725d..7f8664eed926d459aa1b5a8454c89c91b711fa97 100644 (file)
@@ -1,4 +1,21 @@
-/** @file expairseq.cpp */
+/** @file expairseq.cpp
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <algorithm>
 #include <string>
 
 #include <algorithm>
 #include <string>
index e6511e8e2d36f4b4a699a39661db11b41a456ec3..a19c78bb54247cbc3760e7c30b091b0b704853b5 100644 (file)
@@ -1,19 +1,28 @@
-/** @file expairseq.h */
-
-#ifndef _EXPAIRSEQ_H_
-#define _EXPAIRSEQ_H_
+/** @file expairseq.h
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __GINAC_EXPAIRSEQ_H__
+#define __GINAC_EXPAIRSEQ_H__
 
 #include <vector>
 #include <list>
 
 
 #include <vector>
 #include <list>
 
-class expairseq;
-
-#include "basic.h"
-#include "ex.h"
-#include "numeric.h"
-#include "debugmsg.h"
-#include "expair.h"
-
 //#define EXPAIRSEQ_USE_HASHTAB
 
 typedef vector<expair> epvector;
 //#define EXPAIRSEQ_USE_HASHTAB
 
 typedef vector<expair> epvector;
@@ -178,6 +187,4 @@ extern type_info const & typeid_expairseq;
 
 #define ex_to_expairseq(X) static_cast<expairseq const &>(*(X).bp)
 
 
 #define ex_to_expairseq(X) static_cast<expairseq const &>(*(X).bp)
 
-#endif // ndef _EXPAIRSEQ_H_
-
-
+#endif // ndef __GINAC_EXPAIRSEQ_H__
index 9e566c344a5805ec55aa6ff21fb2feefc229fd9e..ad200a4690ca40d0b57b0faa15de73a7c7e1bf7b 100644 (file)
@@ -9,7 +9,24 @@
  *                        $prepend=0
  *                        $let_op=0
  *                        $open_bracket=(
  *                        $prepend=0
  *                        $let_op=0
  *                        $open_bracket=(
- *                        $close_bracket=) */
+ *                        $close_bracket=)
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 #include <stdexcept>
 
 #include <iostream>
 #include <stdexcept>
index aeb8a2dd46e87355c026dadc778ddfe1d4dd50ac..16d99bd38847aafbdc56ca1cdcd234a7a52747d5 100644 (file)
@@ -9,13 +9,29 @@
  *                        $prepend=0
  *                        $let_op=0
  *                        $open_bracket=(
  *                        $prepend=0
  *                        $let_op=0
  *                        $open_bracket=(
- *                        $close_bracket=) */
+ *                        $close_bracket=)
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _EXPRSEQ_H_
-#define _EXPRSEQ_H_
+#ifndef __GINAC_EXPRSEQ_H__
+#define __GINAC_EXPRSEQ_H__
 
 #include <vector>
 
 #include <vector>
-
 #include <ginac/ginac.h>
 
 typedef vector<ex> exvector;
 #include <ginac/ginac.h>
 
 typedef vector<ex> exvector;
@@ -111,5 +127,5 @@ extern type_info const & typeid_exprseq;
 
 #define ex_to_exprseq(X) (static_cast<exprseq const &>(*(X).bp))
 
 
 #define ex_to_exprseq(X) (static_cast<exprseq const &>(*(X).bp))
 
-#endif // ndef _EXPRSEQ_H_
+#endif // ndef __GINAC_EXPRSEQ_H__
 
 
index 22b35ec0daa456ac1218fcee253daabb5b42e62c..2da0fea1f6b1e493628f50d215addd5037d298f8 100644 (file)
@@ -1,7 +1,24 @@
 /** @file exprseq_suppl.cpp
  *
  *  Supplement to exprseq.cpp, contains the parts which were
 /** @file exprseq_suppl.cpp
  *
  *  Supplement to exprseq.cpp, contains the parts which were
- *  not automatically generated. */
+ *  not automatically generated.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include "ginac.h"
 
 
 #include "ginac.h"
 
index 81ad433dd97bb29440e0cbd96fb0a368c0bfd146..c9d0e392dc34b1d466440bbad00b343dab16fc31 100644 (file)
@@ -1,7 +1,24 @@
 /** @file fail.cpp
  *
  *  Implementation of class signaling failure of operation. Considered
 /** @file fail.cpp
  *
  *  Implementation of class signaling failure of operation. Considered
- *  obsolete all this stuff ought to be replaced by exceptions. */
+ *  obsolete all this stuff ought to be replaced by exceptions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include "ginac.h"
 
 
 #include "ginac.h"
 
index 1ff994853049ce05e012e24919aaa864623a081d..666d85f45fa5643448cb621fc82a69875975c366 100644 (file)
@@ -1,19 +1,30 @@
 /** @file fail.h
  *
  *  Interface to class signaling failure of operation. Considered obsolete all
 /** @file fail.h
  *
  *  Interface to class signaling failure of operation. Considered obsolete all
- *  this stuff ought to be replaced by exceptions. */
-
-#ifndef _FAIL_H_
-#define _FAIL_H_
-
-class fail;
+ *  this stuff ought to be replaced by exceptions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#include "basic.h"
-#include "flags.h"
+#ifndef __GINAC_FAIL_H__
+#define __GINAC_FAIL_H__
 
 class fail : public basic
 {
 
 class fail : public basic
 {
-
 // member functions
 
     // default constructor, destructor, copy constructor assignment operator and helpers
 // member functions
 
     // default constructor, destructor, copy constructor assignment operator and helpers
@@ -53,6 +64,6 @@ protected:
 extern const fail some_fail;
 extern type_info const & typeid_fail;
 
 extern const fail some_fail;
 extern type_info const & typeid_fail;
 
-#endif // ndef _FAIL_H_
+#endif // ndef __GINAC_FAIL_H__
 
 
 
 
index 76fe8217aaa6c38e0d675654d1a4ca87bd475c88..cc735b64a206648d124357d6ba9bf9e7ba5af943 100644 (file)
@@ -1,9 +1,26 @@
 /** @file flags.h
  *
 /** @file flags.h
  *
- *  Collection of all flags used through the GiNaC framework. */
+ *  Collection of all flags used through the GiNaC framework.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _FLAGS_H_
-#define _FLAGS_H_
+#ifndef __GINAC_FLAGS_H__
+#define __GINAC_FLAGS_H__
 
 class expand_options {
 public:
 
 class expand_options {
 public:
@@ -94,4 +111,4 @@ public:
        };
 };
 
        };
 };
 
-#endif // ndef _FLAGS_H_
+#endif // ndef __GINAC_FLAGS_H__
index 33bfd5f30a31bd3dc6c2582025b58826f924f6c2..77aa3c6bc21411c2540cbb651c21236f2e807893 100644 (file)
@@ -4,7 +4,24 @@
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
- *  function.pl options: $maxargs=10 */
+ *  function.pl options: $maxargs=10
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 #include <stdexcept>
 
 #include <string>
 #include <stdexcept>
index 312b12dff0ca0ece399d5253a7af74fe53d9c5e3..ffc4eda4bfdf2dd8a50efbab570663dcf488f32b 100644 (file)
@@ -4,19 +4,33 @@
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
- *  function.pl options: $maxargs=10 */
+ *  function.pl options: $maxargs=10
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _FUNCTION_H_
-#define _FUNCTION_H_
+#ifndef __GINAC_FUNCTION_H__
+#define __GINAC_FUNCTION_H__
 
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
-#include "config.h"
 
 class function;
 
 
 class function;
 
-#include "exprseq.h"
-
 // the following lines have been generated for max. 10 parameters
 #define DECLARE_FUNCTION_1P(NAME) \
 extern unsigned function_index_##NAME; \
 // the following lines have been generated for max. 10 parameters
 #define DECLARE_FUNCTION_1P(NAME) \
 extern unsigned function_index_##NAME; \
@@ -272,5 +286,5 @@ protected:
 extern const function some_function;
 extern type_info const & typeid_function;
 
 extern const function some_function;
 extern type_info const & typeid_function;
 
-#endif // ndef _FUNCTION_H_
+#endif // ndef __GINAC_FUNCTION_H__
 
 
index 6ebdada4080be3dba8bf6db65d0e68f469b1d6f9..e40478d051d83f2d8492ed566391d4c89f9264c1 100755 (executable)
@@ -123,19 +123,33 @@ $interface=<<END_OF_INTERFACE;
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
- *  function.pl options: \$maxargs=${maxargs} */
+ *  function.pl options: \$maxargs=${maxargs}
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _FUNCTION_H_
-#define _FUNCTION_H_
+#ifndef __GINAC_FUNCTION_H__
+#define __GINAC_FUNCTION_H__
 
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
-#include "config.h"
 
 class function;
 
 
 class function;
 
-#include "exprseq.h"
-
 // the following lines have been generated for max. ${maxargs} parameters
 $declare_function_macro
 // end of generated lines
 // the following lines have been generated for max. ${maxargs} parameters
 $declare_function_macro
 // end of generated lines
@@ -261,7 +275,7 @@ protected:
 extern const function some_function;
 extern type_info const & typeid_function;
 
 extern const function some_function;
 extern type_info const & typeid_function;
 
-#endif // ndef _FUNCTION_H_
+#endif // ndef __GINAC_FUNCTION_H__
 
 END_OF_INTERFACE
 
 
 END_OF_INTERFACE
 
@@ -272,7 +286,24 @@ $implementation=<<END_OF_IMPLEMENTATION;
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
  *
  *  This file was generated automatically by function.pl.
  *  Please do not modify it directly, edit the perl script instead!
- *  function.pl options: \$maxargs=${maxargs} */
+ *  function.pl options: \$maxargs=${maxargs}
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 #include <stdexcept>
 
 #include <string>
 #include <stdexcept>
index 1892097ee56bf26d8b52fdb033c75f2e9110365a..808029ecf9cd1da2303c58b512ffc8131a772953 100644 (file)
@@ -1,30 +1,62 @@
-/* ginac.h */
+/** @file ginac.h
+ *
+ *  This include file includes all other public GiNaC headers.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #ifndef __GINAC_H__
 #define __GINAC_H__
 
 
 #ifndef __GINAC_H__
 #define __GINAC_H__
 
-#include <ginac/add.h>
+#include <ginac/flags.h>
+#include <ginac/tinfos.h>
+#include <ginac/debugmsg.h>
+
 #include <ginac/basic.h>
 #include <ginac/basic.h>
-#include <ginac/constant.h>
+
 #include <ginac/ex.h>
 #include <ginac/ex.h>
-#include <ginac/exprseq.h>
+#include <ginac/normal.h>
+
+#include <ginac/constant.h>
 #include <ginac/fail.h>
 #include <ginac/fail.h>
-#include <ginac/function.h>
 #include <ginac/idx.h>
 #include <ginac/idx.h>
-#include <ginac/inifcns.h>
 #include <ginac/lst.h>
 #include <ginac/matrix.h>
 #include <ginac/lst.h>
 #include <ginac/matrix.h>
-#include <ginac/mul.h>
-#include <ginac/ncmul.h>
-#include <ginac/normal.h>
 #include <ginac/numeric.h>
 #include <ginac/numeric.h>
-#include <ginac/operators.h>
 #include <ginac/power.h>
 #include <ginac/power.h>
-#include <ginac/series.h>
-#include <ginac/symbol.h>
+#include <ginac/relational.h>
 #include <ginac/structure.h>
 #include <ginac/structure.h>
+#include <ginac/symbol.h>
+
+#include <ginac/expair.h>
+#include <ginac/expairseq.h>
+#include <ginac/add.h>
+#include <ginac/mul.h>
+#include <ginac/series.h>
+
+#include <ginac/exprseq.h>
+#include <ginac/function.h>
+#include <ginac/ncmul.h>
+
+#include <ginac/inifcns.h>
+#include <ginac/operators.h>
 
 #ifndef GINAC_BASE_ONLY
 
 #ifndef GINAC_BASE_ONLY
+#include <ginac/indexed.h>
 #include <ginac/clifford.h>
 #include <ginac/coloridx.h>
 #include <ginac/color.h>
 #include <ginac/clifford.h>
 #include <ginac/coloridx.h>
 #include <ginac/color.h>
index 9829b876b025b8c5c2f850b698e789ac9d23f16f..a688c6d495efff99704309ac795d8fe0202efc8c 100644 (file)
@@ -1,6 +1,23 @@
 /** @file idx.cpp
  *
 /** @file idx.cpp
  *
- *  Implementation of GiNaC's indices. */
+ *  Implementation of GiNaC's indices.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdexcept>
 
 
 #include <stdexcept>
 
index 8e460d4c96e58b063c59184e45a50cef87d39e96..07c18b48678d958d22dd1f93db10018adfd89ee8 100644 (file)
@@ -1,15 +1,30 @@
 /** @file idx.h
  *
 /** @file idx.h
  *
- *  Interface to GiNaC's indices. */
+ *  Interface to GiNaC's indices.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _IDX_H_
-#define _IDX_H_
+#ifndef __GINAC_IDX_H__
+#define __GINAC_IDX_H__
 
 #include <string>
 #include <vector>
 
 
 #include <string>
 #include <vector>
 
-#include "basic.h"
-
 class idx : public basic
 {
 // member functions
 class idx : public basic
 {
 // member functions
@@ -87,4 +102,4 @@ ex subs_indices(ex const & e, exvector const & idxv_contra,
                 exvector const & idxv_co);
 unsigned count_index(ex const & e, ex const & i);
 
                 exvector const & idxv_co);
 unsigned count_index(ex const & e, ex const & i);
 
-#endif // ndef _IDX_H_
+#endif // ndef __GINAC_IDX_H__
index 2d6419d6fcb0d4cdc5878bfdd5a103fae1d7da72..ffcf5141734b25af6d402908562a16c1fbfa91df 100644 (file)
@@ -1,6 +1,23 @@
 /** @file indexed.cpp
  *
 /** @file indexed.cpp
  *
- *  Implementation of GiNaC's index carrying objects. */
+ *  Implementation of GiNaC's index carrying objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 
 
 #include <string>
 
index 4bade0b2666f5cde9bac718daf097913d08c3fd3..5aa53185f6c25e948801ce0cc4b1ae483a193583 100644 (file)
@@ -1,17 +1,29 @@
 /** @file indexed.h
  *
 /** @file indexed.h
  *
- *  Interface to GiNaC's index carrying objects. */
+ *  Interface to GiNaC's index carrying objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _INDEXED_H_
-#define _INDEXED_H_
+#ifndef __GINAC_INDEXED_H__
+#define __GINAC_INDEXED_H__
 
 #include <string>
 
 
 #include <string>
 
-class indexed;
-
-#include "exprseq.h"
-#include "idx.h"
-
 /** Base class for non-commutative indexed objects */
 class indexed : public exprseq
 {
 /** Base class for non-commutative indexed objects */
 class indexed : public exprseq
 {
@@ -76,6 +88,6 @@ extern type_info const & typeid_indexed;
 
 #define ex_to_indexed(X) static_cast<indexed const &>(*(X).bp)
 
 
 #define ex_to_indexed(X) static_cast<indexed const &>(*(X).bp)
 
-#endif // ndef _INDEXED_H_
+#endif // ndef __GINAC_INDEXED_H__
 
 
 
 
index adf31860a570a21e98132988182e5f712cb59ae0..981e98e3f119790ab126dad29f711f065ae735ca 100644 (file)
@@ -1,6 +1,23 @@
 /** @file inifcns.cpp
  *
 /** @file inifcns.cpp
  *
- *  Implementation of GiNaC's initially known functions. */
+ *  Implementation of GiNaC's initially known functions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <vector>
 #include <stdexcept>
 
 #include <vector>
 #include <stdexcept>
index c1f1f24e221e2ef69654d7df9cd9a2fa76ac6eef..ecdfa897aa9ff8a1a364c2fb29e7d5ab5c64786a 100644 (file)
@@ -1,12 +1,26 @@
 /** @file inifcns.h
  *
 /** @file inifcns.h
  *
- *  Interface to GiNaC's initially known functions. */
-
-#ifndef _INIFCNS_H_
-#define _INIFCNS_H_
+ *  Interface to GiNaC's initially known functions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#include "numeric.h"
-#include "function.h"
+#ifndef __GINAC_INIFCNS_H__
+#define __GINAC_INIFCNS_H__
 
 /** Sine. */
 DECLARE_FUNCTION_1P(sin)
 
 /** Sine. */
 DECLARE_FUNCTION_1P(sin)
@@ -80,4 +94,4 @@ inline bool is_order_function(ex const & e)
        return is_ex_the_function(e, Order);
 }
 
        return is_ex_the_function(e, Order);
 }
 
-#endif // ndef _INIFCNS_H_
+#endif // ndef __GINAC_INIFCNS_H__
index b94ee27ddb55a38009624656fc4df6c0d993ab42..f575aca5ddc4ff1881e00061766dd1db78afd7f3 100644 (file)
@@ -1,6 +1,23 @@
 /** @file inifcns_gamma.cpp
  *
 /** @file inifcns_gamma.cpp
  *
- *  Implementation of Gamma function and some related stuff. */
+ *  Implementation of Gamma function and some related stuff.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <vector>
 #include <stdexcept>
 
 #include <vector>
 #include <stdexcept>
index c67d8330758aa3ca78e59ece6deda3bbcc9d2630..85443307496353bc3e5a18eec1c3a212a8482d6b 100644 (file)
@@ -1,7 +1,24 @@
 /** @file inifcns_trans.cpp
  *
  *  Implementation of transcendental (and trigonometric and hyperbolic)
 /** @file inifcns_trans.cpp
  *
  *  Implementation of transcendental (and trigonometric and hyperbolic)
- *  functions. */
+ *  functions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <vector>
 #include <stdexcept>
 
 #include <vector>
 #include <stdexcept>
index c8a58047c5add0fd7c0588aa2fda048b541b7940..5f527d7af9227320ac89dae306d32245e54e1ce2 100644 (file)
@@ -1,7 +1,24 @@
 /** @file isospin.cpp
  *
  *  Implementation of GiNaC's isospin objects.
 /** @file isospin.cpp
  *
  *  Implementation of GiNaC's isospin objects.
- *  No real implementation yet, to be done.     */
+ *  No real implementation yet, to be done.    
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 
 
 #include <string>
 
index 3a8e930734e25c126838d3108fa7d486575186e6..56ae1b7920e414fbdc3aff65f5106f3d407b43bc 100644 (file)
@@ -1,16 +1,29 @@
 /** @file isospin.h
  *
 /** @file isospin.h
  *
- *  Interface to GiNaC's isospin objects. */
+ *  Interface to GiNaC's isospin objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _ISOSPIN_H_
-#define _ISOSPIN_H_
+#ifndef __GINAC_ISOSPIN_H__
+#define __GINAC_ISOSPIN_H__
 
 #include <string>
 
 
 #include <string>
 
-class isospin;
-
-#include "indexed.h"
-
 /** Base class for isospin object */
 class isospin : public indexed
 {
 /** Base class for isospin object */
 class isospin : public indexed
 {
@@ -70,6 +83,6 @@ extern type_info const & typeid_isospin;
 
 #define ex_to_isospin(X) static_cast<isospin const &>(*(X).bp)
 
 
 #define ex_to_isospin(X) static_cast<isospin const &>(*(X).bp)
 
-#endif // ndef _ISOSPIN_H_
+#endif // ndef __GINAC_ISOSPIN_H__
 
 
 
 
index e53d8a859011d8cd7d11e6b59fc5ec96414f254d..af35a457d5fa22a668d67aec3d4b473c64cec353 100644 (file)
@@ -1,6 +1,23 @@
 /** @file lorentzidx.cpp
  *
 /** @file lorentzidx.cpp
  *
- *  Implementation of GiNaC's lorentz indices. */
+ *  Implementation of GiNaC's lorentz indices.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdexcept>
 
 
 #include <stdexcept>
 
index 99eae0840acdf1071b980cb4d0bc0670a874c7c8..8f9bbf40a4fb5495ff1660de5028cec3d964fbe9 100644 (file)
@@ -1,15 +1,30 @@
 /** @file lorentzidx.h
  *
 /** @file lorentzidx.h
  *
- *  Interface to GiNaC's lorentz indices. */
+ *  Interface to GiNaC's lorentz indices.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _LORENTZIDX_H_
-#define _LORENTZIDX_H_
+#ifndef __GINAC_LORENTZIDX_H__
+#define __GINAC_LORENTZIDX_H__
 
 #include <string>
 #include <vector>
 
 
 #include <string>
 #include <vector>
 
-#include "idx.h"
-
 class lorentzidx : public idx
 {
     friend class simp_lor;
 class lorentzidx : public idx
 {
     friend class simp_lor;
@@ -68,4 +83,4 @@ extern type_info const & typeid_lorentzidx;
 
 #define ex_to_lorentzidx(X) (static_cast<lorentzidx const &>(*(X).bp))
 
 
 #define ex_to_lorentzidx(X) (static_cast<lorentzidx const &>(*(X).bp))
 
-#endif // ndef _LORENTZIDX_H_
+#endif // ndef __GINAC_LORENTZIDX_H__
index 550d886318821a2e973e512be008c495e9c41b70..7fd3e407ad4fa37e900b50a8f709cd139bcab734 100644 (file)
@@ -9,7 +9,24 @@
  *                        $prepend=1
  *                        $let_op=1
  *                        $open_bracket=[
  *                        $prepend=1
  *                        $let_op=1
  *                        $open_bracket=[
- *                        $close_bracket=] */
+ *                        $close_bracket=]
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 #include <stdexcept>
 
 #include <iostream>
 #include <stdexcept>
index 66af406b79d7b3d5dc567f9940a978e44e8eec2f..08b75f78b101985c04a3bbc49d5c07d88212e18f 100644 (file)
@@ -9,13 +9,29 @@
  *                        $prepend=1
  *                        $let_op=1
  *                        $open_bracket=[
  *                        $prepend=1
  *                        $let_op=1
  *                        $open_bracket=[
- *                        $close_bracket=] */
+ *                        $close_bracket=]
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _LST_H_
-#define _LST_H_
+#ifndef __GINAC_LST_H__
+#define __GINAC_LST_H__
 
 #include <list>
 
 #include <list>
-
 #include <ginac/ginac.h>
 
 typedef list<ex> exlist;
 #include <ginac/ginac.h>
 
 typedef list<ex> exlist;
@@ -112,5 +128,5 @@ extern type_info const & typeid_lst;
 
 #define ex_to_lst(X) (static_cast<lst const &>(*(X).bp))
 
 
 #define ex_to_lst(X) (static_cast<lst const &>(*(X).bp))
 
-#endif // ndef _LST_H_
+#endif // ndef __GINAC_LST_H__
 
 
index 6280169f7fd8a31ee5baa94614d6ab688943e596..ae5910d79d217a75219b898269b29e013b86973a 100644 (file)
@@ -1,7 +1,24 @@
 /** @file lst_suppl.cpp
  *
  *  Supplement to lst.cpp, contains the parts which were
 /** @file lst_suppl.cpp
  *
  *  Supplement to lst.cpp, contains the parts which were
- *  not automatically generated. */
+ *  not automatically generated.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include "ginac.h"
 
 
 #include "ginac.h"
 
index edf2a945fef43153b1460dc78b7290a5e24245db..59863ea5e206f0492ce9268f9006d8ded0582922 100644 (file)
@@ -1,6 +1,23 @@
 /** @file matrix.cpp
  *
 /** @file matrix.cpp
  *
- *  Implementation of symbolic matrices */
+ *  Implementation of symbolic matrices
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <algorithm>
 #include <stdexcept>
 
 #include <algorithm>
 #include <stdexcept>
index 66e89aa4eb60b705cb48cba5a762beda47886e92..141437bfa06f93fc4bb8988e7205555c4b8cc5a5 100644 (file)
@@ -1,12 +1,27 @@
 /** @file matrix.h
  *
 /** @file matrix.h
  *
- *  Interface to symbolic matrices */
+ *  Interface to symbolic matrices
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _MATRIX_H_
-#define _MATRIX_H_
+#ifndef __GINAC_MATRIX_H__
+#define __GINAC_MATRIX_H__
 
 
-#include "basic.h"
-#include "ex.h"
 #include <vector>
 
 /** Symbolic matrices. */
 #include <vector>
 
 /** Symbolic matrices. */
@@ -130,4 +145,4 @@ inline matrix inverse(matrix const & m)
 
 #define ex_to_matrix(X) (static_cast<matrix const &>(*(X).bp))
 
 
 #define ex_to_matrix(X) (static_cast<matrix const &>(*(X).bp))
 
-#endif // ndef _MATRIX_H_
+#endif // ndef __GINAC_MATRIX_H__
index bf5e70dff0d77d4bc5687907cae8974ddee24d87..ef0af1b732cb785f3292acf2fb112201a076d28a 100644 (file)
@@ -1,6 +1,23 @@
 /** @file mul.cpp
  *
 /** @file mul.cpp
  *
- *  Implementation of GiNaC's products of expressions. */
+ *  Implementation of GiNaC's products of expressions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <vector>
 #include <stdexcept>
 
 #include <vector>
 #include <stdexcept>
index 6f951c9ae923d43550b752178dc198092d5f3f4d..ee1993764e421598b5dc75f02ceb3a4f1c979d92 100644 (file)
@@ -1,14 +1,29 @@
 /** @file mul.h
  *
 /** @file mul.h
  *
- *  Interface to GiNaC's products of expressions. */
+ *  Interface to GiNaC's products of expressions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _MUL_H_
-#define _MUL_H_
+#ifndef __GINAC_MUL_H__
+#define __GINAC_MUL_H__
 
 class mul;
 
 
 class mul;
 
-#include "expairseq.h"
-
 /** Product of expressions. */
 class mul : public expairseq
 {
 /** Product of expressions. */
 class mul : public expairseq
 {
@@ -99,5 +114,5 @@ extern type_info const & typeid_mul;
 
 #define ex_to_mul(X) static_cast<mul const &>(*(X).bp)
 
 
 #define ex_to_mul(X) static_cast<mul const &>(*(X).bp)
 
-#endif // ndef _MUL_H_
+#endif // ndef __GINAC_MUL_H__
 
 
index 560f7151c26a069835bb2bb08ee0d5284436598b..be9d8c9da594af4fbe1f4e1860f7da9205ddcdc7 100644 (file)
@@ -1,6 +1,23 @@
 /** @file ncmul.cpp
  *
 /** @file ncmul.cpp
  *
- *  Implementation of GiNaC's non-commutative products of expressions. */
+ *  Implementation of GiNaC's non-commutative products of expressions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <algorithm>
 #include <iostream>
 
 #include <algorithm>
 #include <iostream>
index 1b833b0b638847852a03e0e236b6e1c1d487cbc2..3e7fbc5841741998e18f7ad98e220ca3905354d2 100644 (file)
@@ -1,13 +1,26 @@
 /** @file ncmul.h
  *
 /** @file ncmul.h
  *
- *  Interface to GiNaC's non-commutative products of expressions. */
-
-#ifndef _NCMUL_H_
-#define _NCMUL_H_
-
-#include "exprseq.h"
+ *  Interface to GiNaC's non-commutative products of expressions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-class ncmul;
+#ifndef __GINAC_NCMUL_H__
+#define __GINAC_NCMUL_H__
 
 /** Non-commutative product of expressions. */
 class ncmul : public exprseq
 
 /** Non-commutative product of expressions. */
 class ncmul : public exprseq
@@ -92,5 +105,5 @@ ex simplified_ncmul(exvector const & v);
 
 #define ex_to_ncmul(X) static_cast<ncmul const &>(*(X).bp)
 
 
 #define ex_to_ncmul(X) static_cast<ncmul const &>(*(X).bp)
 
-#endif // ndef _NCMUL_H_
+#endif // ndef __GINAC_NCMUL_H__
 
 
index 614b1db1bfc4a00d5630ecfeeadcbee69fdc5956..c04596856f4e207a9ff5d762930f3278b303652a 100644 (file)
@@ -4,6 +4,23 @@
  *  multivariate polynomials and rational functions.
  *  These functions include polynomial quotient and remainder, GCD and LCM
  *  computation, square-free factorization and rational function normalization.
  *  multivariate polynomials and rational functions.
  *  These functions include polynomial quotient and remainder, GCD and LCM
  *  computation, square-free factorization and rational function normalization.
+
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 #include <stdexcept>
  */
 
 #include <stdexcept>
index 451d15558fd6e4ec27f993963f268229585739ef..731ab5ae24520e7a08cd1f9b22ee33230d039c4f 100644 (file)
@@ -1,16 +1,28 @@
 /** @file normal.h
  *
  *  Functions for polynomial quotient and remainder, GCD and LCM computation
 /** @file normal.h
  *
  *  Functions for polynomial quotient and remainder, GCD and LCM computation
- *  and square-free factorization. */
+ *  and square-free factorization.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #ifndef NORMAL_H
 #define NORMAL_H
 
 
 #ifndef NORMAL_H
 #define NORMAL_H
 
-#include "ex.h"
-
-class symbol;
-
-
 // Quotient q(x) of polynomials a(x) and b(x) in Q[x], so that a(x)=b(x)*q(x)+r(x)
 extern ex quo(const ex &a, const ex &b, const symbol &x, bool check_args = true);
 
 // Quotient q(x) of polynomials a(x) and b(x) in Q[x], so that a(x)=b(x)*q(x)+r(x)
 extern ex quo(const ex &a, const ex &b, const symbol &x, bool check_args = true);
 
index ae0478584f1050acd624603df8df094fd3c85235..fa17175c47e4dc82907d875b3e2ddfbd77a0d574 100644 (file)
@@ -4,12 +4,30 @@
  *  Its most important design principle is to completely hide the inner
  *  working of that other package from the user of GiNaC.  It must either 
  *  provide implementation of arithmetic operators and numerical evaluation
  *  Its most important design principle is to completely hide the inner
  *  working of that other package from the user of GiNaC.  It must either 
  *  provide implementation of arithmetic operators and numerical evaluation
- *  of special functions or implement the interface to the bignum package. */
+ *  of special functions or implement the interface to the bignum package.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <vector>
 #include <stdexcept>
 
 #include "ginac.h"
 
 #include <vector>
 #include <stdexcept>
 
 #include "ginac.h"
+#include "config.h"
 
 // CLN should not pollute the global namespace, hence we include it here
 // instead of in some header file where it would propagate to other parts:
 
 // CLN should not pollute the global namespace, hence we include it here
 // instead of in some header file where it would propagate to other parts:
index 0b2d28e3e2d71f47202764186f82dade1bc715c9..c9bd404b1bce58087aa5858bb38df73170eac7cc 100644 (file)
@@ -1,18 +1,33 @@
 /** @file numeric.h
  *
 /** @file numeric.h
  *
- *  Makes the interface to the underlying bignum package available. */
+ *  Makes the interface to the underlying bignum package available.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _NUMERIC_H_
-#define _NUMERIC_H_
+#ifndef __GINAC_NUMERIC_H__
+#define __GINAC_NUMERIC_H__
 
 #include <strstream>
 
 #define HASHVALUE_NUMERIC 0x80000001U
 
 
 #include <strstream>
 
 #define HASHVALUE_NUMERIC 0x80000001U
 
-class numeric;  // Forward declaration, so basic doesn't argue...
 class cl_N;     // We want to include cln.h only in numeric.cpp in order to 
                 // avoid namespace pollution and keep compile-time low.
 class cl_N;     // We want to include cln.h only in numeric.cpp in order to 
                 // avoid namespace pollution and keep compile-time low.
-#include "basic.h"
 
 /** This class is used to instantiate a global object Digits which
  *  behaves just like Maple's Digits.  We need an object rather than a
 
 /** This class is used to instantiate a global object Digits which
  *  behaves just like Maple's Digits.  We need an object rather than a
@@ -304,4 +319,4 @@ ex CatalanEvalf(void);
 #define ex_to_numeric(X) static_cast<numeric const &>(*(X).bp)
 
 
 #define ex_to_numeric(X) static_cast<numeric const &>(*(X).bp)
 
 
-#endif // ndef _NUMERIC_H_
+#endif // ndef __GINAC_NUMERIC_H__
index abd5061cee9e9bed2b824abe47036e514c71ae68..b589c3c450b00d1dfb3d504f7866ce19e425082e 100644 (file)
@@ -1,6 +1,23 @@
 /** @file operators.cpp
  *
 /** @file operators.cpp
  *
- *  Implementation of GiNaC's overloaded operators. */
+ *  Implementation of GiNaC's overloaded operators.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 #include <stdexcept>
 
 #include <iostream>
 #include <stdexcept>
index dfd985f5af54dd746399acde67f2fffc10fc16aa..7ccd39f69bf17cdcafe665281bc28f0be0811229 100644 (file)
@@ -1,16 +1,28 @@
 /** @file operators.h
  *
 /** @file operators.h
  *
- *  Interface to GiNaC's overloaded operators. */
+ *  Interface to GiNaC's overloaded operators.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _OPERATORS_H_
-#define _OPERATORS_H_
+#ifndef __GINAC_OPERATORS_H__
+#define __GINAC_OPERATORS_H__
 
 #include <iostream>
 
 #include <iostream>
-#include "basic.h"
-#include "ex.h"
-#include "numeric.h"
-#include "relational.h"
-
 
 // binary arithmetic operators ex with ex
 ex operator+(ex const & lh, ex const & rh);
 
 // binary arithmetic operators ex with ex
 ex operator+(ex const & lh, ex const & rh);
@@ -106,5 +118,4 @@ relational operator>=(numeric const & lh, ex const & rh);
 ostream & operator<<(ostream & os, ex const & e);
 istream & operator>>(istream & is, ex & e);
 
 ostream & operator<<(ostream & os, ex const & e);
 istream & operator>>(istream & is, ex & e);
 
-#endif // ndef _OPERATORS_H_
-
+#endif // ndef __GINAC_OPERATORS_H__
index f0b5c5adb8c566b0b965ac649badcd95b040e510..39ad89988e24659964ca4900480a41eea4dffb9a 100644 (file)
@@ -1,6 +1,23 @@
 /** @file power.cpp
  *
 /** @file power.cpp
  *
- *  Implementation of GiNaC's symbolic exponentiation (basis^exponent). */
+ *  Implementation of GiNaC's symbolic exponentiation (basis^exponent).
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <vector>
 #include <iostream>
 
 #include <vector>
 #include <iostream>
index ed9c146762c2fd58062274df982cc06b2c65ad21..a946a82f5311be8d368fced4227dd4e19fc75d2e 100644 (file)
@@ -1,9 +1,26 @@
 /** @file power.h
  *
 /** @file power.h
  *
- *  Interface to GiNaC's symbolic exponentiation (basis^exponent). */
+ *  Interface to GiNaC's symbolic exponentiation (basis^exponent).
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _POWER_H_
-#define _POWER_H_
+#ifndef __GINAC_POWER_H__
+#define __GINAC_POWER_H__
 
 class power;
 class numeric;
 
 class power;
 class numeric;
@@ -99,5 +116,5 @@ inline ex pow(ex const & b, ex const & e)
 inline ex sqrt(ex const & a)
 { return power(a,exHALF()); }
 
 inline ex sqrt(ex const & a)
 { return power(a,exHALF()); }
 
-#endif // ndef _POWER_H_
+#endif // ndef __GINAC_POWER_H__
 
 
index e17292a6d9757350c5202e1e507e4a158391b8b8..8fc1af37c9dfbe8ce424eb2fd2f5debb0de3b02e 100644 (file)
@@ -1,7 +1,24 @@
 /** @file print.cpp
  *
  *  The methods .print() are responsible for the nice default-output of
 /** @file print.cpp
  *
  *  The methods .print() are responsible for the nice default-output of
- *  objects.  All related helper-functions go in here as well. */
+ *  objects.  All related helper-functions go in here as well.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 
 
 #include <iostream>
 
index 418d3845f8eb9edfc30f54a6fe97e548bbbf83fc..34056400c7c60fe0ce613f417657368a88ad6f2f 100644 (file)
@@ -1,7 +1,24 @@
 /** @file printcsrc.cpp
  *
  *  The methods .printcsrc() are responsible for C-source output of
 /** @file printcsrc.cpp
  *
  *  The methods .printcsrc() are responsible for C-source output of
- *  objects.  All related helper-functions go in here as well. */
+ *  objects.  All related helper-functions go in here as well.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 
 
 #include <iostream>
 
index 8315c81816375806d16a3bf0fe92bd0d834e8055..a70461068e0ca41a3e11b4355a16d4f4d6a61b54 100644 (file)
@@ -1,7 +1,24 @@
 /** @file printraw.cpp
  *
  * print in ugly raw format, so brave developers can have a look at the
 /** @file printraw.cpp
  *
  * print in ugly raw format, so brave developers can have a look at the
- * underlying structure. */
+ * underlying structure.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 /* We are cheating here, because we don't want to include the underlying
  * bignum package's headers again, so in this file we omit the definition of
 
 /* We are cheating here, because we don't want to include the underlying
  * bignum package's headers again, so in this file we omit the definition of
index 81881988ef85dce81ff64e2d778639ad3b488dca..d30f50582a65b559c0ad8fb803a84f645773760a 100644 (file)
@@ -1,7 +1,24 @@
 /** @file printtree.cpp
  *
  * print in tree- (indented-) form, so developers can have a look at the
 /** @file printtree.cpp
  *
  * print in tree- (indented-) form, so developers can have a look at the
- * underlying structure. */
+ * underlying structure.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <iostream>
 #include <math.h>
 
 #include <iostream>
 #include <math.h>
index 252d8b350660360abfdaaa022019388c67aa53e8..9dad5cc70c3178f6b9f3167e1fd3576c8155477a 100644 (file)
@@ -1,6 +1,23 @@
 /** @file relational.cpp
  *
 /** @file relational.cpp
  *
- *  Implementation of relations between expressions */
+ *  Implementation of relations between expressions
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <stdexcept>
 
 
 #include <stdexcept>
 
index 34c592cffd8d6bf7c4fcb3d6327d42b63dfead8e..97a9f6668446e6ba44a72ce90caedab490f7ba1d 100644 (file)
@@ -1,13 +1,26 @@
 /** @file relational.h
  *
 /** @file relational.h
  *
- *  Interface to relations between expressions. */
-
-#ifndef _RELATIONAL_H_
-#define _RELATIONAL_H_
-
-class relational;
+ *  Interface to relations between expressions.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#include "basic.h"
+#ifndef __GINAC_RELATIONAL_H__
+#define __GINAC_RELATIONAL_H__
 
 /** This class holds a relation consisting of two expressions and a logical
  *  relation between them. */
 
 /** This class holds a relation consisting of two expressions and a logical
  *  relation between them. */
@@ -80,6 +93,6 @@ extern type_info const & typeid_relational;
 
 #define ex_to_relational(X) static_cast<relational const &>(*(X).bp)
 
 
 #define ex_to_relational(X) static_cast<relational const &>(*(X).bp)
 
-#endif // ndef _RELATIONAL_H_
+#endif // ndef __GINAC_RELATIONAL_H__
 
 
 
 
index 9daf656b1a8facb92739e41bda51c5fbf372848a..668cb6baaf184803e2146ac41090b3d247a47ccb 100644 (file)
@@ -1,7 +1,24 @@
 /** @file series.cpp
  *
  *  Implementation of class for extended truncated power-series and
 /** @file series.cpp
  *
  *  Implementation of class for extended truncated power-series and
- *  methods for series expansion. */
+ *  methods for series expansion.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include "ginac.h"
 
 
 #include "ginac.h"
 
index 89b912677b9c04fac040931c1f96431133763705..e0fe511fbec3345a7cb704db40cfc0bfcf575290 100644 (file)
@@ -1,15 +1,26 @@
 /** @file series.h
  *
 /** @file series.h
  *
- *  Interface to class for extended truncated power series. */
-
-#ifndef _SERIES_H_
-#define _SERIES_H_
-
-#include "basic.h"
-#include "ex.h"
-#include "expairseq.h"
-#include "symbol.h"
+ *  Interface to class for extended truncated power series.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
+#ifndef __GINAC_SERIES_H__
+#define __GINAC_SERIES_H__
 
 /** This class holds a extended truncated power series (positive and negative
  *  integer powers). It consists of expression coefficients (only non-zero
 
 /** This class holds a extended truncated power series (positive and negative
  *  integer powers). It consists of expression coefficients (only non-zero
@@ -74,4 +85,4 @@ extern type_info const & typeid_series;
 #define ex_to_series(X) (static_cast<class series const &>(*(X).bp))
 #define series_to_poly(X) (static_cast<series const &>(*(X).bp).convert_to_poly(true))
 
 #define ex_to_series(X) (static_cast<class series const &>(*(X).bp))
 #define series_to_poly(X) (static_cast<series const &>(*(X).bp).convert_to_poly(true))
 
-#endif
+#endif // ndef __GINAC_SERIES_H__
index 32d05b0c9d0ed7154b4d54a4953a63f321d0ec5b..ac8aae06d25cb13abc0028416e0ea8420fc5c510 100644 (file)
@@ -1,7 +1,24 @@
 /** @file simp_lor.cpp
  *
  *  Implementation of GiNaC's simp_lor objects.
 /** @file simp_lor.cpp
  *
  *  Implementation of GiNaC's simp_lor objects.
- *  No real implementation yet, to be done.     */
+ *  No real implementation yet, to be done.    
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 #include <list>
 
 #include <string>
 #include <list>
index 8efe1b3dd6e87aa7edc8709c7146a6c7c5749eaa..f765d38f4bdd37368e2f46e3b06065573dfef7fc 100644 (file)
@@ -1,9 +1,26 @@
 /** @file simp_lor.h
  *
 /** @file simp_lor.h
  *
- *  Interface to GiNaC's simp_lor objects. */
+ *  Interface to GiNaC's simp_lor objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _SIMP_LOR_H_
-#define _SIMP_LOR_H_
+#ifndef _SIMP__GINAC_LOR_H__
+#define _SIMP__GINAC_LOR_H__
 
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
 #include <map>
 #include <iostream>
 
 #include <map>
 #include <iostream>
 
-class simp_lor;
-
-#include "indexed.h"
-#include "lorentzidx.h"
-
 typedef pair<string,string> strstrpair;
 typedef pair<strstrpair,lorentzidx> spmapkey;
 
 typedef pair<string,string> strstrpair;
 typedef pair<strstrpair,lorentzidx> spmapkey;
 
@@ -147,6 +159,6 @@ ex simplify_simp_lor_mul(ex const & m, scalar_products const & sp);
 ex simplify_simp_lor(ex const & e, scalar_products const & sp);
 ex Dim(void);
 
 ex simplify_simp_lor(ex const & e, scalar_products const & sp);
 ex Dim(void);
 
-#endif // ndef _SIMP_LOR_H_
+#endif // ndef _SIMP__GINAC_LOR_H__
 
 
 
 
index d17bab24499ca17033dea6a1868207d9b9e17b5c..b155f946629988c48c92e79c170f62adc0431a1c 100644 (file)
@@ -1,6 +1,23 @@
 /** @file structure.cpp
  *
 /** @file structure.cpp
  *
- *  Implementation of 'abstract' class structure. */
+ *  Implementation of 'abstract' class structure.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 
 
 #include <string>
 
index b1c8bef7480cde3dc4c953c1b1c5087d7f9e869e..ead2670fb1e67880f09f5f992140c23c32f9cb79 100644 (file)
@@ -1,13 +1,26 @@
 /** @file structure.h
  *
 /** @file structure.h
  *
- *  Interface to 'abstract' class structure. */
-
-#ifndef _STRUCTURE_H_
-#define _STRUCTURE_H_
-
-class structure;
+ *  Interface to 'abstract' class structure.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#include "basic.h"
+#ifndef __GINAC_STRUCTURE_H__
+#define __GINAC_STRUCTURE_H__
 
 struct registered_structure_info {
     char const * name;
 
 struct registered_structure_info {
     char const * name;
@@ -66,5 +79,5 @@ public:
 extern const structure some_structure;
 extern type_info const & typeid_structure;
 
 extern const structure some_structure;
 extern type_info const & typeid_structure;
 
-#endif // ndef _STRUCTURE_H_
+#endif // ndef __GINAC_STRUCTURE_H__
 
 
index 725b03a592519e0c6d7b7b038e15414f25c4c29c..de365edee5308bedadb123fe83593a6727607f55 100755 (executable)
@@ -122,13 +122,29 @@ $interface=<<END_OF_INTERFACE;
  *  Definition of GiNaC's user defined structure ${STRUCTURE}. 
  *  This file was generated automatically by structure.pl.
  *  Please do not modify it directly, edit the perl script instead!
  *  Definition of GiNaC's user defined structure ${STRUCTURE}. 
  *  This file was generated automatically by structure.pl.
  *  Please do not modify it directly, edit the perl script instead!
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 // structure.pl input:
 ${input_structure}
 
  */
 
 // structure.pl input:
 ${input_structure}
 
-#ifndef _${STRUCTURE_UC}_H_
-#define _${STRUCTURE_UC}_H_
+#ifndef __GINAC_${STRUCTURE_UC}_H__
+#define __GINAC_${STRUCTURE_UC}_H__
 
 #include <ginac/ginac.h>
 
 
 #include <ginac/ginac.h>
 
@@ -205,6 +221,22 @@ $implementation=<<END_OF_IMPLEMENTATION;
  *  Implementation of GiNaC's user defined structure ${STRUCTURE}. 
  *  This file was generated automatically by STRUCTURE.pl.
  *  Please do not modify it directly, edit the perl script instead!
  *  Implementation of GiNaC's user defined structure ${STRUCTURE}. 
  *  This file was generated automatically by STRUCTURE.pl.
  *  Please do not modify it directly, edit the perl script instead!
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 // structure.pl input:
  */
 
 // structure.pl input:
index 6822dc49abb9a091091343ce36fa29680e60685f..f9d64929323020aae7cafa3292b100b943457e49 100644 (file)
@@ -1,6 +1,23 @@
 /** @file symbol.cpp
  *
 /** @file symbol.cpp
  *
- *  Implementation of GiNaC's symbolic objects. */
+ *  Implementation of GiNaC's symbolic objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #include <string>
 #include <stdexcept>
 
 #include <string>
 #include <stdexcept>
index a10998ecc4520e0479c2cc0ed018d9247a1d4480..8b8e9a76cff9ac457f63cd25fbdadb64ea74edaa 100644 (file)
@@ -1,17 +1,29 @@
 /** @file symbol.h
  *
 /** @file symbol.h
  *
- *  Interface to GiNaC's symbolic objects. */
+ *  Interface to GiNaC's symbolic objects.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _SYMBOL_H_
-#define _SYMBOL_H_
+#ifndef __GINAC_SYMBOL_H__
+#define __GINAC_SYMBOL_H__
 
 #include <string>
 
 
 #include <string>
 
-class symbol;
-
-#include "basic.h"
-#include "ex.h"
-
 /** Basic CAS symbol.  It has a name because it must know how to output itself.
  *  It may be assigned an expression, but this feature is only intended for
  *  programs like 'ginsh' that want to associate symbols with expressions.
 /** Basic CAS symbol.  It has a name because it must know how to output itself.
  *  It may be assigned an expression, but this feature is only intended for
  *  programs like 'ginsh' that want to associate symbols with expressions.
@@ -108,4 +120,4 @@ inline int degree(symbol const & a, symbol const & s)
 inline int ldegree(symbol const & a, symbol const & s)
 { return a.ldegree(s); }
 
 inline int ldegree(symbol const & a, symbol const & s)
 { return a.ldegree(s); }
 
-#endif // ndef _SYMBOL_H_
+#endif // ndef __GINAC_SYMBOL_H__
index de799aa9bac6fc8e83df30fab20760adde450619..1d0f1dc3b242fc036f1129c2c5e967682efd061f 100644 (file)
@@ -1,9 +1,26 @@
 /** @file tinfos.h
  *
 /** @file tinfos.h
  *
- *  Values for a do-it-yourself typeinfo scheme. */
+ *  Values for a do-it-yourself typeinfo scheme.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _TINFOS_H_
-#define _TINFOS_H_
+#ifndef __GINAC_TINFOS_H__
+#define __GINAC_TINFOS_H__
 
 #define TINFO_BASIC        0x00000001U
 
 
 #define TINFO_BASIC        0x00000001U
 
@@ -48,4 +65,4 @@
 #define TINFO_COLORIDX     0x000d1001U
 #define TINFO_LORENTZIDX   0x000d1002U
 
 #define TINFO_COLORIDX     0x000d1001U
 #define TINFO_LORENTZIDX   0x000d1002U
 
-#endif // ndef _TINFOS_H_
+#endif // ndef __GINAC_TINFOS_H__
index ae0160d43dc0f494067d5667091d636c40e73dc7..69d4f46110dc43e5a50f717d82bb1d834334c20d 100644 (file)
@@ -1,6 +1,23 @@
 /** @file utils.cpp
  *
 /** @file utils.cpp
  *
- *  Implementation of several small and furry utilities. */
+ *  Implementation of several small and furry utilities.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 unsigned log2(unsigned n)
 {
 
 unsigned log2(unsigned n)
 {
index a19aea47a072a7b4c023322fb2af6c55a9f417f9..259527eef74669fadab04c35bc2bb2ab7436169b 100644 (file)
@@ -1,9 +1,26 @@
 /** @file utils.h
  *
 /** @file utils.h
  *
- *  Interface to several small and furry utilities. */
+ *  Interface to several small and furry utilities.
+ *
+ *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 
-#ifndef _UTILS_H_
-#define _UTILS_H_
+#ifndef __GINAC_UTILS_H__
+#define __GINAC_UTILS_H__
 
 #include <strstream>
 #include <string>
 
 #include <strstream>
 #include <string>
@@ -72,4 +89,4 @@ OutputIterator mymerge3(InputIterator1 first1, InputIterator1 last1,
   }
 }
 
   }
 }
 
-#endif // ndef _UTILS_H_
+#endif // ndef __GINAC_UTILS_H__