]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.cpp
- changed function::diff() to be more tolerant by checking first if the
[ginac.git] / ginac / numeric.cpp
index bb2762a2e0cbfa58996689800f6aa077b0bd6579..1cc1fa69592e37195ca013cf38c295f98bec4ae9 100644 (file)
@@ -1084,6 +1084,14 @@ numeric gamma(numeric const & x)
 
 /** The psi function (aka polygamma function).
  *  This is only a stub! */
 
 /** The psi function (aka polygamma function).
  *  This is only a stub! */
+numeric psi(numeric const & x)
+{
+    clog << "psi(): Does anybody know good way to calculate this numerically?" << endl;
+    return numeric(0);
+}
+
+/** The psi functions (aka polygamma functions).
+ *  This is only a stub! */
 numeric psi(numeric const & n, numeric const & x)
 {
     clog << "psi(): Does anybody know good way to calculate this numerically?" << endl;
 numeric psi(numeric const & n, numeric const & x)
 {
     clog << "psi(): Does anybody know good way to calculate this numerically?" << endl;