Question: Sample number cannot be in 1E6 form

It seems that Sample  works with only posints as the number of samples (Maple 12):

 restart;
 with(Statistics);

X:=RandomVariable(Uniform(-1,1));

xs:=Sample(X,1E6);

# it gives an error

xs:=Sample(X,1000000); # it is ok.

 

It would be more convenient to use the 1E6 form too.

Please Wait...