I have an std::vector<double>
or random numbers [0, 1]. (How) Can I use the standard library to convert it to a specific (e.g. Weibull) distribution (using the distribution's cumulative distribution)?
To be clear: I don't have what the standard library considers a "generator" (I don't have a class whose operator()
returns an integer). I already have a list of random doubles [0, 1] and want to just use the standard library's implementation of the cumulative density function of the different distributions (e.g. Weibull).