setRandomSeed 语法 setRandomSeed(seed) 参数 seed 是一个整数,表示随机数种子。 详情 设置随机数种子。 例子 setRandomSeed(5); rand(10, 10); 输出返回:[2,0,8,8,2,3,9,9,4,0]