X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fpowerlaws.cpp;h=d6a896cff54a15dafa7ccfc81263fb78535427e7;hp=e103fed9cf37cb8fafe904de35f8892fc0b8d081;hb=1a21a1a5d97950126a8df787302286b6cc1a902c;hpb=6b3768e8c544739ae53321539cb4d1e3112ded1b diff --git a/check/powerlaws.cpp b/check/powerlaws.cpp index e103fed9..d6a896cf 100644 --- a/check/powerlaws.cpp +++ b/check/powerlaws.cpp @@ -1,10 +1,32 @@ -// check/powerlaws.cpp +/** @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. */ -/* 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-2000 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 +#ifndef NO_GINAC_NAMESPACE +using namespace GiNaC; +#endif // ndef NO_GINAC_NAMESPACE + static unsigned powerlaws1(void) { // (x^a)^b = x^(a*b)