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