def CorrelatedNormalGenerator(mu, sigma, rho):
 for x in CorrelatedGenerator(rho):
  (yield ((x * sigma) + mu))

def CorrelatedNormalGenerator ( mu , sigma , rho ) : for x in CorrelatedGenerator ( rho ) : ( yield ( ( x * sigma ) + mu ) )
generates normal variates with serial correlation .