1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 50_incomplete_gamma.dpatch by Thomas Weber <thomas.weber.mail@gmail.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Patch for #335195, taken from Octave 2.9;
6
## it enhances the documentation of the gammainc function
9
diff -urNad octave-2.1.73~/src/DLD-FUNCTIONS/gammainc.cc octave-2.1.73/src/DLD-FUNCTIONS/gammainc.cc
10
--- octave-2.1.73~/src/DLD-FUNCTIONS/gammainc.cc 2005-05-02 13:17:21.000000000 +0200
11
+++ octave-2.1.73/src/DLD-FUNCTIONS/gammainc.cc 2006-03-24 14:29:33.000000000 +0100
13
DEFUN_DLD (gammainc, args, ,
15
@deftypefn {Mapping Function} {} gammainc (@var{x}, @var{a})\n\
16
-Computes the incomplete gamma function,\n\
17
+Compute the normalized incomplete gamma function,\n\
27
+with the limiting value of 1 as @var{x} approaches infinity.\n\
28
+The standard notation is @math{P(a,x)}, e.g. Abramowitz and Stegun (6.5.1).\n\
30
If @var{a} is scalar, then @code{gammainc (@var{x}, @var{a})} is returned\n\
31
for each element of @var{x} and vice versa.\n\
33
If neither @var{x} nor @var{a} is scalar, the sizes of @var{x} and\n\
34
@var{a} must agree, and @var{gammainc} is applied element-by-element.\n\
36
-@seealso{gamma and lgamma}")
37
+@seealso{gamma, lgamma}\n\