home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / SPECFUN.DI$ / BETALN.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  289 b   |  12 lines

  1. function y = betaln(z,w)
  2. %BETALN    Logarithm of beta function.
  3. %    y = betaln(z,w).
  4. %    z and w must be compatible for addition.
  5. %
  6. %    See also BETAINC, BETA.
  7. %    Ref: Abramowitz & Stegun, sec. 6.2.
  8.  
  9. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  10.  
  11. y = gammaln(z)+gammaln(w)-gammaln(z+w);
  12.