X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fpowerlaws.cpp;h=e885369c36378f59bb0a34ea82c89ad9c6b61602;hp=9177dd709a0994fc2d263d18fa57883167322683;hb=9d22692238af9dd0875b5ed849e6ce3a3d503a87;hpb=5c0989497994b35faa9c17b18f936c21dbb22d78 diff --git a/check/powerlaws.cpp b/check/powerlaws.cpp index 9177dd70..e885369c 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 "ginac.h" +#ifndef NO_NAMESPACE_GINAC +using namespace GiNaC; +#endif // ndef NO_NAMESPACE_GINAC + static unsigned powerlaws1(void) { // (x^a)^b = x^(a*b)