"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ginac/inifcns.h" between
ginac-1.7.11.tar.bz2 and ginac-1.8.0.tar.bz2

About: GiNaC (GiNaC is Not a CAS (Computer Algebra System)) is a C++ library for symbolic calculations.

inifcns.h  (ginac-1.7.11.tar.bz2):inifcns.h  (ginac-1.8.0.tar.bz2)
skipping to change at line 180 skipping to change at line 180
template<typename T1, typename T2> template<typename T1, typename T2>
inline function psi(const T1 & p1, const T2 & p2) { inline function psi(const T1 & p1, const T2 & p2) {
return function(psi2_SERIAL::serial, ex(p1), ex(p2)); return function(psi2_SERIAL::serial, ex(p1), ex(p2));
} }
class psi_SERIAL; class psi_SERIAL;
template<> inline bool is_the_function<psi_SERIAL>(const ex & x) template<> inline bool is_the_function<psi_SERIAL>(const ex & x)
{ {
return is_the_function<psi1_SERIAL>(x) || is_the_function<psi2_SERIAL>(x) ; return is_the_function<psi1_SERIAL>(x) || is_the_function<psi2_SERIAL>(x) ;
} }
/** Complete elliptic integral of the first kind. */
DECLARE_FUNCTION_1P(EllipticK)
/** Complete elliptic integral of the second kind. */
DECLARE_FUNCTION_1P(EllipticE)
// overloading at work: we cannot use the macros here
/** Iterated integral. */
class iterated_integral2_SERIAL { public: static unsigned serial; };
template<typename T1, typename T2>
inline function iterated_integral(const T1& kernel_lst, const T2& lambda) {
return function(iterated_integral2_SERIAL::serial, ex(kernel_lst), ex(lam
bda));
}
/** Iterated integral with explicit truncation. */
class iterated_integral3_SERIAL { public: static unsigned serial; };
template<typename T1, typename T2, typename T3>
inline function iterated_integral(const T1& kernel_lst, const T2& lambda, const
T3& N_trunc) {
return function(iterated_integral3_SERIAL::serial, ex(kernel_lst), ex(lam
bda), ex(N_trunc));
}
class iterated_integral_SERIAL;
template<> inline bool is_the_function<iterated_integral_SERIAL>(const ex& x)
{
return is_the_function<iterated_integral2_SERIAL>(x) || is_the_function<i
terated_integral3_SERIAL>(x);
}
/** Factorial function. */ /** Factorial function. */
DECLARE_FUNCTION_1P(factorial) DECLARE_FUNCTION_1P(factorial)
/** Binomial function. */ /** Binomial function. */
DECLARE_FUNCTION_2P(binomial) DECLARE_FUNCTION_2P(binomial)
/** Order term function (for truncated power series). */ /** Order term function (for truncated power series). */
DECLARE_FUNCTION_1P(Order) DECLARE_FUNCTION_1P(Order)
ex lsolve(const ex &eqns, const ex &symbols, unsigned options = solve_algo::auto matic); ex lsolve(const ex &eqns, const ex &symbols, unsigned options = solve_algo::auto matic);
 End of changes. 1 change blocks. 
0 lines changed or deleted 29 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)