fix more errors in the documentation (thanks Marc Mezzarobba)

This commit is contained in:
Fredrik Johansson 2015-08-24 16:34:27 +02:00
parent a44e95375a
commit 750ce765de
2 changed files with 4 additions and 4 deletions

View file

@ -250,7 +250,7 @@ Precision and comparisons
midpoints of *x*, and whose radius is the larger out of the real
and imaginary radiuses of *x*.
.. function:: long acb_rel_accuracy_bits(const arb_t x)
.. function:: long acb_rel_accuracy_bits(const acb_t x)
Returns the effective relative accuracy of *x* measured in bits,
equal to the negative of the return value from :func:`acb_rel_error_bits`.
@ -482,7 +482,7 @@ Trigonometric functions
.. function:: void acb_cos(acb_t c, const acb_t z, long prec)
.. function:: void acb_sin_cos(arb_t s, arb_t c, const arb_t z, long prec)
.. function:: void acb_sin_cos(acb_t s, acb_t c, const acb_t z, long prec)
Sets `s = \sin(z)`, `c = \cos(z)`, evaluated as
`\sin(a+bi) = \sin(a)\cosh(b) + i \cos(a)\sinh(b)`,

View file

@ -305,13 +305,13 @@ The error function
and an automatic algorithm choice. The *asymp* version takes a second
precision to use for the *U* term.
.. function:: void acb_hypgeom_erfc(acb_t res, const acb_t s, const acb_t z, long prec)
.. function:: void acb_hypgeom_erfc(acb_t res, const acb_t z, long prec)
Computes the complementary error function
`\operatorname{erfc}(z) = 1 - \operatorname{erf}(z)`.
This function avoids catastrophic cancellation for large positive *z*.
.. function:: void acb_hypgeom_erfi(acb_t res, const acb_t s, const acb_t z, long prec)
.. function:: void acb_hypgeom_erfi(acb_t res, const acb_t z, long prec)
Computes the imaginary error function
`\operatorname{erfi}(z) = -i\operatorname{erf}(iz)`. This is a trivial wrapper