When called with two arguments, this function allows you set options parameters for the function
quad
. Given one argument,quad_options
returns the value of the corresponding option. If no arguments are supplied, the names of all the available options and their current values are displayed.Options include
"absolute tolerance"
- Absolute tolerance; may be zero for pure relative error test.
"relative tolerance"
- Nonnegative relative tolerance. If the absolute tolerance is zero, the relative tolerance must be greater than or equal to
max (50*eps, 0.5e-28)
."single precision absolute tolerance"
- Absolute tolerance for single precision; may be zero for pure relative error test.
"single precision relative tolerance"
- Nonnegative relative tolerance for single precision. If the absolute tolerance is zero, the relative tolerance must be greater than or equal to
max (50*eps, 0.5e-28)
.