Or maybe a feature? In normal python + numpy
import numpy.random as random random.RandomState(22)
works as expected, whereas in sage, the input has to be an array (e.g. [22]). Anyone know why?
| 1 | initial version |
Or maybe a feature? In normal python + numpy
import numpy.random as random random.RandomState(22)
works as expected, whereas in sage, the input has to be an array (e.g. [22]). Anyone know why?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.