Mercurial > octave-antonio
comparison liboctave/numeric/lo-specfun.h @ 20154:45565ecec019
New function psi to compute the digamma function.
* libinterp/corefcn/psi.cc: file for the new function file (implementation
is actually in lo-specfun.cc).
* liboctave/numeric/lo-specfun.cc, liboctave/numeric/lo-specfun.h: added
implementation of the digamma (psi )function. Partly based on diGamma()
from XLiFE++ 1.1 (file gammaFunctions.cpp which was previously melina++)
which is under GPL 3 or later and why D. Martin is also added to copyright.
* doc/interpreter/arith.txi: add function entry to the manual.
* libinterp/corefcn/module.mk: add file to the build system.
* NEWS: note new function.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Sun, 15 Mar 2015 03:31:16 +0000 |
parents | 4197fc428c7d |
children | 1fae49e34a1a |
comparison
equal
deleted
inserted
replaced
20151:88c0f8f56a4f | 20154:45565ecec019 |
---|---|
661 ellipj (double u, double m, double& sn, double& cn, double& dn, double& err); | 661 ellipj (double u, double m, double& sn, double& cn, double& dn, double& err); |
662 extern OCTAVE_API void | 662 extern OCTAVE_API void |
663 ellipj (const Complex& u, double m, Complex& sn, Complex& cn, Complex& dn, | 663 ellipj (const Complex& u, double m, Complex& sn, Complex& cn, Complex& dn, |
664 double& err); | 664 double& err); |
665 | 665 |
666 #endif | 666 template<class T> |
667 extern OCTAVE_API T psi (const T& z); | |
668 | |
669 #endif |