hsloot / rmo

An R package for Marshall--Olkin distributions and copulas.
https://hsloot.github.io/rmo/
GNU General Public License v3.0
5 stars 2 forks source link

[FEAT] Bernstein function should have properties for `calcIterativeDifference` calculation #102

Open hsloot opened 2 years ago

hsloot commented 2 years ago

Summary

Make the method and tolerance parameters of the calcIterativeDifference method for LevyBernsteinFunctions and CompleteBernsteinFunctions part of the Bernstein function.

Proposal

The class LevyBernsteinFunction should get two additional slots method and tolerance which can be set at construction.