X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fnumeric.cpp;h=ef2784172107f22965381b271e2fafcd92d7bbca;hp=165ce594c106e6fd66d69415202c9fb7339c9673;hb=8d16780dbd9f4da9397e638aca213745589818c0;hpb=82288619e7818f51a557d8152455564e95b4fa93 diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp index 165ce594..ef278417 100644 --- a/ginac/numeric.cpp +++ b/ginac/numeric.cpp @@ -1063,10 +1063,18 @@ numeric atanh(numeric const & x) } /** The gamma function. - * stub stub stub stub stub stub! */ + * This is only a stub! */ numeric gamma(numeric const & x) { - clog << "gamma(): Nobody expects the Spanish inquisition" << endl; + clog << "gamma(): Does anybody know good way to calculate this numerically?" << endl; + return numeric(0); +} + +/** The psi function (aka polygamma function). + * 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; return numeric(0); }