Mercurial > hg > octave-lyh
comparison src/mappers.cc @ 11572:7d6d8c1e471f
Grammarcheck Texinfo for files in src directory.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 19 Jan 2011 17:51:22 -0800 |
parents | 34bb8d38f19f |
children | 12df7854fa7c |
comparison
equal
deleted
inserted
replaced
11571:0e414f837c58 | 11572:7d6d8c1e471f |
---|---|
538 */ | 538 */ |
539 | 539 |
540 DEFUN (erf, args, , | 540 DEFUN (erf, args, , |
541 "-*- texinfo -*-\n\ | 541 "-*- texinfo -*-\n\ |
542 @deftypefn {Mapping Function} {} erf (@var{z})\n\ | 542 @deftypefn {Mapping Function} {} erf (@var{z})\n\ |
543 Computes the error function,\n\ | 543 Compute the error function,\n\ |
544 @tex\n\ | 544 @tex\n\ |
545 $$\n\ | 545 $$\n\ |
546 {\\rm erf} (z) = {2 \\over \\sqrt{\\pi}}\\int_0^z e^{-t^2} dt\n\ | 546 {\\rm erf} (z) = {2 \\over \\sqrt{\\pi}}\\int_0^z e^{-t^2} dt\n\ |
547 $$\n\ | 547 $$\n\ |
548 @end tex\n\ | 548 @end tex\n\ |
602 */ | 602 */ |
603 | 603 |
604 DEFUN (erfinv, args, , | 604 DEFUN (erfinv, args, , |
605 "-*- texinfo -*-\n\ | 605 "-*- texinfo -*-\n\ |
606 @deftypefn {Mapping Function} {} erfinv (@var{x})\n\ | 606 @deftypefn {Mapping Function} {} erfinv (@var{x})\n\ |
607 Computes the inverse error function, i.e., @var{y} such that\n\ | 607 Compute the inverse error function, i.e., @var{y} such that\n\ |
608 \n\ | 608 \n\ |
609 @example\n\ | 609 @example\n\ |
610 erf(@var{y}) == @var{x}\n\ | 610 erf(@var{y}) == @var{x}\n\ |
611 @end example\n\ | 611 @end example\n\ |
612 @seealso{erf, erfc, erfcx}\n\ | 612 @seealso{erf, erfc, erfcx}\n\ |
637 */ | 637 */ |
638 | 638 |
639 DEFUN (erfc, args, , | 639 DEFUN (erfc, args, , |
640 "-*- texinfo -*-\n\ | 640 "-*- texinfo -*-\n\ |
641 @deftypefn {Mapping Function} {} erfc (@var{z})\n\ | 641 @deftypefn {Mapping Function} {} erfc (@var{z})\n\ |
642 Computes the complementary error function,\n\ | 642 Compute the complementary error function,\n\ |
643 @tex\n\ | 643 @tex\n\ |
644 $1 - {\\rm erf} (z)$.\n\ | 644 $1 - {\\rm erf} (z)$.\n\ |
645 @end tex\n\ | 645 @end tex\n\ |
646 @ifnottex\n\ | 646 @ifnottex\n\ |
647 @code{1 - erf (@var{z})}.\n\ | 647 @code{1 - erf (@var{z})}.\n\ |
667 */ | 667 */ |
668 | 668 |
669 DEFUN (erfcx, args, , | 669 DEFUN (erfcx, args, , |
670 "-*- texinfo -*-\n\ | 670 "-*- texinfo -*-\n\ |
671 @deftypefn {Mapping Function} {} erfcx (@var{z})\n\ | 671 @deftypefn {Mapping Function} {} erfcx (@var{z})\n\ |
672 Computes the scaled complementary error function,\n\ | 672 Compute the scaled complementary error function,\n\ |
673 @tex\n\ | 673 @tex\n\ |
674 $z^2 (1 - {\\rm erf} (z))$.\n\ | 674 $z^2 (1 - {\\rm erf} (z))$.\n\ |
675 @end tex\n\ | 675 @end tex\n\ |
676 @ifnottex\n\ | 676 @ifnottex\n\ |
677 @code{z^2*(1 - erf (@var{z}))}.\n\ | 677 @code{z^2*(1 - erf (@var{z}))}.\n\ |
867 */ | 867 */ |
868 | 868 |
869 DEFUN (gamma, args, , | 869 DEFUN (gamma, args, , |
870 "-*- texinfo -*-\n\ | 870 "-*- texinfo -*-\n\ |
871 @deftypefn {Mapping Function} {} gamma (@var{z})\n\ | 871 @deftypefn {Mapping Function} {} gamma (@var{z})\n\ |
872 Computes the Gamma function,\n\ | 872 Compute the Gamma function,\n\ |
873 @tex\n\ | 873 @tex\n\ |
874 $$\n\ | 874 $$\n\ |
875 \\Gamma (z) = \\int_0^\\infty t^{z-1} e^{-t} dt.\n\ | 875 \\Gamma (z) = \\int_0^\\infty t^{z-1} e^{-t} dt.\n\ |
876 $$\n\ | 876 $$\n\ |
877 @end tex\n\ | 877 @end tex\n\ |