Mercurial > hg > octave-terminal
changeset 12660:eae41900ca01 stable
Use correct definition of erfcx in documentation.
* mappers.cc (erfcx): Change scale factor to exp(z^2) in documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 10 May 2011 14:45:33 -0700 |
parents | 8673b08a52bf |
children | 9f91ca870f91 |
files | src/mappers.cc |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mappers.cc +++ b/src/mappers.cc @@ -672,10 +672,16 @@ @deftypefn {Mapping Function} {} erfcx (@var{z})\n\ Compute the scaled complementary error function,\n\ @tex\n\ -$z^2 (1 - {\\rm erf} (z))$.\n\ +$$\n\ + e^{z^2} {\\rm erfc} (z) \\equiv e^{z^2} (1 - {\\rm erf} (z))\n\ +$$\n\ @end tex\n\ @ifnottex\n\ -@w{@code{z^2*(1 - erf (@var{z}))}}.\n\ +\n\ +@example\n\ +exp (z^2) * erfc (x)\n\ +@end example\n\ +\n\ @end ifnottex\n\ @seealso{erfc, erf, erfinv}\n\ @end deftypefn")