Mercurial > octave-nkf
comparison scripts/specfun/betaln.m @ 9211:f0c3d3fc4903
Simplify Texinfo documentation in .m scripts by removing redundant @iftex calls
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 17 May 2009 14:39:39 -0700 |
parents | eb63fbe60fab |
children | a8ce6bdecce5 |
comparison
equal
deleted
inserted
replaced
9210:a7a9eecc07b5 | 9211:f0c3d3fc4903 |
---|---|
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Mapping Function} {} betaln (@var{a}, @var{b}) | 20 ## @deftypefn {Mapping Function} {} betaln (@var{a}, @var{b}) |
21 ## Return the log of the Beta function, | 21 ## Return the log of the Beta function, |
22 ## @iftex | |
23 ## @tex | 22 ## @tex |
24 ## $$ | 23 ## $$ |
25 ## B (a, b) = \log {\Gamma (a) \Gamma (b) \over \Gamma (a + b)}. | 24 ## B (a, b) = \log {\Gamma (a) \Gamma (b) \over \Gamma (a + b)}. |
26 ## $$ | 25 ## $$ |
27 ## @end tex | 26 ## @end tex |
28 ## @end iftex | |
29 ## @ifnottex | 27 ## @ifnottex |
30 ## | 28 ## |
31 ## @example | 29 ## @example |
32 ## betaln (a, b) = gammaln (a) + gammaln (b) - gammaln (a + b) | 30 ## betaln (a, b) = gammaln (a) + gammaln (b) - gammaln (a + b) |
33 ## @end example | 31 ## @end example |