00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #if !defined (octave_liboctave_specfun_h)
00025 #define octave_liboctave_specfun_h 1
00026
00027 #include "oct-cmplx.h"
00028 #include "Array.h"
00029
00030 class Matrix;
00031 class ComplexMatrix;
00032 class NDArray;
00033 class ComplexNDArray;
00034 class RowVector;
00035 class ComplexColumnVector;
00036 class FloatMatrix;
00037 class FloatComplexMatrix;
00038 class FloatNDArray;
00039 class FloatComplexNDArray;
00040 class FloatRowVector;
00041 class FloatComplexColumnVector;
00042 class Range;
00043
00044 #if !defined (HAVE_ACOSH)
00045 extern OCTAVE_API double acosh (double);
00046 #endif
00047
00048 #if !defined (HAVE_ASINH)
00049 extern OCTAVE_API double asinh (double);
00050 #endif
00051
00052 #if !defined (HAVE_ATANH)
00053 extern OCTAVE_API double atanh (double);
00054 #endif
00055
00056 #if !defined (HAVE_ERF)
00057 extern OCTAVE_API double erf (double);
00058 #endif
00059
00060 #if !defined (HAVE_ERFC)
00061 extern OCTAVE_API double erfc (double);
00062 #endif
00063
00064 #if !defined (HAVE_ACOSHF)
00065 extern OCTAVE_API float acoshf (float);
00066 #endif
00067
00068 #if !defined (HAVE_ASINHF)
00069 extern OCTAVE_API float asinhf (float);
00070 #endif
00071
00072 #if !defined (HAVE_ATANHF)
00073 extern OCTAVE_API float atanhf (float);
00074 #endif
00075
00076 #if !defined (HAVE_ERFF)
00077 extern OCTAVE_API float erff (float);
00078 #endif
00079
00080 #if !defined (HAVE_ERFCF)
00081 extern OCTAVE_API float erfcf (float);
00082 #endif
00083
00084 #if !defined (HAVE_EXPM1)
00085 extern OCTAVE_API double expm1 (double x);
00086 #endif
00087 extern OCTAVE_API Complex expm1 (const Complex& x);
00088
00089 #if !defined (HAVE_EXPM1F)
00090 extern OCTAVE_API float expm1f (float x);
00091 #endif
00092 extern OCTAVE_API FloatComplex expm1 (const FloatComplex& x);
00093
00094 #if !defined (HAVE_LOG1P)
00095 extern OCTAVE_API double log1p (double x);
00096 #endif
00097 extern OCTAVE_API Complex log1p (const Complex& x);
00098
00099 #if !defined (HAVE_LOG1PF)
00100 extern OCTAVE_API float log1pf (float x);
00101 #endif
00102 extern OCTAVE_API FloatComplex log1p (const FloatComplex& x);
00103
00104 #if !defined (HAVE_CBRT)
00105 extern OCTAVE_API double cbrt (double x);
00106 #endif
00107
00108 #if !defined (HAVE_CBRTF)
00109 extern OCTAVE_API float cbrtf (float x);
00110 #endif
00111
00112 extern OCTAVE_API double xgamma (double x);
00113 extern OCTAVE_API double xlgamma (double x);
00114 extern OCTAVE_API Complex rc_lgamma (double x);
00115
00116 extern OCTAVE_API float xgamma (float x);
00117 extern OCTAVE_API float xlgamma (float x);
00118 extern OCTAVE_API FloatComplex rc_lgamma (float x);
00119
00120 extern OCTAVE_API Complex
00121 besselj (double alpha, const Complex& x, bool scaled, octave_idx_type& ierr);
00122
00123 extern OCTAVE_API Complex
00124 bessely (double alpha, const Complex& x, bool scaled, octave_idx_type& ierr);
00125
00126 extern OCTAVE_API Complex
00127 besseli (double alpha, const Complex& x, bool scaled, octave_idx_type& ierr);
00128
00129 extern OCTAVE_API Complex
00130 besselk (double alpha, const Complex& x, bool scaled, octave_idx_type& ierr);
00131
00132 extern OCTAVE_API Complex
00133 besselh1 (double alpha, const Complex& x, bool scaled, octave_idx_type& ierr);
00134
00135 extern OCTAVE_API Complex
00136 besselh2 (double alpha, const Complex& x, bool scaled, octave_idx_type& ierr);
00137
00138 extern OCTAVE_API ComplexMatrix
00139 besselj (double alpha, const ComplexMatrix& x, bool scaled,
00140 Array<octave_idx_type>& ierr);
00141
00142 extern OCTAVE_API ComplexMatrix
00143 bessely (double alpha, const ComplexMatrix& x, bool scaled,
00144 Array<octave_idx_type>& ierr);
00145
00146 extern OCTAVE_API ComplexMatrix
00147 besseli (double alpha, const ComplexMatrix& x, bool scaled,
00148 Array<octave_idx_type>& ierr);
00149
00150 extern OCTAVE_API ComplexMatrix
00151 besselk (double alpha, const ComplexMatrix& x, bool scaled,
00152 Array<octave_idx_type>& ierr);
00153
00154 extern OCTAVE_API ComplexMatrix
00155 besselh1 (double alpha, const ComplexMatrix& x, bool scaled,
00156 Array<octave_idx_type>& ierr);
00157
00158 extern OCTAVE_API ComplexMatrix
00159 besselh2 (double alpha, const ComplexMatrix& x, bool scaled,
00160 Array<octave_idx_type>& ierr);
00161
00162 extern OCTAVE_API ComplexMatrix
00163 besselj (const Matrix& alpha, const Complex& x, bool scaled,
00164 Array<octave_idx_type>& ierr);
00165
00166 extern OCTAVE_API ComplexMatrix
00167 bessely (const Matrix& alpha, const Complex& x, bool scaled,
00168 Array<octave_idx_type>& ierr);
00169
00170 extern OCTAVE_API ComplexMatrix
00171 besseli (const Matrix& alpha, const Complex& x, bool scaled,
00172 Array<octave_idx_type>& ierr);
00173
00174 extern OCTAVE_API ComplexMatrix
00175 besselk (const Matrix& alpha, const Complex& x, bool scaled,
00176 Array<octave_idx_type>& ierr);
00177
00178 extern OCTAVE_API ComplexMatrix
00179 besselh1 (const Matrix& alpha, const Complex& x, bool scaled,
00180 Array<octave_idx_type>& ierr);
00181
00182 extern OCTAVE_API ComplexMatrix
00183 besselh2 (const Matrix& alpha, const Complex& x, bool scaled,
00184 Array<octave_idx_type>& ierr);
00185
00186 extern OCTAVE_API ComplexMatrix
00187 besselj (const Matrix& alpha, const ComplexMatrix& x, bool scaled,
00188 Array<octave_idx_type>& ierr);
00189
00190 extern OCTAVE_API ComplexMatrix
00191 bessely (const Matrix& alpha, const ComplexMatrix& x, bool scaled,
00192 Array<octave_idx_type>& ierr);
00193
00194 extern OCTAVE_API ComplexMatrix
00195 besseli (const Matrix& alpha, const ComplexMatrix& x, bool scaled,
00196 Array<octave_idx_type>& ierr);
00197
00198 extern OCTAVE_API ComplexMatrix
00199 besselk (const Matrix& alpha, const ComplexMatrix& x, bool scaled,
00200 Array<octave_idx_type>& ierr);
00201
00202 extern OCTAVE_API ComplexMatrix
00203 besselh1 (const Matrix& alpha, const ComplexMatrix& x, bool scaled,
00204 Array<octave_idx_type>& ierr);
00205
00206 extern OCTAVE_API ComplexMatrix
00207 besselh2 (const Matrix& alpha, const ComplexMatrix& x, bool scaled,
00208 Array<octave_idx_type>& ierr);
00209
00210 extern OCTAVE_API ComplexNDArray
00211 besselj (double alpha, const ComplexNDArray& x, bool scaled,
00212 Array<octave_idx_type>& ierr);
00213
00214 extern OCTAVE_API ComplexNDArray
00215 bessely (double alpha, const ComplexNDArray& x, bool scaled,
00216 Array<octave_idx_type>& ierr);
00217
00218 extern OCTAVE_API ComplexNDArray
00219 besseli (double alpha, const ComplexNDArray& x, bool scaled,
00220 Array<octave_idx_type>& ierr);
00221
00222 extern OCTAVE_API ComplexNDArray
00223 besselk (double alpha, const ComplexNDArray& x, bool scaled,
00224 Array<octave_idx_type>& ierr);
00225
00226 extern OCTAVE_API ComplexNDArray
00227 besselh1 (double alpha, const ComplexNDArray& x, bool scaled,
00228 Array<octave_idx_type>& ierr);
00229
00230 extern OCTAVE_API ComplexNDArray
00231 besselh2 (double alpha, const ComplexNDArray& x, bool scaled,
00232 Array<octave_idx_type>& ierr);
00233
00234 extern OCTAVE_API ComplexNDArray
00235 besselj (const NDArray& alpha, const Complex& x, bool scaled,
00236 Array<octave_idx_type>& ierr);
00237
00238 extern OCTAVE_API ComplexNDArray
00239 bessely (const NDArray& alpha, const Complex& x, bool scaled,
00240 Array<octave_idx_type>& ierr);
00241
00242 extern OCTAVE_API ComplexNDArray
00243 besseli (const NDArray& alpha, const Complex& x, bool scaled,
00244 Array<octave_idx_type>& ierr);
00245
00246 extern OCTAVE_API ComplexNDArray
00247 besselk (const NDArray& alpha, const Complex& x, bool scaled,
00248 Array<octave_idx_type>& ierr);
00249
00250 extern OCTAVE_API ComplexNDArray
00251 besselh1 (const NDArray& alpha, const Complex& x, bool scaled,
00252 Array<octave_idx_type>& ierr);
00253
00254 extern OCTAVE_API ComplexNDArray
00255 besselh2 (const NDArray& alpha, const Complex& x, bool scaled,
00256 Array<octave_idx_type>& ierr);
00257
00258 extern OCTAVE_API ComplexNDArray
00259 besselj (const NDArray& alpha, const ComplexNDArray& x, bool scaled,
00260 Array<octave_idx_type>& ierr);
00261
00262 extern OCTAVE_API ComplexNDArray
00263 bessely (const NDArray& alpha, const ComplexNDArray& x, bool scaled,
00264 Array<octave_idx_type>& ierr);
00265
00266 extern OCTAVE_API ComplexNDArray
00267 besseli (const NDArray& alpha, const ComplexNDArray& x, bool scaled,
00268 Array<octave_idx_type>& ierr);
00269
00270 extern OCTAVE_API ComplexNDArray
00271 besselk (const NDArray& alpha, const ComplexNDArray& x, bool scaled,
00272 Array<octave_idx_type>& ierr);
00273
00274 extern OCTAVE_API ComplexNDArray
00275 besselh1 (const NDArray& alpha, const ComplexNDArray& x, bool scaled,
00276 Array<octave_idx_type>& ierr);
00277
00278 extern OCTAVE_API ComplexNDArray
00279 besselh2 (const NDArray& alpha, const ComplexNDArray& x, bool scaled,
00280 Array<octave_idx_type>& ierr);
00281
00282 extern OCTAVE_API ComplexMatrix
00283 besselj (const RowVector& alpha, const ComplexColumnVector& x, bool scaled,
00284 Array<octave_idx_type>& ierr);
00285
00286 extern OCTAVE_API ComplexMatrix
00287 bessely (const RowVector& alpha, const ComplexColumnVector& x, bool scaled,
00288 Array<octave_idx_type>& ierr);
00289
00290 extern OCTAVE_API ComplexMatrix
00291 besseli (const RowVector& alpha, const ComplexColumnVector& x, bool scaled,
00292 Array<octave_idx_type>& ierr);
00293
00294 extern OCTAVE_API ComplexMatrix
00295 besselk (const RowVector& alpha, const ComplexColumnVector& x, bool scaled,
00296 Array<octave_idx_type>& ierr);
00297
00298 extern OCTAVE_API ComplexMatrix
00299 besselh1 (const RowVector& alpha, const ComplexColumnVector& x, bool scaled,
00300 Array<octave_idx_type>& ierr);
00301
00302 extern OCTAVE_API ComplexMatrix
00303 besselh2 (const RowVector& alpha, const ComplexColumnVector& x, bool scaled,
00304 Array<octave_idx_type>& ierr);
00305
00306 extern OCTAVE_API FloatComplex
00307 besselj (float alpha, const FloatComplex& x, bool scaled, octave_idx_type& ierr);
00308
00309 extern OCTAVE_API FloatComplex
00310 bessely (float alpha, const FloatComplex& x, bool scaled, octave_idx_type& ierr);
00311
00312 extern OCTAVE_API FloatComplex
00313 besseli (float alpha, const FloatComplex& x, bool scaled, octave_idx_type& ierr);
00314
00315 extern OCTAVE_API FloatComplex
00316 besselk (float alpha, const FloatComplex& x, bool scaled, octave_idx_type& ierr);
00317
00318 extern OCTAVE_API FloatComplex
00319 besselh1 (float alpha, const FloatComplex& x, bool scaled, octave_idx_type& ierr);
00320
00321 extern OCTAVE_API FloatComplex
00322 besselh2 (float alpha, const FloatComplex& x, bool scaled, octave_idx_type& ierr);
00323
00324 extern OCTAVE_API FloatComplexMatrix
00325 besselj (float alpha, const FloatComplexMatrix& x, bool scaled,
00326 Array<octave_idx_type>& ierr);
00327
00328 extern OCTAVE_API FloatComplexMatrix
00329 bessely (float alpha, const FloatComplexMatrix& x, bool scaled,
00330 Array<octave_idx_type>& ierr);
00331
00332 extern OCTAVE_API FloatComplexMatrix
00333 besseli (float alpha, const FloatComplexMatrix& x, bool scaled,
00334 Array<octave_idx_type>& ierr);
00335
00336 extern OCTAVE_API FloatComplexMatrix
00337 besselk (float alpha, const FloatComplexMatrix& x, bool scaled,
00338 Array<octave_idx_type>& ierr);
00339
00340 extern OCTAVE_API FloatComplexMatrix
00341 besselh1 (float alpha, const FloatComplexMatrix& x, bool scaled,
00342 Array<octave_idx_type>& ierr);
00343
00344 extern OCTAVE_API FloatComplexMatrix
00345 besselh2 (float alpha, const FloatComplexMatrix& x, bool scaled,
00346 Array<octave_idx_type>& ierr);
00347
00348 extern OCTAVE_API FloatComplexMatrix
00349 besselj (const FloatMatrix& alpha, const FloatComplex& x, bool scaled,
00350 Array<octave_idx_type>& ierr);
00351
00352 extern OCTAVE_API FloatComplexMatrix
00353 bessely (const FloatMatrix& alpha, const FloatComplex& x, bool scaled,
00354 Array<octave_idx_type>& ierr);
00355
00356 extern OCTAVE_API FloatComplexMatrix
00357 besseli (const FloatMatrix& alpha, const FloatComplex& x, bool scaled,
00358 Array<octave_idx_type>& ierr);
00359
00360 extern OCTAVE_API FloatComplexMatrix
00361 besselk (const FloatMatrix& alpha, const FloatComplex& x, bool scaled,
00362 Array<octave_idx_type>& ierr);
00363
00364 extern OCTAVE_API FloatComplexMatrix
00365 besselh1 (const FloatMatrix& alpha, const FloatComplex& x, bool scaled,
00366 Array<octave_idx_type>& ierr);
00367
00368 extern OCTAVE_API FloatComplexMatrix
00369 besselh2 (const FloatMatrix& alpha, const FloatComplex& x, bool scaled,
00370 Array<octave_idx_type>& ierr);
00371
00372 extern OCTAVE_API FloatComplexMatrix
00373 besselj (const FloatMatrix& alpha, const FloatComplexMatrix& x, bool scaled,
00374 Array<octave_idx_type>& ierr);
00375
00376 extern OCTAVE_API FloatComplexMatrix
00377 bessely (const FloatMatrix& alpha, const FloatComplexMatrix& x, bool scaled,
00378 Array<octave_idx_type>& ierr);
00379
00380 extern OCTAVE_API FloatComplexMatrix
00381 besseli (const FloatMatrix& alpha, const FloatComplexMatrix& x, bool scaled,
00382 Array<octave_idx_type>& ierr);
00383
00384 extern OCTAVE_API FloatComplexMatrix
00385 besselk (const FloatMatrix& alpha, const FloatComplexMatrix& x, bool scaled,
00386 Array<octave_idx_type>& ierr);
00387
00388 extern OCTAVE_API FloatComplexMatrix
00389 besselh1 (const FloatMatrix& alpha, const FloatComplexMatrix& x, bool scaled,
00390 Array<octave_idx_type>& ierr);
00391
00392 extern OCTAVE_API FloatComplexMatrix
00393 besselh2 (const FloatMatrix& alpha, const FloatComplexMatrix& x, bool scaled,
00394 Array<octave_idx_type>& ierr);
00395
00396 extern OCTAVE_API FloatComplexNDArray
00397 besselj (float alpha, const FloatComplexNDArray& x, bool scaled,
00398 Array<octave_idx_type>& ierr);
00399
00400 extern OCTAVE_API FloatComplexNDArray
00401 bessely (float alpha, const FloatComplexNDArray& x, bool scaled,
00402 Array<octave_idx_type>& ierr);
00403
00404 extern OCTAVE_API FloatComplexNDArray
00405 besseli (float alpha, const FloatComplexNDArray& x, bool scaled,
00406 Array<octave_idx_type>& ierr);
00407
00408 extern OCTAVE_API FloatComplexNDArray
00409 besselk (float alpha, const FloatComplexNDArray& x, bool scaled,
00410 Array<octave_idx_type>& ierr);
00411
00412 extern OCTAVE_API FloatComplexNDArray
00413 besselh1 (float alpha, const FloatComplexNDArray& x, bool scaled,
00414 Array<octave_idx_type>& ierr);
00415
00416 extern OCTAVE_API FloatComplexNDArray
00417 besselh2 (float alpha, const FloatComplexNDArray& x, bool scaled,
00418 Array<octave_idx_type>& ierr);
00419
00420 extern OCTAVE_API FloatComplexNDArray
00421 besselj (const FloatNDArray& alpha, const FloatComplex& x, bool scaled,
00422 Array<octave_idx_type>& ierr);
00423
00424 extern OCTAVE_API FloatComplexNDArray
00425 bessely (const FloatNDArray& alpha, const FloatComplex& x, bool scaled,
00426 Array<octave_idx_type>& ierr);
00427
00428 extern OCTAVE_API FloatComplexNDArray
00429 besseli (const FloatNDArray& alpha, const FloatComplex& x, bool scaled,
00430 Array<octave_idx_type>& ierr);
00431
00432 extern OCTAVE_API FloatComplexNDArray
00433 besselk (const FloatNDArray& alpha, const FloatComplex& x, bool scaled,
00434 Array<octave_idx_type>& ierr);
00435
00436 extern OCTAVE_API FloatComplexNDArray
00437 besselh1 (const FloatNDArray& alpha, const FloatComplex& x, bool scaled,
00438 Array<octave_idx_type>& ierr);
00439
00440 extern OCTAVE_API FloatComplexNDArray
00441 besselh2 (const FloatNDArray& alpha, const FloatComplex& x, bool scaled,
00442 Array<octave_idx_type>& ierr);
00443
00444 extern OCTAVE_API FloatComplexNDArray
00445 besselj (const FloatNDArray& alpha, const FloatComplexNDArray& x, bool scaled,
00446 Array<octave_idx_type>& ierr);
00447
00448 extern OCTAVE_API FloatComplexNDArray
00449 bessely (const FloatNDArray& alpha, const FloatComplexNDArray& x, bool scaled,
00450 Array<octave_idx_type>& ierr);
00451
00452 extern OCTAVE_API FloatComplexNDArray
00453 besseli (const FloatNDArray& alpha, const FloatComplexNDArray& x, bool scaled,
00454 Array<octave_idx_type>& ierr);
00455
00456 extern OCTAVE_API FloatComplexNDArray
00457 besselk (const FloatNDArray& alpha, const FloatComplexNDArray& x, bool scaled,
00458 Array<octave_idx_type>& ierr);
00459
00460 extern OCTAVE_API FloatComplexNDArray
00461 besselh1 (const FloatNDArray& alpha, const FloatComplexNDArray& x, bool scaled,
00462 Array<octave_idx_type>& ierr);
00463
00464 extern OCTAVE_API FloatComplexNDArray
00465 besselh2 (const FloatNDArray& alpha, const FloatComplexNDArray& x, bool scaled,
00466 Array<octave_idx_type>& ierr);
00467
00468 extern OCTAVE_API FloatComplexMatrix
00469 besselj (const FloatRowVector& alpha, const FloatComplexColumnVector& x, bool scaled,
00470 Array<octave_idx_type>& ierr);
00471
00472 extern OCTAVE_API FloatComplexMatrix
00473 bessely (const FloatRowVector& alpha, const FloatComplexColumnVector& x, bool scaled,
00474 Array<octave_idx_type>& ierr);
00475
00476 extern OCTAVE_API FloatComplexMatrix
00477 besseli (const FloatRowVector& alpha, const FloatComplexColumnVector& x, bool scaled,
00478 Array<octave_idx_type>& ierr);
00479
00480 extern OCTAVE_API FloatComplexMatrix
00481 besselk (const FloatRowVector& alpha, const FloatComplexColumnVector& x, bool scaled,
00482 Array<octave_idx_type>& ierr);
00483
00484 extern OCTAVE_API FloatComplexMatrix
00485 besselh1 (const FloatRowVector& alpha, const FloatComplexColumnVector& x, bool scaled,
00486 Array<octave_idx_type>& ierr);
00487
00488 extern OCTAVE_API FloatComplexMatrix
00489 besselh2 (const FloatRowVector& alpha, const FloatComplexColumnVector& x, bool scaled,
00490 Array<octave_idx_type>& ierr);
00491
00492 extern OCTAVE_API Complex airy (const Complex& z, bool deriv, bool scaled, octave_idx_type& ierr);
00493 extern OCTAVE_API Complex biry (const Complex& z, bool deriv, bool scaled, octave_idx_type& ierr);
00494
00495 extern OCTAVE_API ComplexMatrix
00496 airy (const ComplexMatrix& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00497
00498 extern OCTAVE_API ComplexMatrix
00499 biry (const ComplexMatrix& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00500
00501 extern OCTAVE_API ComplexNDArray
00502 airy (const ComplexNDArray& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00503
00504 extern OCTAVE_API ComplexNDArray
00505 biry (const ComplexNDArray& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00506
00507 extern OCTAVE_API FloatComplex airy (const FloatComplex& z, bool deriv, bool scaled, octave_idx_type& ierr);
00508 extern OCTAVE_API FloatComplex biry (const FloatComplex& z, bool deriv, bool scaled, octave_idx_type& ierr);
00509
00510 extern OCTAVE_API FloatComplexMatrix
00511 airy (const FloatComplexMatrix& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00512
00513 extern OCTAVE_API FloatComplexMatrix
00514 biry (const FloatComplexMatrix& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00515
00516 extern OCTAVE_API FloatComplexNDArray
00517 airy (const FloatComplexNDArray& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00518
00519 extern OCTAVE_API FloatComplexNDArray
00520 biry (const FloatComplexNDArray& z, bool deriv, bool scaled, Array<octave_idx_type>& ierr);
00521
00522 extern OCTAVE_API double betainc (double x, double a, double b);
00523 extern OCTAVE_API Matrix betainc (double x, double a, const Matrix& b);
00524 extern OCTAVE_API Matrix betainc (double x, const Matrix& a, double b);
00525 extern OCTAVE_API Matrix betainc (double x, const Matrix& a, const Matrix& b);
00526
00527 extern OCTAVE_API NDArray betainc (double x, double a, const NDArray& b);
00528 extern OCTAVE_API NDArray betainc (double x, const NDArray& a, double b);
00529 extern OCTAVE_API NDArray betainc (double x, const NDArray& a, const NDArray& b);
00530
00531 extern OCTAVE_API Matrix betainc (const Matrix& x, double a, double b);
00532 extern OCTAVE_API Matrix betainc (const Matrix& x, double a, const Matrix& b);
00533 extern OCTAVE_API Matrix betainc (const Matrix& x, const Matrix& a, double b);
00534 extern OCTAVE_API Matrix betainc (const Matrix& x, const Matrix& a, const Matrix& b);
00535
00536 extern OCTAVE_API NDArray betainc (const NDArray& x, double a, double b);
00537 extern OCTAVE_API NDArray betainc (const NDArray& x, double a, const NDArray& b);
00538 extern OCTAVE_API NDArray betainc (const NDArray& x, const NDArray& a, double b);
00539 extern OCTAVE_API NDArray betainc (const NDArray& x, const NDArray& a, const NDArray& b);
00540
00541 extern OCTAVE_API float betainc (float x, float a, float b);
00542 extern OCTAVE_API FloatMatrix betainc (float x, float a, const FloatMatrix& b);
00543 extern OCTAVE_API FloatMatrix betainc (float x, const FloatMatrix& a, float b);
00544 extern OCTAVE_API FloatMatrix betainc (float x, const FloatMatrix& a, const FloatMatrix& b);
00545
00546 extern OCTAVE_API FloatNDArray betainc (float x, float a, const FloatNDArray& b);
00547 extern OCTAVE_API FloatNDArray betainc (float x, const FloatNDArray& a, float b);
00548 extern OCTAVE_API FloatNDArray betainc (float x, const FloatNDArray& a, const FloatNDArray& b);
00549
00550 extern OCTAVE_API FloatMatrix betainc (const FloatMatrix& x, float a, float b);
00551 extern OCTAVE_API FloatMatrix betainc (const FloatMatrix& x, float a, const FloatMatrix& b);
00552 extern OCTAVE_API FloatMatrix betainc (const FloatMatrix& x, const FloatMatrix& a, float b);
00553 extern OCTAVE_API FloatMatrix betainc (const FloatMatrix& x, const FloatMatrix& a, const FloatMatrix& b);
00554
00555 extern OCTAVE_API FloatNDArray betainc (const FloatNDArray& x, float a, float b);
00556 extern OCTAVE_API FloatNDArray betainc (const FloatNDArray& x, float a, const FloatNDArray& b);
00557 extern OCTAVE_API FloatNDArray betainc (const FloatNDArray& x, const FloatNDArray& a, float b);
00558 extern OCTAVE_API FloatNDArray betainc (const FloatNDArray& x, const FloatNDArray& a, const FloatNDArray& b);
00559
00560 extern OCTAVE_API double gammainc (double x, double a, bool& err);
00561 extern OCTAVE_API Matrix gammainc (double x, const Matrix& a);
00562 extern OCTAVE_API Matrix gammainc (const Matrix& x, double a);
00563 extern OCTAVE_API Matrix gammainc (const Matrix& x, const Matrix& a);
00564
00565 extern OCTAVE_API NDArray gammainc (double x, const NDArray& a);
00566 extern OCTAVE_API NDArray gammainc (const NDArray& x, double a);
00567 extern OCTAVE_API NDArray gammainc (const NDArray& x, const NDArray& a);
00568
00569 inline double gammainc (double x, double a)
00570 {
00571 bool err;
00572 return gammainc (x, a, err);
00573 }
00574
00575 extern OCTAVE_API float gammainc (float x, float a, bool& err);
00576 extern OCTAVE_API FloatMatrix gammainc (float x, const FloatMatrix& a);
00577 extern OCTAVE_API FloatMatrix gammainc (const FloatMatrix& x, float a);
00578 extern OCTAVE_API FloatMatrix gammainc (const FloatMatrix& x, const FloatMatrix& a);
00579
00580 extern OCTAVE_API FloatNDArray gammainc (float x, const FloatNDArray& a);
00581 extern OCTAVE_API FloatNDArray gammainc (const FloatNDArray& x, float a);
00582 extern OCTAVE_API FloatNDArray gammainc (const FloatNDArray& x, const FloatNDArray& a);
00583
00584 inline float gammainc (float x, float a)
00585 {
00586 bool err;
00587 return gammainc (x, a, err);
00588 }
00589
00590 extern OCTAVE_API Complex rc_log1p (double);
00591 extern OCTAVE_API FloatComplex rc_log1p (float);
00592
00593 extern OCTAVE_API double erfinv (double x);
00594 extern OCTAVE_API float erfinv (float x);
00595
00596 extern OCTAVE_API double erfcx (double x);
00597 extern OCTAVE_API float erfcx (float x);
00598
00599 #endif