weighted_function_generator: Generate a weighted function.
Description
Generate a weighted function.
Usage
weighted_function_generator(func, weights, params)
Arguments
- func
Function that is used of the form func(x, params).
- weights
Weighting of each cluster.
- params
Cluster parameter list