rand

dolfin.cpp.function.rand() → 'double'

Return a random number, uniformly distributed between [0.0, 1.0)