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] Implement binary operators for Bernstein function arithmetics #107

Open hsloot opened 1 year ago

hsloot commented 1 year ago

Summary

Bernstein function arithmetics are possible by creating Bernstein functions of specific arithmetic ops classes such as SumOfBernsteinFunctions, ScaledBernsteinFunction, and CompositeScaledBernsteinFunction. However, non-trivival BF ops. require confusing nesting definitions instead of using intuitive operators.

Proposal

Define intuitive operators to perform Bernstein function arithmetics.