GNU Octave  6.2.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"
Include dependency graph for lo-specfun.cc:

Go to the source code of this file.

Namespaces

 octave
 
 octave::math
 

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(* octave::math::dptr) (const Complex &, double, int, octave_idx_type &)
 
typedef FloatComplex(* octave::math::fptr) (const FloatComplex &, float, int, octave_idx_type &)
 

Functions

Complex octave::math::airy (const Complex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::airy (const ComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::airy (const ComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::airy (const FloatComplex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::airy (const FloatComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::airy (const FloatComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
static Complex octave::math::bessel_return_value (const Complex &val, octave_idx_type ierr)
 
static FloatComplex octave::math::bessel_return_value (const FloatComplex &val, octave_idx_type ierr)
 
FloatComplexMatrix octave::math::besselh1 (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselh1 (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselh1 (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselh1 (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselh1 (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselh1 (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselh1 (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselh1 (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselh1 (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselh1 (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex octave::math::besselh1 (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::besselh1 (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselh1 (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::besselh1 (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::besselh1 (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselh1 (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselh2 (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselh2 (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselh2 (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselh2 (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselh2 (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselh2 (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselh2 (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselh2 (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselh2 (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselh2 (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex octave::math::besselh2 (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::besselh2 (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselh2 (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::besselh2 (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::besselh2 (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselh2 (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besseli (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besseli (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besseli (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besseli (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besseli (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besseli (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besseli (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besseli (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besseli (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besseli (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex octave::math::besseli (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::besseli (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besseli (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::besseli (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::besseli (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besseli (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselj (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselj (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselj (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselj (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselj (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselj (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselj (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselj (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselj (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselj (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex octave::math::besselj (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::besselj (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselj (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::besselj (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::besselj (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselj (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselk (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselk (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselk (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselk (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::besselk (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselk (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselk (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselk (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselk (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::besselk (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex octave::math::besselk (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::besselk (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::besselk (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::besselk (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::besselk (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::besselk (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::bessely (const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::bessely (const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::bessely (const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::bessely (const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexMatrix octave::math::bessely (const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::bessely (const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::bessely (const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::bessely (const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::bessely (const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexMatrix octave::math::bessely (const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex octave::math::bessely (double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::bessely (double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::bessely (double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::bessely (float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::bessely (float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::bessely (float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
Complex octave::math::biry (const Complex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
ComplexMatrix octave::math::biry (const ComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
ComplexNDArray octave::math::biry (const ComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplex octave::math::biry (const FloatComplex &z, bool deriv, bool scaled, octave_idx_type &ierr)
 
FloatComplexMatrix octave::math::biry (const FloatComplexMatrix &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
FloatComplexNDArray octave::math::biry (const FloatComplexNDArray &z, bool deriv, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplex octave::math::cbesh1 (const FloatComplex &z, float alpha, int kode, octave_idx_type &ierr)
 
static FloatComplex octave::math::cbesh2 (const FloatComplex &z, float alpha, int kode, octave_idx_type &ierr)
 
static FloatComplex octave::math::cbesi (const FloatComplex &z, float alpha, int kode, octave_idx_type &ierr)
 
static FloatComplex octave::math::cbesj (const FloatComplex &z, float alpha, int kode, octave_idx_type &ierr)
 
static FloatComplex octave::math::cbesk (const FloatComplex &z, float alpha, int kode, octave_idx_type &ierr)
 
static FloatComplex octave::math::cbesy (const FloatComplex &z, float alpha, int kode, octave_idx_type &ierr)
 
Complex octave::math::dawson (const Complex &x)
 
FloatComplex octave::math::dawson (const FloatComplex &x)
 
double octave::math::dawson (double x)
 
float octave::math::dawson (float x)
 
static ComplexMatrix octave::math::do_bessel (dptr f, const char *, const Matrix &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
static ComplexNDArray octave::math::do_bessel (dptr f, const char *, const NDArray &alpha, const Complex &x, bool scaled, Array< octave_idx_type > &ierr)
 
static ComplexMatrix octave::math::do_bessel (dptr f, const char *, const RowVector &alpha, const ComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
static Complex octave::math::do_bessel (dptr f, const char *, double alpha, const Complex &x, bool scaled, octave_idx_type &ierr)
 
static ComplexMatrix octave::math::do_bessel (dptr f, const char *, double alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
static ComplexNDArray octave::math::do_bessel (dptr f, const char *, double alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
static ComplexMatrix octave::math::do_bessel (dptr f, const char *fn, const Matrix &alpha, const ComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
static ComplexNDArray octave::math::do_bessel (dptr f, const char *fn, const NDArray &alpha, const ComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplexMatrix octave::math::do_bessel (fptr f, const char *, const FloatMatrix &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplexNDArray octave::math::do_bessel (fptr f, const char *, const FloatNDArray &alpha, const FloatComplex &x, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplexMatrix octave::math::do_bessel (fptr f, const char *, const FloatRowVector &alpha, const FloatComplexColumnVector &x, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplex octave::math::do_bessel (fptr f, const char *, float alpha, const FloatComplex &x, bool scaled, octave_idx_type &ierr)
 
static FloatComplexMatrix octave::math::do_bessel (fptr f, const char *, float alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplexNDArray octave::math::do_bessel (fptr f, const char *, float alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplexMatrix octave::math::do_bessel (fptr f, const char *fn, const FloatMatrix &alpha, const FloatComplexMatrix &x, bool scaled, Array< octave_idx_type > &ierr)
 
static FloatComplexNDArray octave::math::do_bessel (fptr f, const char *fn, const FloatNDArray &alpha, const FloatComplexNDArray &x, bool scaled, Array< octave_idx_type > &ierr)
 
static double octave::math::do_erfcinv (double x, bool refine)
 
static double octave::math::do_erfinv (double x, bool refine)
 
void octave::math::ellipj (const Complex &u, double m, Complex &sn, Complex &cn, Complex &dn, double &err)
 
void octave::math::ellipj (double u, double m, double &sn, double &cn, double &dn, double &err)
 
Complex octave::math::erf (const Complex &x)
 
FloatComplex octave::math::erf (const FloatComplex &x)
 
Complex octave::math::erfc (const Complex &x)
 
FloatComplex octave::math::erfc (const FloatComplex &x)
 
double octave::math::erfcinv (double x)
 
float octave::math::erfcinv (float x)
 
Complex octave::math::erfcx (const Complex &x)
 
FloatComplex octave::math::erfcx (const FloatComplex &x)
 
double octave::math::erfcx (double x)
 
float octave::math::erfcx (float x)
 
Complex octave::math::erfi (const Complex &x)
 
FloatComplex octave::math::erfi (const FloatComplex &x)
 
double octave::math::erfi (double x)
 
float octave::math::erfi (float x)
 
double octave::math::erfinv (double x)
 
float octave::math::erfinv (float x)
 
Complex octave::math::expm1 (const Complex &x)
 
FloatComplex octave::math::expm1 (const FloatComplex &x)
 
template<typename T >
static void octave::math::fortran_psifn (T z, octave_idx_type n, T &ans, octave_idx_type &ierr)
 
template<>
void octave::math::fortran_psifn< double > (double z, octave_idx_type n_arg, double &ans, octave_idx_type &ierr)
 
template<>
void octave::math::fortran_psifn< float > (float z, octave_idx_type n_arg, float &ans, octave_idx_type &ierr)
 
double octave::math::gamma (double x)
 
float octave::math::gamma (float x)
 
static bool octave::math::is_integer_value (double x)
 
static bool octave::math::is_integer_value (float x)
 
template<typename T >
static T octave::math::lanczos_approximation_psi (const T zc)
 
Complex octave::math::log1p (const Complex &x)
 
FloatComplex octave::math::log1p (const FloatComplex &x)
 
Complex octave::math::psi (const Complex &z)
 
FloatComplex octave::math::psi (const FloatComplex &z)
 
double octave::math::psi (double z)
 
float octave::math::psi (float z)
 
double octave::math::psi (octave_idx_type n, double z)
 
float octave::math::psi (octave_idx_type n, float z)
 
Complex octave::math::rc_lgamma (double x)
 
FloatComplex octave::math::rc_lgamma (float x)
 
Complex octave::math::rc_log1p (double x)
 
FloatComplex octave::math::rc_log1p (float x)
 
template<>
double octave::math::xlog (const double &x)
 
template<>
float octave::math::xlog (const float &x)
 
template<typename T >
static T octave::math::xlog (const T &x)
 
template<typename T >
std::complex< T > octave::math::xpsi (const std::complex< T > &z)
 
template<typename T >
octave::math::xpsi (octave_idx_type n, T z)
 
template<typename T >
octave::math::xpsi (T z)
 
static Complex octave::math::zbesh1 (const Complex &z, double alpha, int kode, octave_idx_type &ierr)
 
static Complex octave::math::zbesh2 (const Complex &z, double alpha, int kode, octave_idx_type &ierr)
 
static Complex octave::math::zbesi (const Complex &z, double alpha, int kode, octave_idx_type &ierr)
 
static Complex octave::math::zbesj (const Complex &z, double alpha, int kode, octave_idx_type &ierr)
 
static Complex octave::math::zbesk (const Complex &z, double alpha, int kode, octave_idx_type &ierr)
 
static Complex octave::math::zbesy (const Complex &z, double alpha, int kode, octave_idx_type &ierr)
 

Variables

static const double octave::math::pi = 3.14159265358979323846
 

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)
QString name
#define SS_BESSEL(name, fcn)
Definition: lo-specfun.cc:1284

Definition at line 1349 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 1349 of file lo-specfun.cc.

◆ MM_BESSEL [1/2]

#define MM_BESSEL (   name,
  fcn 
)
Value:
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 *fn, const octave_value_list &args, int nargout)
Definition: besselj.cc:84
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 1308 of file lo-specfun.cc.

◆ MM_BESSEL [2/2]

#define MM_BESSEL (   name,
  fcn 
)
Value:
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 1308 of file lo-specfun.cc.

◆ MS_BESSEL [1/2]

#define MS_BESSEL (   name,
  fcn 
)
Value:
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 1300 of file lo-specfun.cc.

◆ MS_BESSEL [2/2]

#define MS_BESSEL (   name,
  fcn 
)
Value:
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 1300 of file lo-specfun.cc.

◆ NN_BESSEL [1/2]

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

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

◆ NN_BESSEL [2/2]

#define NN_BESSEL (   name,
  fcn 
)
Value:
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 1332 of file lo-specfun.cc.

◆ NS_BESSEL [1/2]

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

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

◆ NS_BESSEL [2/2]

#define NS_BESSEL (   name,
  fcn 
)
Value:
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 1324 of file lo-specfun.cc.

◆ RC_BESSEL [1/2]

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

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

◆ RC_BESSEL [2/2]

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

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

◆ SM_BESSEL [1/2]

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

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

◆ SM_BESSEL [2/2]

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

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

◆ SN_BESSEL [1/2]

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

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

◆ SN_BESSEL [2/2]

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

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

◆ SS_BESSEL [1/2]

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

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

◆ SS_BESSEL [2/2]

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

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