Esempio n. 1
0
def rand(n, minVal=0.0, maxVal=1.0):
    """Create RVector of length n with normally distributed random numbers."""
    r = pg.RVector(n)
    pg.rand(r, minVal, maxVal)
    return r
Esempio n. 2
0
def rand(n, minVal=0.0, maxVal=1.0):
    """Create RVector of length n with normally distributed random numbers."""
    r = pg.RVector(n)
    pg.rand(r, minVal, maxVal)
    return r