sage: func(x) = x^2
sage: func_noise = func + normalvariate(0,1); func_noise
x |--> x^2 - 0.4436993396832335
How can one force the normalvariate
to generate the number only on function evaluation?
1 | initial version |
sage: func(x) = x^2
sage: func_noise = func + normalvariate(0,1); func_noise
x |--> x^2 - 0.4436993396832335
How can one force the normalvariate
to generate the number only on function evaluation?
2 | No.2 Revision |
sage: func(x) = x^2
x^2
sage: func_noise = func + normalvariate(0,1);
func_noise
func_noise
x |--> x^2 -
0.44369933968323350.4436993396832335
How can one force the normalvariate
to generate the number only on function evaluation?