Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

functions.h

Go to the documentation of this file.
00001 00007 /* This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 */ 00021 00022 00023 #ifndef __NESTEDSUMS_FUNCTIONS_H__ 00024 #define __NESTEDSUMS_FUNCTIONS_H__ 00025 00026 #include "ginac/ginac.h" 00027 00028 namespace nestedsums { 00029 00030 // Harmonic sums 00031 // first parameter is a GiNaC::lst holding the degrees, second parameter is the index 00032 DECLARE_FUNCTION_2P(Harmonic_sum) 00033 00034 00035 // Euler-Zagier sums 00036 // first parameter is a GiNaC::lst holding the degrees, second parameter holds the index 00037 DECLARE_FUNCTION_2P(EulerZagier_sum) 00038 00039 00040 // S sums to infinity 00041 // like the nestedsums object, arguments are in same order 00042 DECLARE_FUNCTION_2P(S_sum_infinity) 00043 00044 00045 // S sums 00046 // like the nestedsums object, arguments are in same order 00047 DECLARE_FUNCTION_3P(S_sum) 00048 00049 00050 // Z sums 00051 // like the nestedsums object, arguments are in same order 00052 DECLARE_FUNCTION_3P(Z_sum) 00053 00054 00055 // converts in an expression the ginac functions to the equivalent nestedsums objects 00056 extern GiNaC::ex convert_to_nestedsums(const GiNaC::ex & e); 00057 00058 00059 // converts in an expression the nestedsums objects to the equivalent ginac functions 00060 extern GiNaC::ex convert_to_ginac_functions(const GiNaC::ex & e); 00061 00062 00063 } // namespace nestedsums 00064 00065 00066 #endif // __NESTEDSUMS_FUNCTIONS_H__ 00067

Generated on Wed Jun 10 22:59:10 2009 for Nestedsums library by doxygen 1.3.7