# Random number generator based on probability distribution

1) What are the formulas for function 'random' and 'wblrnd' to generate the random numbers? assuming that I need these formula for coding in C++.

2) What are the differences between random numbers generated from function 'random' and 'wblrnd' for Weibull distribution?

3) It seems that MATLAB only supported 'random' function for Log Logistic Distribution. Is there any other formula to generate random numbers for Log Logistic Distribution? assuming that I need this formula for coding in C++