Description Usage Arguments Value See Also Examples

Numerical quadrature of functions of one variable over [0, infinity) with the double exponential formula.

1 2 3 | ```
deformula.zeroinf(f, ...,
zero.eps = 1.0e-12, rel.tol = 1.0e-8,
start.divisions = 8, max.iter = 12)
``` |

`f` |
an R function taking a numeric first argument. |

`...` |
additional arguments to be passed to <e2><80><98>f<e2><80><99>. |

`zero.eps` |
a threshold value to be zero. |

`rel.tol` |
relative accuracy requested. |

`start.divisions` |
the initial number of subintervals. |

`max.iter` |
an integer for the maximum number of iterations to increase subintervals. |

returns a list with components;

`value` |
an value for integral. |

`x` |
a vector of subintervals. |

`w` |
a vector of weights. |

`t` |
a vector of subintervals for trapezoid integral. |

`h` |
a value of subinterval. |

`message` |
OK or a string for the error message. |

1 2 3 | ```
f <- function(x, a) exp(-a*x)
deformula.zeroinf(f, a=0.1)
``` |

deformula documentation built on May 29, 2017, 10:47 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.