C++ function for computing mixture weights of Bernstein-Mixtures given the probabilities p, values w, and degree k.
Useful links