You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> import cyaron as cy
>>> l = cy.Vector.random(100000,)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\_____\AppData\Roaming\Python\Python311\site-packages\cyaron\vector.py", line 53, in random
raise Exception("1st param is so large that CYaRon can not generate unique vectors")
Exception: 1st param is so large that CYaRon can not generate unique vectors
>>> l = cy.Vector.random(100000, [10])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\_____\AppData\Roaming\Python\Python311\site-packages\cyaron\vector.py", line 53, in random
raise Exception("1st param is so large that CYaRon can not generate unique vectors")
Exception: 1st param is so large that CYaRon can not generate unique vectors
>>> l = cy.Vector.random(100000, [100000])
>>> len(l)
100000
>>> big_l = cy.Vector.random(1000000, [1000000])
>>> big_l = cy.Vector.random(1000000, [100000000])
>>>
我想生成一个1e5的不重复数列,但是提示数据太大,Vector能生成的最大数量是多少呢?
The text was updated successfully, but these errors were encountered: