# HG changeset patch # User Rik # Date 1305063933 25200 # Node ID eae41900ca01f5b0a2bc50edc52e4ff8b4b9946f # Parent 8673b08a52bfe5bf25d9573abb6de3b7a230024c Use correct definition of erfcx in documentation. * mappers.cc (erfcx): Change scale factor to exp(z^2) in documentation. diff -r 8673b08a52bf -r eae41900ca01 src/mappers.cc --- a/src/mappers.cc Tue May 10 14:14:12 2011 -0700 +++ b/src/mappers.cc Tue May 10 14:45:33 2011 -0700 @@ -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")