Exemplo 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
Exemplo 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