Sample normal distribution given standard normal samples

61 Views Asked by At

I have a method which returns random samples from a standard normal distribution, i.e. mean 0 and standard deviation 1.

How can I alter these samples so they have a different deviation? For example, I want to sample from a normal distribution with mean 0 and standard deviation 2?

What operation do I need to apply to the samples from the standard normal distribution?