GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
lo-specfun.cc File Reference
#include <cmath>
#include <algorithm>
#include <limits>
#include <string>
#include "CColVector.h"
#include "CMatrix.h"
#include "CNDArray.h"
#include "Faddeeva.hh"
#include "dMatrix.h"
#include "dNDArray.h"
#include "dRowVector.h"
#include "f77-fcn.h"
#include "fCColVector.h"
#include "fCMatrix.h"
#include "fCNDArray.h"
#include "fMatrix.h"
#include "fNDArray.h"
#include "fRowVector.h"
#include "lo-amos-proto.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "lo-slatec-proto.h"
#include "lo-specfun.h"
#include "mx-inlines.cc"

Go to the source code of this file.

Macros

#define ALL_BESSEL(name, fcn)
 
#define ALL_BESSEL(name, fcn)
 
#define MM_BESSEL(name, fcn)
 
#define MM_BESSEL(name, fcn)
 
#define MS_BESSEL(name, fcn)
 
#define MS_BESSEL(name, fcn)
 
#define NN_BESSEL(name, fcn)
 
#define NN_BESSEL(name, fcn)
 
#define NS_BESSEL(name, fcn)
 
#define NS_BESSEL(name, fcn)
 
#define RC_BESSEL(name, fcn)
 
#define RC_BESSEL(name, fcn)
 
#define SM_BESSEL(name, fcn)
 
#define SM_BESSEL(name, fcn)
 
#define SN_BESSEL(name, fcn)
 
#define SN_BESSEL(name, fcn)
 
#define SS_BESSEL(name, fcn)
 
#define SS_BESSEL(name, fcn)
 

Typedefs

typedef Complex(* dptr) (const Complex &, double, int, octave_idx_type &)
 
typedef FloatComplex(* fptr) (const FloatComplex &, float, int, octave_idx_type &)
 

Functions

Complex airy (const Complex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix airy (const ComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray airy (const ComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex airy (const FloatComplex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix airy (const FloatComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray airy (const FloatComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselh1 (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselh1 (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselh1 (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselh1 (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselh1 (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselh1 (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselh1 (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselh1 (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselh1 (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselh1 (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex besselh1 (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix besselh1 (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselh1 (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex besselh1 (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix besselh1 (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselh1 (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselh2 (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselh2 (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselh2 (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselh2 (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselh2 (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselh2 (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselh2 (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselh2 (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselh2 (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselh2 (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex besselh2 (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix besselh2 (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselh2 (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex besselh2 (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix besselh2 (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselh2 (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besseli (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besseli (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besseli (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besseli (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besseli (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besseli (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besseli (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besseli (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besseli (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besseli (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex besseli (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix besseli (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besseli (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex besseli (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix besseli (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besseli (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselj (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselj (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselj (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselj (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselj (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselj (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselj (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselj (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselj (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselj (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex besselj (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix besselj (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselj (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex besselj (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix besselj (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselj (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselk (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselk (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselk (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselk (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix besselk (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselk (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselk (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselk (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselk (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix besselk (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex besselk (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix besselk (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray besselk (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex besselk (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix besselk (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray besselk (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix bessely (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix bessely (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray bessely (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray bessely (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix bessely (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix bessely (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix bessely (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray bessely (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray bessely (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix bessely (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex bessely (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix bessely (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray bessely (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex bessely (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix bessely (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray bessely (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex biry (const Complex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix biry (const ComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray biry (const ComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex biry (const FloatComplex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix biry (const FloatComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray biry (const FloatComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
Complex dawson (const Complex &x)
 
FloatComplex dawson (const FloatComplex &x)
 
double dawson (double x)
 
float dawson (float x)
 
void ellipj (const Complex &u, double m, Complex &sn, Complex &cn, Complex &dn, double &err)
 
void ellipj (double u, double m, double &sn, double &cn, double &dn, double &err)
 
Complex erf (const Complex &x)
 
FloatComplex erf (const FloatComplex &x)
 
Complex erfc (const Complex &x)
 
FloatComplex erfc (const FloatComplex &x)
 
double erfcinv (double x)
 
float erfcinv (float x)
 
Complex erfcx (const Complex &x)
 
FloatComplex erfcx (const FloatComplex &x)
 
double erfcx (double x)
 
float erfcx (float x)
 
Complex erfi (const Complex &x)
 
FloatComplex erfi (const FloatComplex &x)
 
double erfi (double x)
 
float erfi (float x)
 
double erfinv (double x)
 
float erfinv (float x)
 
Complex expm1 (const Complex &x)
 
FloatComplex expm1 (const FloatComplex &x)
 
template<>
void fortran_psifn< double > (double z, octave_idx_type n_arg, double &ans, octave_idx_type &ierr)
 
template<>
void fortran_psifn< float > (float z, octave_idx_type n_arg, float &ans, octave_idx_type &ierr)
 
double gamma (double x)
 
float gamma (float x)
 
Complex log1p (const Complex &x)
 
FloatComplex log1p (const FloatComplex &x)
 
Complex psi (const Complex &z)
 
FloatComplex psi (const FloatComplex &z)
 
double psi (double z)
 
float psi (float z)
 
double psi (octave_idx_type n, double z)
 
float psi (octave_idx_type n, float z)
 
Complex rc_lgamma (double x)
 
FloatComplex rc_lgamma (float x)
 
Complex rc_log1p (double x)
 
FloatComplex rc_log1p (float x)
 
template<>
double xlog (const double &x)
 
template<>
float xlog (const float &x)
 
template<typename T >
std::complex< T > xpsi (const std::complex< T > &z)
 
template<typename T >
xpsi (octave_idx_type n, T z)
 
template<typename T >
xpsi (T z)
 

Macro Definition Documentation

◆ ALL_BESSEL [1/2]

#define ALL_BESSEL (   name,
  fcn 
)
Value:
SS_BESSEL (name, fcn) \
SM_BESSEL (name, fcn) \
MS_BESSEL (name, fcn) \
MM_BESSEL (name, fcn) \
SN_BESSEL (name, fcn) \
NS_BESSEL (name, fcn) \
NN_BESSEL (name, fcn) \
RC_BESSEL (name, fcn)
#define SS_BESSEL(name, fcn)
Definition: lo-specfun.cc:1258

Definition at line 1323 of file lo-specfun.cc.

◆ ALL_BESSEL [2/2]

#define ALL_BESSEL (   name,
  fcn 
)
Value:
SS_BESSEL (name, fcn) \
SM_BESSEL (name, fcn) \
MS_BESSEL (name, fcn) \
MM_BESSEL (name, fcn) \
SN_BESSEL (name, fcn) \
NS_BESSEL (name, fcn) \
NN_BESSEL (name, fcn) \
RC_BESSEL (name, fcn)

Definition at line 1323 of file lo-specfun.cc.

◆ MM_BESSEL [1/2]

#define MM_BESSEL (   name,
  fcn 
)
Value:
ComplexMatrix \
name (const Matrix& alpha, const ComplexMatrix& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}
octave_value_list do_bessel(enum bessel_type type, const char *fcn, const octave_value_list &args, int nargout)
Definition: besselj.cc:86
Definition: dMatrix.h:42
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE const F77_INT F77_INT & ierr
F77_RET_T const F77_DBLE * x

Definition at line 1282 of file lo-specfun.cc.

◆ MM_BESSEL [2/2]

#define MM_BESSEL (   name,
  fcn 
)
Value:
FloatComplexMatrix \
name (const FloatMatrix& alpha, const FloatComplexMatrix& x, \
bool scaled, Array<octave_idx_type>& ierr) \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1282 of file lo-specfun.cc.

◆ MS_BESSEL [1/2]

#define MS_BESSEL (   name,
  fcn 
)
Value:
ComplexMatrix \
name (const Matrix& alpha, const Complex& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}
std::complex< double > Complex
Definition: oct-cmplx.h:33

Definition at line 1274 of file lo-specfun.cc.

◆ MS_BESSEL [2/2]

#define MS_BESSEL (   name,
  fcn 
)
Value:
FloatComplexMatrix \
name (const FloatMatrix& alpha, const FloatComplex& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}
std::complex< float > FloatComplex
Definition: oct-cmplx.h:34

Definition at line 1274 of file lo-specfun.cc.

◆ NN_BESSEL [1/2]

#define NN_BESSEL (   name,
  fcn 
)
Value:
ComplexNDArray \
name (const NDArray& alpha, const ComplexNDArray& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1306 of file lo-specfun.cc.

◆ NN_BESSEL [2/2]

#define NN_BESSEL (   name,
  fcn 
)
Value:
FloatComplexNDArray \
name (const FloatNDArray& alpha, const FloatComplexNDArray& x, \
bool scaled, Array<octave_idx_type>& ierr) \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1306 of file lo-specfun.cc.

◆ NS_BESSEL [1/2]

#define NS_BESSEL (   name,
  fcn 
)
Value:
ComplexNDArray \
name (const NDArray& alpha, const Complex& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1298 of file lo-specfun.cc.

◆ NS_BESSEL [2/2]

#define NS_BESSEL (   name,
  fcn 
)
Value:
FloatComplexNDArray \
name (const FloatNDArray& alpha, const FloatComplex& x, \
bool scaled, Array<octave_idx_type>& ierr) \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1298 of file lo-specfun.cc.

◆ RC_BESSEL [1/2]

#define RC_BESSEL (   name,
  fcn 
)
Value:
ComplexMatrix \
name (const RowVector& alpha, const ComplexColumnVector& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1314 of file lo-specfun.cc.

◆ RC_BESSEL [2/2]

#define RC_BESSEL (   name,
  fcn 
)
Value:
FloatComplexMatrix \
name (const FloatRowVector& alpha, \
const FloatComplexColumnVector& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1314 of file lo-specfun.cc.

◆ SM_BESSEL [1/2]

#define SM_BESSEL (   name,
  fcn 
)
Value:
ComplexMatrix \
name (double alpha, const ComplexMatrix& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1266 of file lo-specfun.cc.

◆ SM_BESSEL [2/2]

#define SM_BESSEL (   name,
  fcn 
)
Value:
FloatComplexMatrix \
name (float alpha, const FloatComplexMatrix& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1266 of file lo-specfun.cc.

◆ SN_BESSEL [1/2]

#define SN_BESSEL (   name,
  fcn 
)
Value:
ComplexNDArray \
name (double alpha, const ComplexNDArray& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1290 of file lo-specfun.cc.

◆ SN_BESSEL [2/2]

#define SN_BESSEL (   name,
  fcn 
)
Value:
FloatComplexNDArray \
name (float alpha, const FloatComplexNDArray& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1290 of file lo-specfun.cc.

◆ SS_BESSEL [1/2]

#define SS_BESSEL (   name,
  fcn 
)
Value:
Complex \
name (double alpha, const Complex& x, bool scaled, octave_idx_type& ierr) \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1258 of file lo-specfun.cc.

◆ SS_BESSEL [2/2]

#define SS_BESSEL (   name,
  fcn 
)
Value:
FloatComplex \
name (float alpha, const FloatComplex& x, bool scaled, \
{ \
return do_bessel (fcn, #name, alpha, x, scaled, ierr); \
}

Definition at line 1258 of file lo-specfun.cc.

Typedef Documentation

◆ dptr

typedef Complex(* dptr) (const Complex &, double, int, octave_idx_type &)

Definition at line 563 of file lo-specfun.cc.

◆ fptr

typedef FloatComplex(* fptr) (const FloatComplex &, float, int, octave_idx_type &)

Definition at line 1102 of file lo-specfun.cc.

Function Documentation

◆ airy() [1/6]

Complex airy ( const Complex z,
bool  deriv,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 129 of file lo-specfun.cc.

References F77_FUNC(), ierr, and zairy().

Referenced by airy(), and Fairy().

◆ airy() [2/6]

ComplexMatrix airy ( const ComplexMatrix z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 152 of file lo-specfun.cc.

References airy(), Array< T, Alloc >::cols(), ierr, and Array< T, Alloc >::rows().

◆ airy() [3/6]

ComplexNDArray airy ( const ComplexNDArray z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 170 of file lo-specfun.cc.

References airy(), Array< T, Alloc >::dims(), ierr, and dim_vector::numel().

◆ airy() [4/6]

FloatComplex airy ( const FloatComplex z,
bool  deriv,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 186 of file lo-specfun.cc.

References cairy(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_FUNC(), and ierr.

◆ airy() [5/6]

FloatComplexMatrix airy ( const FloatComplexMatrix z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 210 of file lo-specfun.cc.

References airy(), Array< T, Alloc >::cols(), ierr, and Array< T, Alloc >::rows().

◆ airy() [6/6]

FloatComplexNDArray airy ( const FloatComplexNDArray z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 228 of file lo-specfun.cc.

References airy(), Array< T, Alloc >::dims(), ierr, and dim_vector::numel().

◆ besselh1() [1/16]

FloatComplexMatrix besselh1 ( const FloatMatrix alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh1() [2/16]

FloatComplexMatrix besselh1 ( const FloatMatrix alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh1() [3/16]

FloatComplexNDArray besselh1 ( const FloatNDArray alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh1() [4/16]

FloatComplexNDArray besselh1 ( const FloatNDArray alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh1() [5/16]

FloatComplexMatrix besselh1 ( const FloatRowVector alpha,
const FloatComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh1() [6/16]

ComplexMatrix besselh1 ( const Matrix alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [7/16]

ComplexMatrix besselh1 ( const Matrix alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [8/16]

ComplexNDArray besselh1 ( const NDArray alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [9/16]

ComplexNDArray besselh1 ( const NDArray alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [10/16]

ComplexMatrix besselh1 ( const RowVector alpha,
const ComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [11/16]

Complex besselh1 ( double  alpha,
const Complex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [12/16]

ComplexMatrix besselh1 ( double  alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [13/16]

ComplexNDArray besselh1 ( double  alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 792 of file lo-specfun.cc.

◆ besselh1() [14/16]

FloatComplex besselh1 ( float  alpha,
const FloatComplex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh1() [15/16]

FloatComplexMatrix besselh1 ( float  alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh1() [16/16]

FloatComplexNDArray besselh1 ( float  alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1337 of file lo-specfun.cc.

◆ besselh2() [1/16]

FloatComplexMatrix besselh2 ( const FloatMatrix alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besselh2() [2/16]

FloatComplexMatrix besselh2 ( const FloatMatrix alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besselh2() [3/16]

FloatComplexNDArray besselh2 ( const FloatNDArray alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besselh2() [4/16]

FloatComplexNDArray besselh2 ( const FloatNDArray alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besselh2() [5/16]

FloatComplexMatrix besselh2 ( const FloatRowVector alpha,
const FloatComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besselh2() [6/16]

ComplexMatrix besselh2 ( const Matrix alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [7/16]

ComplexMatrix besselh2 ( const Matrix alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [8/16]

ComplexNDArray besselh2 ( const NDArray alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [9/16]

ComplexNDArray besselh2 ( const NDArray alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [10/16]

ComplexMatrix besselh2 ( const RowVector alpha,
const ComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [11/16]

Complex besselh2 ( double  alpha,
const Complex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [12/16]

ComplexMatrix besselh2 ( double  alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [13/16]

ComplexNDArray besselh2 ( double  alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 793 of file lo-specfun.cc.

◆ besselh2() [14/16]

FloatComplex besselh2 ( float  alpha,
const FloatComplex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besselh2() [15/16]

FloatComplexMatrix besselh2 ( float  alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besselh2() [16/16]

FloatComplexNDArray besselh2 ( float  alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1338 of file lo-specfun.cc.

◆ besseli() [1/16]

FloatComplexMatrix besseli ( const FloatMatrix alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besseli() [2/16]

FloatComplexMatrix besseli ( const FloatMatrix alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besseli() [3/16]

FloatComplexNDArray besseli ( const FloatNDArray alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besseli() [4/16]

FloatComplexNDArray besseli ( const FloatNDArray alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besseli() [5/16]

FloatComplexMatrix besseli ( const FloatRowVector alpha,
const FloatComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besseli() [6/16]

ComplexMatrix besseli ( const Matrix alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [7/16]

ComplexMatrix besseli ( const Matrix alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [8/16]

ComplexNDArray besseli ( const NDArray alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [9/16]

ComplexNDArray besseli ( const NDArray alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [10/16]

ComplexMatrix besseli ( const RowVector alpha,
const ComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [11/16]

Complex besseli ( double  alpha,
const Complex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [12/16]

ComplexMatrix besseli ( double  alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [13/16]

ComplexNDArray besseli ( double  alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 790 of file lo-specfun.cc.

◆ besseli() [14/16]

FloatComplex besseli ( float  alpha,
const FloatComplex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besseli() [15/16]

FloatComplexMatrix besseli ( float  alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besseli() [16/16]

FloatComplexNDArray besseli ( float  alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1335 of file lo-specfun.cc.

◆ besselj() [1/16]

FloatComplexMatrix besselj ( const FloatMatrix alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselj() [2/16]

FloatComplexMatrix besselj ( const FloatMatrix alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselj() [3/16]

FloatComplexNDArray besselj ( const FloatNDArray alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselj() [4/16]

FloatComplexNDArray besselj ( const FloatNDArray alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselj() [5/16]

FloatComplexMatrix besselj ( const FloatRowVector alpha,
const FloatComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselj() [6/16]

ComplexMatrix besselj ( const Matrix alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [7/16]

ComplexMatrix besselj ( const Matrix alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [8/16]

ComplexNDArray besselj ( const NDArray alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [9/16]

ComplexNDArray besselj ( const NDArray alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [10/16]

ComplexMatrix besselj ( const RowVector alpha,
const ComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [11/16]

Complex besselj ( double  alpha,
const Complex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [12/16]

ComplexMatrix besselj ( double  alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [13/16]

ComplexNDArray besselj ( double  alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 788 of file lo-specfun.cc.

◆ besselj() [14/16]

FloatComplex besselj ( float  alpha,
const FloatComplex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselj() [15/16]

FloatComplexMatrix besselj ( float  alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselj() [16/16]

FloatComplexNDArray besselj ( float  alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1333 of file lo-specfun.cc.

◆ besselk() [1/16]

FloatComplexMatrix besselk ( const FloatMatrix alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ besselk() [2/16]

FloatComplexMatrix besselk ( const FloatMatrix alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ besselk() [3/16]

FloatComplexNDArray besselk ( const FloatNDArray alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ besselk() [4/16]

FloatComplexNDArray besselk ( const FloatNDArray alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ besselk() [5/16]

FloatComplexMatrix besselk ( const FloatRowVector alpha,
const FloatComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ besselk() [6/16]

ComplexMatrix besselk ( const Matrix alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [7/16]

ComplexMatrix besselk ( const Matrix alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [8/16]

ComplexNDArray besselk ( const NDArray alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [9/16]

ComplexNDArray besselk ( const NDArray alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [10/16]

ComplexMatrix besselk ( const RowVector alpha,
const ComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [11/16]

Complex besselk ( double  alpha,
const Complex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [12/16]

ComplexMatrix besselk ( double  alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [13/16]

ComplexNDArray besselk ( double  alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 791 of file lo-specfun.cc.

◆ besselk() [14/16]

FloatComplex besselk ( float  alpha,
const FloatComplex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ besselk() [15/16]

FloatComplexMatrix besselk ( float  alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ besselk() [16/16]

FloatComplexNDArray besselk ( float  alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1336 of file lo-specfun.cc.

◆ bessely() [1/16]

FloatComplexMatrix bessely ( const FloatMatrix alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ bessely() [2/16]

FloatComplexMatrix bessely ( const FloatMatrix alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ bessely() [3/16]

FloatComplexNDArray bessely ( const FloatNDArray alpha,
const FloatComplex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ bessely() [4/16]

FloatComplexNDArray bessely ( const FloatNDArray alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ bessely() [5/16]

FloatComplexMatrix bessely ( const FloatRowVector alpha,
const FloatComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ bessely() [6/16]

ComplexMatrix bessely ( const Matrix alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [7/16]

ComplexMatrix bessely ( const Matrix alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [8/16]

ComplexNDArray bessely ( const NDArray alpha,
const Complex x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [9/16]

ComplexNDArray bessely ( const NDArray alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [10/16]

ComplexMatrix bessely ( const RowVector alpha,
const ComplexColumnVector x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [11/16]

Complex bessely ( double  alpha,
const Complex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [12/16]

ComplexMatrix bessely ( double  alpha,
const ComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [13/16]

ComplexNDArray bessely ( double  alpha,
const ComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 789 of file lo-specfun.cc.

◆ bessely() [14/16]

FloatComplex bessely ( float  alpha,
const FloatComplex x,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ bessely() [15/16]

FloatComplexMatrix bessely ( float  alpha,
const FloatComplexMatrix x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ bessely() [16/16]

FloatComplexNDArray bessely ( float  alpha,
const FloatComplexNDArray x,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1334 of file lo-specfun.cc.

◆ biry() [1/6]

Complex biry ( const Complex z,
bool  deriv,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1351 of file lo-specfun.cc.

References F77_FUNC(), ierr, and zbiry().

Referenced by biry(), and Fairy().

◆ biry() [2/6]

ComplexMatrix biry ( const ComplexMatrix z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1374 of file lo-specfun.cc.

References biry(), Array< T, Alloc >::cols(), ierr, and Array< T, Alloc >::rows().

◆ biry() [3/6]

ComplexNDArray biry ( const ComplexNDArray z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1392 of file lo-specfun.cc.

References biry(), Array< T, Alloc >::dims(), ierr, and dim_vector::numel().

◆ biry() [4/6]

FloatComplex biry ( const FloatComplex z,
bool  deriv,
bool  scaled,
octave_idx_type ierr 
)

Definition at line 1408 of file lo-specfun.cc.

References cbiry(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_FUNC(), and ierr.

◆ biry() [5/6]

FloatComplexMatrix biry ( const FloatComplexMatrix z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1432 of file lo-specfun.cc.

References biry(), Array< T, Alloc >::cols(), ierr, and Array< T, Alloc >::rows().

◆ biry() [6/6]

FloatComplexNDArray biry ( const FloatComplexNDArray z,
bool  deriv,
bool  scaled,
Array< octave_idx_type > &  ierr 
)

Definition at line 1450 of file lo-specfun.cc.

References biry(), Array< T, Alloc >::dims(), ierr, and dim_vector::numel().

◆ dawson() [1/4]

Complex dawson ( const Complex x)

Definition at line 1472 of file lo-specfun.cc.

References Faddeeva::Dawson(), and x.

◆ dawson() [2/4]

FloatComplex dawson ( const FloatComplex x)

Definition at line 1478 of file lo-specfun.cc.

References Faddeeva::Dawson(), and x.

◆ dawson() [3/4]

double dawson ( double  x)

Definition at line 1467 of file lo-specfun.cc.

References Faddeeva::Dawson(), and x.

Referenced by Fdawson().

◆ dawson() [4/4]

float dawson ( float  x)

Definition at line 1469 of file lo-specfun.cc.

References Faddeeva::Dawson(), and x.

◆ ellipj() [1/2]

void ellipj ( const Complex u,
double  m,
Complex sn,
Complex cn,
Complex dn,
double &  err 
)

Definition at line 1560 of file lo-specfun.cc.

References ellipj(), and m.

◆ ellipj() [2/2]

void ellipj ( double  u,
double  m,
double &  sn,
double &  cn,
double &  dn,
double &  err 
)

Definition at line 1487 of file lo-specfun.cc.

References asin(), lo_ieee_nan_value(), m, and n.

Referenced by ellipj(), and Fellipj().

◆ erf() [1/2]

Complex erf ( const Complex x)

Definition at line 1588 of file lo-specfun.cc.

References Faddeeva::erf(), and x.

◆ erf() [2/2]

FloatComplex erf ( const FloatComplex x)

Definition at line 1594 of file lo-specfun.cc.

References Faddeeva::erf(), and x.

◆ erfc() [1/2]

Complex erfc ( const Complex x)

Definition at line 1603 of file lo-specfun.cc.

References Faddeeva::erfc(), and x.

◆ erfc() [2/2]

FloatComplex erfc ( const FloatComplex x)

Definition at line 1609 of file lo-specfun.cc.

References Faddeeva::erfc(), and x.

◆ erfcinv() [1/2]

double erfcinv ( double  x)

Definition at line 1697 of file lo-specfun.cc.

Referenced by Ferfcinv().

◆ erfcinv() [2/2]

float erfcinv ( float  x)

Definition at line 1703 of file lo-specfun.cc.

◆ erfcx() [1/4]

Complex erfcx ( const Complex x)

Definition at line 1715 of file lo-specfun.cc.

References Faddeeva::erfcx(), and x.

◆ erfcx() [2/4]

FloatComplex erfcx ( const FloatComplex x)

Definition at line 1721 of file lo-specfun.cc.

References Faddeeva::erfcx(), and x.

◆ erfcx() [3/4]

double erfcx ( double  x)

Definition at line 1710 of file lo-specfun.cc.

References Faddeeva::erfcx(), and x.

◆ erfcx() [4/4]

float erfcx ( float  x)

Definition at line 1712 of file lo-specfun.cc.

References Faddeeva::erfcx(), and x.

◆ erfi() [1/4]

Complex erfi ( const Complex x)

Definition at line 1736 of file lo-specfun.cc.

References Faddeeva::erfi(), and x.

◆ erfi() [2/4]

FloatComplex erfi ( const FloatComplex x)

Definition at line 1742 of file lo-specfun.cc.

References Faddeeva::erfi(), and x.

◆ erfi() [3/4]

double erfi ( double  x)

Definition at line 1731 of file lo-specfun.cc.

References Faddeeva::erfi(), and x.

◆ erfi() [4/4]

float erfi ( float  x)

Definition at line 1733 of file lo-specfun.cc.

References Faddeeva::erfi(), and x.

◆ erfinv() [1/2]

double erfinv ( double  x)

Definition at line 1823 of file lo-specfun.cc.

Referenced by Ferfinv().

◆ erfinv() [2/2]

float erfinv ( float  x)

Definition at line 1829 of file lo-specfun.cc.

◆ expm1() [1/2]

Complex expm1 ( const Complex x)

Definition at line 1835 of file lo-specfun.cc.

Referenced by Fexpm1().

◆ expm1() [2/2]

FloatComplex expm1 ( const FloatComplex x)

Definition at line 1854 of file lo-specfun.cc.

◆ fortran_psifn< double >()

template<>
void fortran_psifn< double > ( double  z,
octave_idx_type  n_arg,
double &  ans,
octave_idx_type ierr 
)
inline

Definition at line 2121 of file lo-specfun.cc.

References dpsifn(), F77_XFCN, ierr, and n.

◆ fortran_psifn< float >()

template<>
void fortran_psifn< float > ( float  z,
octave_idx_type  n_arg,
float &  ans,
octave_idx_type ierr 
)
inline

Definition at line 2133 of file lo-specfun.cc.

References F77_XFCN, ierr, n, and psifn().

◆ gamma() [1/2]

double gamma ( double  x)

Definition at line 1873 of file lo-specfun.cc.

References Inf, isinf(), isnan(), NaN, negative_sign(), x, and x_nint().

Referenced by xpsi().

◆ gamma() [2/2]

float gamma ( float  x)

Definition at line 1896 of file lo-specfun.cc.

References Inf, isinf(), isnan(), NaN, negative_sign(), x, and x_nint().

◆ log1p() [1/2]

Complex log1p ( const Complex x)

Definition at line 1919 of file lo-specfun.cc.

References r, and x.

Referenced by Flog1p(), log1p(), and rc_log1p().

◆ log1p() [2/2]

FloatComplex log1p ( const FloatComplex x)

Definition at line 1938 of file lo-specfun.cc.

References log1p(), r, and x.

◆ psi() [1/6]

Complex psi ( const Complex z)

Definition at line 2112 of file lo-specfun.cc.

References xpsi().

◆ psi() [2/6]

FloatComplex psi ( const FloatComplex z)

Definition at line 2114 of file lo-specfun.cc.

References xpsi().

◆ psi() [3/6]

double psi ( double  z)

Definition at line 2061 of file lo-specfun.cc.

References xpsi().

Referenced by ddastp(), ddstp(), filter(), and xpsi().

◆ psi() [4/6]

float psi ( float  z)

Definition at line 2063 of file lo-specfun.cc.

References xpsi().

◆ psi() [5/6]

double psi ( octave_idx_type  n,
double  z 
)

Definition at line 2172 of file lo-specfun.cc.

References n, and xpsi().

◆ psi() [6/6]

float psi ( octave_idx_type  n,
float  z 
)

Definition at line 2174 of file lo-specfun.cc.

References n, and xpsi().

◆ rc_lgamma() [1/2]

Complex rc_lgamma ( double  x)

Definition at line 2177 of file lo-specfun.cc.

References lgamma(), and x.

◆ rc_lgamma() [2/2]

FloatComplex rc_lgamma ( float  x)

Definition at line 2196 of file lo-specfun.cc.

References x.

◆ rc_log1p() [1/2]

Complex rc_log1p ( double  x)

Definition at line 2215 of file lo-specfun.cc.

References log1p(), and x.

◆ rc_log1p() [2/2]

FloatComplex rc_log1p ( float  x)

Definition at line 2223 of file lo-specfun.cc.

References log1p(), and x.

◆ xlog() [1/2]

template<>
double xlog ( const double &  x)
inline

Definition at line 1967 of file lo-specfun.cc.

References x.

◆ xlog() [2/2]

template<>
float xlog ( const float &  x)
inline

Definition at line 1974 of file lo-specfun.cc.

References x.

◆ xpsi() [1/3]

template<typename T >
std::complex<T> xpsi ( const std::complex< T > &  z)

Definition at line 2067 of file lo-specfun.cc.

References psi().

◆ xpsi() [2/3]

template<typename T >
T xpsi ( octave_idx_type  n,
z 
)

Definition at line 2146 of file lo-specfun.cc.

References gamma(), ierr, Inf, n, NaN, and pow().

◆ xpsi() [3/3]

template<typename T >
T xpsi ( z)

Definition at line 2008 of file lo-specfun.cc.

References floor(), Inf, and psi().

Referenced by psi().