comparison liboctave/numeric/lo-specfun.h @ 31607:aac27ad79be6 stable

maint: Re-indent code after switch to using namespace macros. * build-env.h, build-env.in.cc, Cell.h, __betainc__.cc, __eigs__.cc, __ftp__.cc, __ichol__.cc, __ilu__.cc, __isprimelarge__.cc, __magick_read__.cc, __pchip_deriv__.cc, amd.cc, base-text-renderer.cc, base-text-renderer.h, besselj.cc, bitfcns.cc, bsxfun.cc, c-file-ptr-stream.h, call-stack.cc, call-stack.h, ccolamd.cc, cellfun.cc, chol.cc, colamd.cc, dasrt.cc, data.cc, debug.cc, defaults.cc, defaults.h, det.cc, display.cc, display.h, dlmread.cc, dynamic-ld.cc, dynamic-ld.h, ellipj.cc, environment.cc, environment.h, error.cc, error.h, errwarn.h, event-manager.cc, event-manager.h, event-queue.cc, event-queue.h, fcn-info.cc, fcn-info.h, fft.cc, fft2.cc, file-io.cc, filter.cc, find.cc, ft-text-renderer.cc, ft-text-renderer.h, gcd.cc, gl-render.cc, gl-render.h, gl2ps-print.cc, gl2ps-print.h, graphics-toolkit.cc, graphics-toolkit.h, graphics.cc, gsvd.cc, gtk-manager.cc, gtk-manager.h, help.cc, help.h, hook-fcn.cc, hook-fcn.h, input.cc, input.h, interpreter-private.cc, interpreter-private.h, interpreter.cc, interpreter.h, inv.cc, jsondecode.cc, jsonencode.cc, latex-text-renderer.cc, latex-text-renderer.h, load-path.cc, load-path.h, load-save.cc, load-save.h, lookup.cc, ls-hdf5.cc, ls-mat4.cc, ls-mat5.cc, lsode.cc, lu.cc, mappers.cc, matrix_type.cc, max.cc, mex.cc, mexproto.h, mxarray.h, mxtypes.in.h, oct-errno.in.cc, oct-hdf5-types.cc, oct-hist.cc, oct-hist.h, oct-map.cc, oct-map.h, oct-opengl.h, oct-prcstrm.h, oct-process.cc, oct-process.h, oct-stdstrm.h, oct-stream.cc, oct-stream.h, oct-strstrm.h, octave-default-image.h, ordqz.cc, ordschur.cc, pager.cc, pager.h, pinv.cc, pow2.cc, pr-output.cc, psi.cc, qr.cc, quadcc.cc, rand.cc, regexp.cc, settings.cc, settings.h, sighandlers.cc, sighandlers.h, sparse-xpow.cc, sqrtm.cc, stack-frame.cc, stack-frame.h, stream-euler.cc, strfns.cc, svd.cc, syminfo.cc, syminfo.h, symrcm.cc, symrec.cc, symrec.h, symscope.cc, symscope.h, symtab.cc, symtab.h, sysdep.cc, sysdep.h, text-engine.cc, text-engine.h, text-renderer.cc, text-renderer.h, time.cc, toplev.cc, typecast.cc, url-handle-manager.cc, url-handle-manager.h, urlwrite.cc, utils.cc, utils.h, variables.cc, variables.h, xdiv.cc, __delaunayn__.cc, __init_fltk__.cc, __init_gnuplot__.cc, __ode15__.cc, __voronoi__.cc, audioread.cc, convhulln.cc, gzip.cc, cdef-class.cc, cdef-class.h, cdef-fwd.h, cdef-manager.cc, cdef-manager.h, cdef-method.cc, cdef-method.h, cdef-object.cc, cdef-object.h, cdef-package.cc, cdef-package.h, cdef-property.cc, cdef-property.h, cdef-utils.cc, cdef-utils.h, ov-base-diag.cc, ov-base-int.cc, ov-base-mat.cc, ov-base-mat.h, ov-base-scalar.cc, ov-base.cc, ov-base.h, ov-bool-mat.cc, ov-bool-mat.h, ov-bool-sparse.cc, ov-bool.cc, ov-builtin.h, ov-cell.cc, ov-ch-mat.cc, ov-class.cc, ov-class.h, ov-classdef.cc, ov-classdef.h, ov-complex.cc, ov-cx-diag.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-dld-fcn.cc, ov-dld-fcn.h, ov-fcn-handle.cc, ov-fcn-handle.h, ov-fcn.h, ov-float.cc, ov-flt-complex.cc, ov-flt-cx-diag.cc, ov-flt-cx-mat.cc, ov-flt-re-diag.cc, ov-flt-re-mat.cc, ov-flt-re-mat.h, ov-intx.h, ov-java.cc, ov-lazy-idx.cc, ov-legacy-range.cc, ov-magic-int.cc, ov-mex-fcn.cc, ov-mex-fcn.h, ov-null-mat.cc, ov-perm.cc, ov-range.cc, ov-re-diag.cc, ov-re-mat.cc, ov-re-mat.h, ov-re-sparse.cc, ov-scalar.cc, ov-str-mat.cc, ov-struct.cc, ov-typeinfo.cc, ov-typeinfo.h, ov-usr-fcn.cc, ov-usr-fcn.h, ov.cc, ov.h, ovl.h, octave.cc, octave.h, op-b-sbm.cc, op-bm-sbm.cc, op-cs-scm.cc, op-fm-fcm.cc, op-fs-fcm.cc, op-s-scm.cc, op-scm-cs.cc, op-scm-s.cc, op-sm-cs.cc, ops.h, anon-fcn-validator.cc, anon-fcn-validator.h, bp-table.cc, bp-table.h, comment-list.cc, comment-list.h, filepos.h, lex.h, oct-lvalue.cc, oct-lvalue.h, parse.h, profiler.cc, profiler.h, pt-anon-scopes.cc, pt-anon-scopes.h, pt-arg-list.cc, pt-arg-list.h, pt-args-block.cc, pt-args-block.h, pt-array-list.cc, pt-array-list.h, pt-assign.cc, pt-assign.h, pt-binop.cc, pt-binop.h, pt-bp.cc, pt-bp.h, pt-cbinop.cc, pt-cbinop.h, pt-cell.cc, pt-cell.h, pt-check.cc, pt-check.h, pt-classdef.cc, pt-classdef.h, pt-cmd.h, pt-colon.cc, pt-colon.h, pt-const.cc, pt-const.h, pt-decl.cc, pt-decl.h, pt-eval.cc, pt-eval.h, pt-except.cc, pt-except.h, pt-exp.cc, pt-exp.h, pt-fcn-handle.cc, pt-fcn-handle.h, pt-id.cc, pt-id.h, pt-idx.cc, pt-idx.h, pt-jump.h, pt-loop.cc, pt-loop.h, pt-mat.cc, pt-mat.h, pt-misc.cc, pt-misc.h, pt-pr-code.cc, pt-pr-code.h, pt-select.cc, pt-select.h, pt-spmd.cc, pt-spmd.h, pt-stmt.cc, pt-stmt.h, pt-tm-const.cc, pt-tm-const.h, pt-unop.cc, pt-unop.h, pt-walk.cc, pt-walk.h, pt.cc, pt.h, token.cc, token.h, Range.cc, Range.h, idx-vector.cc, idx-vector.h, range-fwd.h, CollocWt.cc, CollocWt.h, aepbalance.cc, aepbalance.h, chol.cc, chol.h, gepbalance.cc, gepbalance.h, gsvd.cc, gsvd.h, hess.cc, hess.h, lo-mappers.cc, lo-mappers.h, lo-specfun.cc, lo-specfun.h, lu.cc, lu.h, oct-convn.cc, oct-convn.h, oct-fftw.cc, oct-fftw.h, oct-norm.cc, oct-norm.h, oct-rand.cc, oct-rand.h, oct-spparms.cc, oct-spparms.h, qr.cc, qr.h, qrp.cc, qrp.h, randgamma.cc, randgamma.h, randmtzig.cc, randmtzig.h, randpoisson.cc, randpoisson.h, schur.cc, schur.h, sparse-chol.cc, sparse-chol.h, sparse-lu.cc, sparse-lu.h, sparse-qr.cc, sparse-qr.h, svd.cc, svd.h, child-list.cc, child-list.h, dir-ops.cc, dir-ops.h, file-ops.cc, file-ops.h, file-stat.cc, file-stat.h, lo-sysdep.cc, lo-sysdep.h, lo-sysinfo.cc, lo-sysinfo.h, mach-info.cc, mach-info.h, oct-env.cc, oct-env.h, oct-group.cc, oct-group.h, oct-password.cc, oct-password.h, oct-syscalls.cc, oct-syscalls.h, oct-time.cc, oct-time.h, oct-uname.cc, oct-uname.h, action-container.cc, action-container.h, base-list.h, cmd-edit.cc, cmd-edit.h, cmd-hist.cc, cmd-hist.h, f77-fcn.h, file-info.cc, file-info.h, lo-array-errwarn.cc, lo-array-errwarn.h, lo-hash.cc, lo-hash.h, lo-ieee.h, lo-regexp.cc, lo-regexp.h, lo-utils.cc, lo-utils.h, oct-base64.cc, oct-base64.h, oct-glob.cc, oct-glob.h, oct-inttypes.h, oct-mutex.cc, oct-mutex.h, oct-refcount.h, oct-shlib.cc, oct-shlib.h, oct-sparse.cc, oct-sparse.h, oct-string.h, octave-preserve-stream-state.h, pathsearch.cc, pathsearch.h, quit.cc, quit.h, unwind-prot.cc, unwind-prot.h, url-transfer.cc, url-transfer.h: Re-indent code after switch to using namespace macros.
author Rik <rik@octave.org>
date Thu, 01 Dec 2022 18:02:15 -0800
parents e88a07dec498
children 597f3ee61a48
comparison
equal deleted inserted replaced
31605:e88a07dec498 31607:aac27ad79be6
35 35
36 OCTAVE_BEGIN_NAMESPACE(octave) 36 OCTAVE_BEGIN_NAMESPACE(octave)
37 37
38 OCTAVE_BEGIN_NAMESPACE(math) 38 OCTAVE_BEGIN_NAMESPACE(math)
39 39
40 inline double acosh (double x) { return std::acosh (x); } 40 inline double acosh (double x) { return std::acosh (x); }
41 inline float acosh (float x) { return std::acoshf (x); } 41 inline float acosh (float x) { return std::acoshf (x); }
42 inline Complex acosh (const Complex& x) { return std::acosh (x); } 42 inline Complex acosh (const Complex& x) { return std::acosh (x); }
43 inline FloatComplex acosh (const FloatComplex& x) { return std::acosh (x); } 43 inline FloatComplex acosh (const FloatComplex& x) { return std::acosh (x); }
44 44
45 extern OCTAVE_API Complex airy (const Complex& z, bool deriv, bool scaled, 45 extern OCTAVE_API Complex airy (const Complex& z, bool deriv, bool scaled,
46 octave_idx_type& ierr);
47 extern OCTAVE_API ComplexMatrix airy (const ComplexMatrix& z, bool deriv,
48 bool scaled, Array<octave_idx_type>& ierr);
49 extern OCTAVE_API ComplexNDArray airy (const ComplexNDArray& z, bool deriv,
50 bool scaled, Array<octave_idx_type>& ierr);
51 extern OCTAVE_API FloatComplex airy (const FloatComplex& z, bool deriv,
52 bool scaled, octave_idx_type& ierr);
53 extern OCTAVE_API FloatComplexMatrix airy (const FloatComplexMatrix& z,
54 bool deriv, bool scaled, Array<octave_idx_type>& ierr);
55 extern OCTAVE_API FloatComplexNDArray airy (const FloatComplexNDArray& z,
56 bool deriv, bool scaled, Array<octave_idx_type>& ierr);
57
58 inline double asinh (double x) { return std::asinh (x); }
59 inline float asinh (float x) { return std::asinhf (x); }
60 inline Complex asinh (const Complex& x) { return std::asinh (x); }
61 inline FloatComplex asinh (const FloatComplex& x) { return std::asinh (x); }
62
63 inline double atanh (double x) { return std::atanh (x); }
64 inline float atanh (float x) { return std::atanhf (x); }
65 inline Complex atanh (const Complex& x) { return std::atanh (x); }
66 inline FloatComplex atanh (const FloatComplex& x) { return std::atanh (x); }
67
68 extern OCTAVE_API Complex besselj (double alpha, const Complex& x, bool scaled,
69 octave_idx_type& ierr);
70 extern OCTAVE_API Complex bessely (double alpha, const Complex& x, bool scaled,
71 octave_idx_type& ierr);
72 extern OCTAVE_API Complex besseli (double alpha, const Complex& x, bool scaled,
73 octave_idx_type& ierr);
74 extern OCTAVE_API Complex besselk (double alpha, const Complex& x, bool scaled,
75 octave_idx_type& ierr);
76 extern OCTAVE_API Complex besselh1 (double alpha, const Complex& x, bool scaled,
46 octave_idx_type& ierr); 77 octave_idx_type& ierr);
47 extern OCTAVE_API ComplexMatrix airy (const ComplexMatrix& z, bool deriv, 78 extern OCTAVE_API Complex besselh2 (double alpha, const Complex& x, bool scaled,
48 bool scaled, Array<octave_idx_type>& ierr); 79 octave_idx_type& ierr);
49 extern OCTAVE_API ComplexNDArray airy (const ComplexNDArray& z, bool deriv, 80
50 bool scaled, Array<octave_idx_type>& ierr); 81 extern OCTAVE_API ComplexMatrix besselj (double alpha, const ComplexMatrix& x,
51 extern OCTAVE_API FloatComplex airy (const FloatComplex& z, bool deriv, 82 bool scaled, Array<octave_idx_type>& ierr);
83 extern OCTAVE_API ComplexMatrix bessely (double alpha, const ComplexMatrix& x,
84 bool scaled, Array<octave_idx_type>& ierr);
85 extern OCTAVE_API ComplexMatrix besseli (double alpha, const ComplexMatrix& x,
86 bool scaled, Array<octave_idx_type>& ierr);
87 extern OCTAVE_API ComplexMatrix besselk (double alpha, const ComplexMatrix& x,
88 bool scaled, Array<octave_idx_type>& ierr);
89 extern OCTAVE_API ComplexMatrix besselh1 (double alpha, const ComplexMatrix& x,
90 bool scaled, Array<octave_idx_type>& ierr);
91 extern OCTAVE_API ComplexMatrix besselh2 (double alpha, const ComplexMatrix& x,
92 bool scaled, Array<octave_idx_type>& ierr);
93
94 extern OCTAVE_API ComplexMatrix besselj (const Matrix& alpha, const Complex& x,
95 bool scaled, Array<octave_idx_type>& ierr);
96 extern OCTAVE_API ComplexMatrix bessely (const Matrix& alpha, const Complex& x,
97 bool scaled, Array<octave_idx_type>& ierr);
98 extern OCTAVE_API ComplexMatrix besseli (const Matrix& alpha, const Complex& x,
99 bool scaled, Array<octave_idx_type>& ierr);
100 extern OCTAVE_API ComplexMatrix besselk (const Matrix& alpha, const Complex& x,
101 bool scaled, Array<octave_idx_type>& ierr);
102 extern OCTAVE_API ComplexMatrix besselh1 (const Matrix& alpha, const Complex& x,
103 bool scaled, Array<octave_idx_type>& ierr);
104 extern OCTAVE_API ComplexMatrix besselh2 (const Matrix& alpha, const Complex& x,
105 bool scaled, Array<octave_idx_type>& ierr);
106
107 extern OCTAVE_API ComplexMatrix besselj (const Matrix& alpha,
108 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
109 extern OCTAVE_API ComplexMatrix bessely (const Matrix& alpha,
110 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
111 extern OCTAVE_API ComplexMatrix besseli (const Matrix& alpha,
112 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
113 extern OCTAVE_API ComplexMatrix besselk (const Matrix& alpha,
114 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
115 extern OCTAVE_API ComplexMatrix besselh1 (const Matrix& alpha,
116 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
117 extern OCTAVE_API ComplexMatrix besselh2 (const Matrix& alpha,
118 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
119
120 extern OCTAVE_API ComplexNDArray besselj (double alpha, const ComplexNDArray& x,
121 bool scaled, Array<octave_idx_type>& ierr);
122 extern OCTAVE_API ComplexNDArray bessely (double alpha, const ComplexNDArray& x,
123 bool scaled, Array<octave_idx_type>& ierr);
124 extern OCTAVE_API ComplexNDArray besseli (double alpha, const ComplexNDArray& x,
125 bool scaled, Array<octave_idx_type>& ierr);
126 extern OCTAVE_API ComplexNDArray besselk (double alpha, const ComplexNDArray& x,
127 bool scaled, Array<octave_idx_type>& ierr);
128 extern OCTAVE_API ComplexNDArray besselh1 (double alpha,
129 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
130 extern OCTAVE_API ComplexNDArray besselh2 (double alpha,
131 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
132
133 extern OCTAVE_API ComplexNDArray besselj (const NDArray& alpha,
134 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
135 extern OCTAVE_API ComplexNDArray bessely (const NDArray& alpha,
136 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
137 extern OCTAVE_API ComplexNDArray besseli (const NDArray& alpha,
138 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
139 extern OCTAVE_API ComplexNDArray besselk (const NDArray& alpha,
140 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
141 extern OCTAVE_API ComplexNDArray besselh1 (const NDArray& alpha,
142 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
143 extern OCTAVE_API ComplexNDArray besselh2 (const NDArray& alpha,
144 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
145
146 extern OCTAVE_API ComplexNDArray besselj (const NDArray& alpha,
147 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
148 extern OCTAVE_API ComplexNDArray bessely (const NDArray& alpha,
149 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
150 extern OCTAVE_API ComplexNDArray besseli (const NDArray& alpha,
151 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
152 extern OCTAVE_API ComplexNDArray besselk (const NDArray& alpha,
153 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
154 extern OCTAVE_API ComplexNDArray besselh1 (const NDArray& alpha,
155 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
156 extern OCTAVE_API ComplexNDArray besselh2 (const NDArray& alpha,
157 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
158
159 extern OCTAVE_API ComplexMatrix besselj (const RowVector& alpha,
160 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
161 extern OCTAVE_API ComplexMatrix bessely (const RowVector& alpha,
162 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
163 extern OCTAVE_API ComplexMatrix besseli (const RowVector& alpha,
164 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
165 extern OCTAVE_API ComplexMatrix besselk (const RowVector& alpha,
166 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
167 extern OCTAVE_API ComplexMatrix besselh1 (const RowVector& alpha,
168 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
169 extern OCTAVE_API ComplexMatrix besselh2 (const RowVector& alpha,
170 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
171
172 extern OCTAVE_API FloatComplex besselj (float alpha, const FloatComplex& x,
173 bool scaled, octave_idx_type& ierr);
174 extern OCTAVE_API FloatComplex bessely (float alpha, const FloatComplex& x,
175 bool scaled, octave_idx_type& ierr);
176 extern OCTAVE_API FloatComplex besseli (float alpha, const FloatComplex& x,
177 bool scaled, octave_idx_type& ierr);
178 extern OCTAVE_API FloatComplex besselk (float alpha, const FloatComplex& x,
179 bool scaled, octave_idx_type& ierr);
180 extern OCTAVE_API FloatComplex besselh1 (float alpha, const FloatComplex& x,
52 bool scaled, octave_idx_type& ierr); 181 bool scaled, octave_idx_type& ierr);
53 extern OCTAVE_API FloatComplexMatrix airy (const FloatComplexMatrix& z, 182 extern OCTAVE_API FloatComplex besselh2 (float alpha, const FloatComplex& x,
54 bool deriv, bool scaled, Array<octave_idx_type>& ierr);
55 extern OCTAVE_API FloatComplexNDArray airy (const FloatComplexNDArray& z,
56 bool deriv, bool scaled, Array<octave_idx_type>& ierr);
57
58 inline double asinh (double x) { return std::asinh (x); }
59 inline float asinh (float x) { return std::asinhf (x); }
60 inline Complex asinh (const Complex& x) { return std::asinh (x); }
61 inline FloatComplex asinh (const FloatComplex& x) { return std::asinh (x); }
62
63 inline double atanh (double x) { return std::atanh (x); }
64 inline float atanh (float x) { return std::atanhf (x); }
65 inline Complex atanh (const Complex& x) { return std::atanh (x); }
66 inline FloatComplex atanh (const FloatComplex& x) { return std::atanh (x); }
67
68 extern OCTAVE_API Complex besselj (double alpha, const Complex& x, bool scaled,
69 octave_idx_type& ierr);
70 extern OCTAVE_API Complex bessely (double alpha, const Complex& x, bool scaled,
71 octave_idx_type& ierr);
72 extern OCTAVE_API Complex besseli (double alpha, const Complex& x, bool scaled,
73 octave_idx_type& ierr);
74 extern OCTAVE_API Complex besselk (double alpha, const Complex& x, bool scaled,
75 octave_idx_type& ierr);
76 extern OCTAVE_API Complex besselh1 (double alpha, const Complex& x, bool scaled,
77 octave_idx_type& ierr);
78 extern OCTAVE_API Complex besselh2 (double alpha, const Complex& x, bool scaled,
79 octave_idx_type& ierr);
80
81 extern OCTAVE_API ComplexMatrix besselj (double alpha, const ComplexMatrix& x,
82 bool scaled, Array<octave_idx_type>& ierr);
83 extern OCTAVE_API ComplexMatrix bessely (double alpha, const ComplexMatrix& x,
84 bool scaled, Array<octave_idx_type>& ierr);
85 extern OCTAVE_API ComplexMatrix besseli (double alpha, const ComplexMatrix& x,
86 bool scaled, Array<octave_idx_type>& ierr);
87 extern OCTAVE_API ComplexMatrix besselk (double alpha, const ComplexMatrix& x,
88 bool scaled, Array<octave_idx_type>& ierr);
89 extern OCTAVE_API ComplexMatrix besselh1 (double alpha, const ComplexMatrix& x,
90 bool scaled, Array<octave_idx_type>& ierr);
91 extern OCTAVE_API ComplexMatrix besselh2 (double alpha, const ComplexMatrix& x,
92 bool scaled, Array<octave_idx_type>& ierr);
93
94 extern OCTAVE_API ComplexMatrix besselj (const Matrix& alpha, const Complex& x,
95 bool scaled, Array<octave_idx_type>& ierr);
96 extern OCTAVE_API ComplexMatrix bessely (const Matrix& alpha, const Complex& x,
97 bool scaled, Array<octave_idx_type>& ierr);
98 extern OCTAVE_API ComplexMatrix besseli (const Matrix& alpha, const Complex& x,
99 bool scaled, Array<octave_idx_type>& ierr);
100 extern OCTAVE_API ComplexMatrix besselk (const Matrix& alpha, const Complex& x,
101 bool scaled, Array<octave_idx_type>& ierr);
102 extern OCTAVE_API ComplexMatrix besselh1 (const Matrix& alpha, const Complex& x,
103 bool scaled, Array<octave_idx_type>& ierr);
104 extern OCTAVE_API ComplexMatrix besselh2 (const Matrix& alpha, const Complex& x,
105 bool scaled, Array<octave_idx_type>& ierr);
106
107 extern OCTAVE_API ComplexMatrix besselj (const Matrix& alpha,
108 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
109 extern OCTAVE_API ComplexMatrix bessely (const Matrix& alpha,
110 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
111 extern OCTAVE_API ComplexMatrix besseli (const Matrix& alpha,
112 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
113 extern OCTAVE_API ComplexMatrix besselk (const Matrix& alpha,
114 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
115 extern OCTAVE_API ComplexMatrix besselh1 (const Matrix& alpha,
116 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
117 extern OCTAVE_API ComplexMatrix besselh2 (const Matrix& alpha,
118 const ComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
119
120 extern OCTAVE_API ComplexNDArray besselj (double alpha, const ComplexNDArray& x,
121 bool scaled, Array<octave_idx_type>& ierr);
122 extern OCTAVE_API ComplexNDArray bessely (double alpha, const ComplexNDArray& x,
123 bool scaled, Array<octave_idx_type>& ierr);
124 extern OCTAVE_API ComplexNDArray besseli (double alpha, const ComplexNDArray& x,
125 bool scaled, Array<octave_idx_type>& ierr);
126 extern OCTAVE_API ComplexNDArray besselk (double alpha, const ComplexNDArray& x,
127 bool scaled, Array<octave_idx_type>& ierr);
128 extern OCTAVE_API ComplexNDArray besselh1 (double alpha,
129 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
130 extern OCTAVE_API ComplexNDArray besselh2 (double alpha,
131 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
132
133 extern OCTAVE_API ComplexNDArray besselj (const NDArray& alpha,
134 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
135 extern OCTAVE_API ComplexNDArray bessely (const NDArray& alpha,
136 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
137 extern OCTAVE_API ComplexNDArray besseli (const NDArray& alpha,
138 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
139 extern OCTAVE_API ComplexNDArray besselk (const NDArray& alpha,
140 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
141 extern OCTAVE_API ComplexNDArray besselh1 (const NDArray& alpha,
142 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
143 extern OCTAVE_API ComplexNDArray besselh2 (const NDArray& alpha,
144 const Complex& x, bool scaled, Array<octave_idx_type>& ierr);
145
146 extern OCTAVE_API ComplexNDArray besselj (const NDArray& alpha,
147 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
148 extern OCTAVE_API ComplexNDArray bessely (const NDArray& alpha,
149 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
150 extern OCTAVE_API ComplexNDArray besseli (const NDArray& alpha,
151 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
152 extern OCTAVE_API ComplexNDArray besselk (const NDArray& alpha,
153 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
154 extern OCTAVE_API ComplexNDArray besselh1 (const NDArray& alpha,
155 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
156 extern OCTAVE_API ComplexNDArray besselh2 (const NDArray& alpha,
157 const ComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
158
159 extern OCTAVE_API ComplexMatrix besselj (const RowVector& alpha,
160 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
161 extern OCTAVE_API ComplexMatrix bessely (const RowVector& alpha,
162 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
163 extern OCTAVE_API ComplexMatrix besseli (const RowVector& alpha,
164 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
165 extern OCTAVE_API ComplexMatrix besselk (const RowVector& alpha,
166 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
167 extern OCTAVE_API ComplexMatrix besselh1 (const RowVector& alpha,
168 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
169 extern OCTAVE_API ComplexMatrix besselh2 (const RowVector& alpha,
170 const ComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
171
172 extern OCTAVE_API FloatComplex besselj (float alpha, const FloatComplex& x,
173 bool scaled, octave_idx_type& ierr);
174 extern OCTAVE_API FloatComplex bessely (float alpha, const FloatComplex& x,
175 bool scaled, octave_idx_type& ierr);
176 extern OCTAVE_API FloatComplex besseli (float alpha, const FloatComplex& x,
177 bool scaled, octave_idx_type& ierr);
178 extern OCTAVE_API FloatComplex besselk (float alpha, const FloatComplex& x,
179 bool scaled, octave_idx_type& ierr);
180 extern OCTAVE_API FloatComplex besselh1 (float alpha, const FloatComplex& x,
181 bool scaled, octave_idx_type& ierr);
182 extern OCTAVE_API FloatComplex besselh2 (float alpha, const FloatComplex& x,
183 bool scaled, octave_idx_type& ierr);
184
185 extern OCTAVE_API FloatComplexMatrix besselj (float alpha,
186 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
187 extern OCTAVE_API FloatComplexMatrix bessely (float alpha,
188 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
189 extern OCTAVE_API FloatComplexMatrix besseli (float alpha,
190 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
191 extern OCTAVE_API FloatComplexMatrix besselk (float alpha,
192 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
193 extern OCTAVE_API FloatComplexMatrix besselh1 (float alpha,
194 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
195 extern OCTAVE_API FloatComplexMatrix besselh2 (float alpha,
196 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
197
198 extern OCTAVE_API FloatComplexMatrix besselj (const FloatMatrix& alpha,
199 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
200 extern OCTAVE_API FloatComplexMatrix bessely (const FloatMatrix& alpha,
201 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
202 extern OCTAVE_API FloatComplexMatrix besseli (const FloatMatrix& alpha,
203 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
204 extern OCTAVE_API FloatComplexMatrix besselk (const FloatMatrix& alpha,
205 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
206 extern OCTAVE_API FloatComplexMatrix besselh1 (const FloatMatrix& alpha,
207 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
208 extern OCTAVE_API FloatComplexMatrix besselh2 (const FloatMatrix& alpha,
209 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
210
211 extern OCTAVE_API FloatComplexMatrix besselj (const FloatMatrix& alpha,
212 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
213 extern OCTAVE_API FloatComplexMatrix bessely (const FloatMatrix& alpha,
214 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
215 extern OCTAVE_API FloatComplexMatrix besseli (const FloatMatrix& alpha,
216 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
217 extern OCTAVE_API FloatComplexMatrix besselk (const FloatMatrix& alpha,
218 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
219 extern OCTAVE_API FloatComplexMatrix besselh1 (const FloatMatrix& alpha,
220 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
221 extern OCTAVE_API FloatComplexMatrix besselh2 (const FloatMatrix& alpha,
222 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
223
224 extern OCTAVE_API FloatComplexNDArray besselj (float alpha,
225 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
226 extern OCTAVE_API FloatComplexNDArray bessely (float alpha,
227 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
228 extern OCTAVE_API FloatComplexNDArray besseli (float alpha,
229 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
230 extern OCTAVE_API FloatComplexNDArray besselk (float alpha,
231 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
232 extern OCTAVE_API FloatComplexNDArray besselh1 (float alpha,
233 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
234 extern OCTAVE_API FloatComplexNDArray besselh2 (float alpha,
235 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
236
237 extern OCTAVE_API FloatComplexNDArray besselj (const FloatNDArray& alpha,
238 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
239 extern OCTAVE_API FloatComplexNDArray bessely (const FloatNDArray& alpha,
240 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
241 extern OCTAVE_API FloatComplexNDArray besseli (const FloatNDArray& alpha,
242 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
243 extern OCTAVE_API FloatComplexNDArray besselk (const FloatNDArray& alpha,
244 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
245 extern OCTAVE_API FloatComplexNDArray besselh1 (const FloatNDArray& alpha,
246 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
247 extern OCTAVE_API FloatComplexNDArray besselh2 (const FloatNDArray& alpha,
248 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
249
250 extern OCTAVE_API FloatComplexNDArray besselj (const FloatNDArray& alpha,
251 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
252 extern OCTAVE_API FloatComplexNDArray bessely (const FloatNDArray& alpha,
253 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
254 extern OCTAVE_API FloatComplexNDArray besseli (const FloatNDArray& alpha,
255 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
256 extern OCTAVE_API FloatComplexNDArray besselk (const FloatNDArray& alpha,
257 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
258 extern OCTAVE_API FloatComplexNDArray besselh1 (const FloatNDArray& alpha,
259 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
260 extern OCTAVE_API FloatComplexNDArray besselh2 (const FloatNDArray& alpha,
261 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
262
263 extern OCTAVE_API FloatComplexMatrix besselj (const FloatRowVector& alpha,
264 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
265 extern OCTAVE_API FloatComplexMatrix bessely (const FloatRowVector& alpha,
266 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
267 extern OCTAVE_API FloatComplexMatrix besseli (const FloatRowVector& alpha,
268 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
269 extern OCTAVE_API FloatComplexMatrix besselk (const FloatRowVector& alpha,
270 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
271 extern OCTAVE_API FloatComplexMatrix besselh1 (const FloatRowVector& alpha,
272 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
273 extern OCTAVE_API FloatComplexMatrix besselh2 (const FloatRowVector& alpha,
274 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
275
276 extern OCTAVE_API Complex biry (const Complex& z, bool deriv, bool scaled,
277 octave_idx_type& ierr);
278 extern OCTAVE_API ComplexMatrix biry (const ComplexMatrix& z, bool deriv,
279 bool scaled, Array<octave_idx_type>& ierr);
280 extern OCTAVE_API ComplexNDArray biry (const ComplexNDArray& z, bool deriv,
281 bool scaled, Array<octave_idx_type>& ierr);
282 extern OCTAVE_API FloatComplex biry (const FloatComplex& z, bool deriv,
283 bool scaled, octave_idx_type& ierr); 183 bool scaled, octave_idx_type& ierr);
284 extern OCTAVE_API FloatComplexMatrix biry (const FloatComplexMatrix& z, 184
285 bool deriv, bool scaled, Array<octave_idx_type>& ierr); 185 extern OCTAVE_API FloatComplexMatrix besselj (float alpha,
286 extern OCTAVE_API FloatComplexNDArray biry (const FloatComplexNDArray& z, 186 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
287 bool deriv, bool scaled, Array<octave_idx_type>& ierr); 187 extern OCTAVE_API FloatComplexMatrix bessely (float alpha,
288 188 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
289 inline double cbrt (double x) { return std::cbrt (x); } 189 extern OCTAVE_API FloatComplexMatrix besseli (float alpha,
290 inline float cbrt (float x) { return std::cbrtf (x); } 190 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
291 191 extern OCTAVE_API FloatComplexMatrix besselk (float alpha,
292 extern OCTAVE_API double dawson (double x); 192 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
293 extern OCTAVE_API float dawson (float x); 193 extern OCTAVE_API FloatComplexMatrix besselh1 (float alpha,
294 extern OCTAVE_API Complex dawson (const Complex& x); 194 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
295 extern OCTAVE_API FloatComplex dawson (const FloatComplex& x); 195 extern OCTAVE_API FloatComplexMatrix besselh2 (float alpha,
296 196 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
297 extern OCTAVE_API void ellipj (double u, double m, double& sn, double& cn, 197
298 double& dn, double& err); 198 extern OCTAVE_API FloatComplexMatrix besselj (const FloatMatrix& alpha,
299 extern OCTAVE_API void ellipj (const Complex& u, double m, Complex& sn, 199 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
300 Complex& cn, Complex& dn, double& err); 200 extern OCTAVE_API FloatComplexMatrix bessely (const FloatMatrix& alpha,
301 201 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
302 inline double erf (double x) { return std::erf (x); } 202 extern OCTAVE_API FloatComplexMatrix besseli (const FloatMatrix& alpha,
303 inline float erf (float x) { return std::erff (x); } 203 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
304 extern OCTAVE_API Complex erf (const Complex& x); 204 extern OCTAVE_API FloatComplexMatrix besselk (const FloatMatrix& alpha,
305 extern OCTAVE_API FloatComplex erf (const FloatComplex& x); 205 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
306 206 extern OCTAVE_API FloatComplexMatrix besselh1 (const FloatMatrix& alpha,
307 inline double erfc (double x) { return std::erfc (x); } 207 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
308 inline float erfc (float x) { return std::erfcf (x); } 208 extern OCTAVE_API FloatComplexMatrix besselh2 (const FloatMatrix& alpha,
309 extern OCTAVE_API Complex erfc (const Complex& x); 209 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
310 extern OCTAVE_API FloatComplex erfc (const FloatComplex& x); 210
311 211 extern OCTAVE_API FloatComplexMatrix besselj (const FloatMatrix& alpha,
312 extern OCTAVE_API double erfcinv (double x); 212 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
313 extern OCTAVE_API float erfcinv (float x); 213 extern OCTAVE_API FloatComplexMatrix bessely (const FloatMatrix& alpha,
314 214 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
315 extern OCTAVE_API double erfcx (double x); 215 extern OCTAVE_API FloatComplexMatrix besseli (const FloatMatrix& alpha,
316 extern OCTAVE_API float erfcx (float x); 216 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
317 extern OCTAVE_API Complex erfcx (const Complex& x); 217 extern OCTAVE_API FloatComplexMatrix besselk (const FloatMatrix& alpha,
318 extern OCTAVE_API FloatComplex erfcx (const FloatComplex& x); 218 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
319 219 extern OCTAVE_API FloatComplexMatrix besselh1 (const FloatMatrix& alpha,
320 extern OCTAVE_API double erfi (double x); 220 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
321 extern OCTAVE_API float erfi (float x); 221 extern OCTAVE_API FloatComplexMatrix besselh2 (const FloatMatrix& alpha,
322 extern OCTAVE_API Complex erfi (const Complex& x); 222 const FloatComplexMatrix& x, bool scaled, Array<octave_idx_type>& ierr);
323 extern OCTAVE_API FloatComplex erfi (const FloatComplex& x); 223
324 224 extern OCTAVE_API FloatComplexNDArray besselj (float alpha,
325 extern OCTAVE_API double erfinv (double x); 225 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
326 extern OCTAVE_API float erfinv (float x); 226 extern OCTAVE_API FloatComplexNDArray bessely (float alpha,
327 227 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
328 inline double expm1 (double x) { return std::expm1 (x); } 228 extern OCTAVE_API FloatComplexNDArray besseli (float alpha,
329 inline float expm1 (float x) { return std::expm1f (x); } 229 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
330 extern OCTAVE_API Complex expm1 (const Complex& x); 230 extern OCTAVE_API FloatComplexNDArray besselk (float alpha,
331 extern OCTAVE_API FloatComplex expm1 (const FloatComplex& x); 231 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
332 232 extern OCTAVE_API FloatComplexNDArray besselh1 (float alpha,
333 extern OCTAVE_API double gamma (double x); 233 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
334 extern OCTAVE_API float gamma (float x); 234 extern OCTAVE_API FloatComplexNDArray besselh2 (float alpha,
335 235 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
336 inline double lgamma (double x) { return std::lgamma (x); } 236
337 inline float lgamma (float x) { return std::lgammaf (x); } 237 extern OCTAVE_API FloatComplexNDArray besselj (const FloatNDArray& alpha,
338 238 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
339 inline double log1p (double x) { return std::log1p (x); } 239 extern OCTAVE_API FloatComplexNDArray bessely (const FloatNDArray& alpha,
340 inline float log1p (float x) { return std::log1pf (x); } 240 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
341 extern OCTAVE_API Complex log1p (const Complex& x); 241 extern OCTAVE_API FloatComplexNDArray besseli (const FloatNDArray& alpha,
342 extern OCTAVE_API FloatComplex log1p (const FloatComplex& x); 242 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
343 243 extern OCTAVE_API FloatComplexNDArray besselk (const FloatNDArray& alpha,
344 extern OCTAVE_API double psi (double x); 244 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
345 extern OCTAVE_API float psi (float x); 245 extern OCTAVE_API FloatComplexNDArray besselh1 (const FloatNDArray& alpha,
346 extern OCTAVE_API Complex psi (const Complex& x); 246 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
347 extern OCTAVE_API FloatComplex psi (const FloatComplex& x); 247 extern OCTAVE_API FloatComplexNDArray besselh2 (const FloatNDArray& alpha,
348 extern OCTAVE_API double psi (octave_idx_type n, double z); 248 const FloatComplex& x, bool scaled, Array<octave_idx_type>& ierr);
349 extern OCTAVE_API float psi (octave_idx_type n, float z); 249
350 250 extern OCTAVE_API FloatComplexNDArray besselj (const FloatNDArray& alpha,
351 extern OCTAVE_API Complex rc_lgamma (double x); 251 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
352 extern OCTAVE_API FloatComplex rc_lgamma (float x); 252 extern OCTAVE_API FloatComplexNDArray bessely (const FloatNDArray& alpha,
353 253 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
354 extern OCTAVE_API Complex rc_log1p (double x); 254 extern OCTAVE_API FloatComplexNDArray besseli (const FloatNDArray& alpha,
355 extern OCTAVE_API FloatComplex rc_log1p (float x); 255 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
256 extern OCTAVE_API FloatComplexNDArray besselk (const FloatNDArray& alpha,
257 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
258 extern OCTAVE_API FloatComplexNDArray besselh1 (const FloatNDArray& alpha,
259 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
260 extern OCTAVE_API FloatComplexNDArray besselh2 (const FloatNDArray& alpha,
261 const FloatComplexNDArray& x, bool scaled, Array<octave_idx_type>& ierr);
262
263 extern OCTAVE_API FloatComplexMatrix besselj (const FloatRowVector& alpha,
264 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
265 extern OCTAVE_API FloatComplexMatrix bessely (const FloatRowVector& alpha,
266 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
267 extern OCTAVE_API FloatComplexMatrix besseli (const FloatRowVector& alpha,
268 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
269 extern OCTAVE_API FloatComplexMatrix besselk (const FloatRowVector& alpha,
270 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
271 extern OCTAVE_API FloatComplexMatrix besselh1 (const FloatRowVector& alpha,
272 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
273 extern OCTAVE_API FloatComplexMatrix besselh2 (const FloatRowVector& alpha,
274 const FloatComplexColumnVector& x, bool scaled, Array<octave_idx_type>& ierr);
275
276 extern OCTAVE_API Complex biry (const Complex& z, bool deriv, bool scaled,
277 octave_idx_type& ierr);
278 extern OCTAVE_API ComplexMatrix biry (const ComplexMatrix& z, bool deriv,
279 bool scaled, Array<octave_idx_type>& ierr);
280 extern OCTAVE_API ComplexNDArray biry (const ComplexNDArray& z, bool deriv,
281 bool scaled, Array<octave_idx_type>& ierr);
282 extern OCTAVE_API FloatComplex biry (const FloatComplex& z, bool deriv,
283 bool scaled, octave_idx_type& ierr);
284 extern OCTAVE_API FloatComplexMatrix biry (const FloatComplexMatrix& z,
285 bool deriv, bool scaled, Array<octave_idx_type>& ierr);
286 extern OCTAVE_API FloatComplexNDArray biry (const FloatComplexNDArray& z,
287 bool deriv, bool scaled, Array<octave_idx_type>& ierr);
288
289 inline double cbrt (double x) { return std::cbrt (x); }
290 inline float cbrt (float x) { return std::cbrtf (x); }
291
292 extern OCTAVE_API double dawson (double x);
293 extern OCTAVE_API float dawson (float x);
294 extern OCTAVE_API Complex dawson (const Complex& x);
295 extern OCTAVE_API FloatComplex dawson (const FloatComplex& x);
296
297 extern OCTAVE_API void ellipj (double u, double m, double& sn, double& cn,
298 double& dn, double& err);
299 extern OCTAVE_API void ellipj (const Complex& u, double m, Complex& sn,
300 Complex& cn, Complex& dn, double& err);
301
302 inline double erf (double x) { return std::erf (x); }
303 inline float erf (float x) { return std::erff (x); }
304 extern OCTAVE_API Complex erf (const Complex& x);
305 extern OCTAVE_API FloatComplex erf (const FloatComplex& x);
306
307 inline double erfc (double x) { return std::erfc (x); }
308 inline float erfc (float x) { return std::erfcf (x); }
309 extern OCTAVE_API Complex erfc (const Complex& x);
310 extern OCTAVE_API FloatComplex erfc (const FloatComplex& x);
311
312 extern OCTAVE_API double erfcinv (double x);
313 extern OCTAVE_API float erfcinv (float x);
314
315 extern OCTAVE_API double erfcx (double x);
316 extern OCTAVE_API float erfcx (float x);
317 extern OCTAVE_API Complex erfcx (const Complex& x);
318 extern OCTAVE_API FloatComplex erfcx (const FloatComplex& x);
319
320 extern OCTAVE_API double erfi (double x);
321 extern OCTAVE_API float erfi (float x);
322 extern OCTAVE_API Complex erfi (const Complex& x);
323 extern OCTAVE_API FloatComplex erfi (const FloatComplex& x);
324
325 extern OCTAVE_API double erfinv (double x);
326 extern OCTAVE_API float erfinv (float x);
327
328 inline double expm1 (double x) { return std::expm1 (x); }
329 inline float expm1 (float x) { return std::expm1f (x); }
330 extern OCTAVE_API Complex expm1 (const Complex& x);
331 extern OCTAVE_API FloatComplex expm1 (const FloatComplex& x);
332
333 extern OCTAVE_API double gamma (double x);
334 extern OCTAVE_API float gamma (float x);
335
336 inline double lgamma (double x) { return std::lgamma (x); }
337 inline float lgamma (float x) { return std::lgammaf (x); }
338
339 inline double log1p (double x) { return std::log1p (x); }
340 inline float log1p (float x) { return std::log1pf (x); }
341 extern OCTAVE_API Complex log1p (const Complex& x);
342 extern OCTAVE_API FloatComplex log1p (const FloatComplex& x);
343
344 extern OCTAVE_API double psi (double x);
345 extern OCTAVE_API float psi (float x);
346 extern OCTAVE_API Complex psi (const Complex& x);
347 extern OCTAVE_API FloatComplex psi (const FloatComplex& x);
348 extern OCTAVE_API double psi (octave_idx_type n, double z);
349 extern OCTAVE_API float psi (octave_idx_type n, float z);
350
351 extern OCTAVE_API Complex rc_lgamma (double x);
352 extern OCTAVE_API FloatComplex rc_lgamma (float x);
353
354 extern OCTAVE_API Complex rc_log1p (double x);
355 extern OCTAVE_API FloatComplex rc_log1p (float x);
356 356
357 OCTAVE_END_NAMESPACE(math) 357 OCTAVE_END_NAMESPACE(math)
358 OCTAVE_END_NAMESPACE(octave) 358 OCTAVE_END_NAMESPACE(octave)
359 359
360 #endif 360 #endif