26 #if ! defined (octave_lo_specfun_h)
27 #define octave_lo_specfun_h 1
29 #include "octave-config.h"
52 inline float acosh (
float x) {
return std::acoshf (
x); }
70 inline float asinh (
float x) {
return std::asinhf (
x); }
75 inline float atanh (
float x) {
return std::atanhf (
x); }
301 inline float cbrt (
float x) {
return std::cbrtf (
x); }
303 extern OCTAVE_API
double dawson (
double x);
304 extern OCTAVE_API
float dawson (
float x);
308 extern OCTAVE_API
void ellipj (
double u,
double m,
double& sn,
double& cn,
309 double& dn,
double& err);
314 inline float erf (
float x) {
return std::erff (
x); }
319 inline float erfc (
float x) {
return std::erfcf (
x); }
323 extern OCTAVE_API
double erfcinv (
double x);
324 extern OCTAVE_API
float erfcinv (
float x);
326 extern OCTAVE_API
double erfcx (
double x);
327 extern OCTAVE_API
float erfcx (
float x);
331 extern OCTAVE_API
double erfi (
double x);
332 extern OCTAVE_API
float erfi (
float x);
336 extern OCTAVE_API
double erfinv (
double x);
337 extern OCTAVE_API
float erfinv (
float x);
340 inline float expm1 (
float x) {
return std::expm1f (
x); }
344 extern OCTAVE_API
double gamma (
double x);
345 extern OCTAVE_API
float gamma (
float x);
348 inline float lgamma (
float x) {
return std::lgammaf (
x); }
351 inline float log1p (
float x) {
return std::log1pf (
x); }
355 extern OCTAVE_API
double psi (
double x);
356 extern OCTAVE_API
float psi (
float x);
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE const F77_INT F77_INT & ierr
F77_RET_T const F77_DBLE * x
Complex besselj(double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
FloatComplex acosh(const FloatComplex &x)
Complex besselh2(double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
Complex bessely(double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
void ellipj(double u, double m, double &sn, double &cn, double &dn, double &err)
Complex besselh1(double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
Complex log1p(const Complex &x)
Complex besseli(double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
Complex airy(const Complex &z, bool deriv, bool scaled, octave_idx_type &ierr)
Complex erfc(const Complex &x)
FloatComplex asinh(const FloatComplex &x)
Complex rc_log1p(double x)
Complex rc_lgamma(double x)
FloatComplex atanh(const FloatComplex &x)
Complex besselk(double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
Complex biry(const Complex &z, bool deriv, bool scaled, octave_idx_type &ierr)
Complex erf(const Complex &x)
Complex expm1(const Complex &x)
std::complex< double > Complex
std::complex< float > FloatComplex