没有合适的资源?快使用搜索试试~ 我知道了~
xrandom:Xorshift随机数生成器
共69个文件
txt:30个
dart:25个
yaml:4个
需积分: 33 0 下载量 101 浏览量
2021-03-15
11:34:23
上传
评论 1
收藏 1.26MB ZIP 举报
温馨提示
Dart中的快速随机数生成器。 算法是最快的随机数生成器中已知的,它需要非常小的代码和状态。 速度 使用AOT编译的二进制文件生成1亿个随机数。 时间(越低越好) nextInt 下一个双人间 nextBool 随机(dart:math) 2323 3107 2264 Xorshift32 1269 1930年 1467 简单 与标准兼容 import 'package:xrandom/xrandom.dart' ; Random xrandom = Xorshift32 (); var a = xrandom. nextBool (); var b = xrandom. nextDouble (); var c = xrandom. nextInt (n); 决定论 Xrandom的类具有deterministic方法。 通过这样创建对象,您每次都会获得相同的数字
资源推荐
资源详情
资源评论
收起资源包目录
xrandom-master.zip (69个子文件)
xrandom-master
pubspec.yaml 266B
.github
workflows
unittest.yml 938B
reference
myfile2.txt 17KB
run.sh 201B
reference.c 16KB
update_data_dart.sh 87B
lib
src
xorshift64.dart 1KB
seeding.dart 588B
xorshift128plus.dart 4KB
xorshift128.dart 2KB
00_ints.dart 3KB
10_random_base.dart 9KB
xorshift32.dart 1KB
00_errors.dart 109B
xoshiro128pp.dart 2KB
xrandom.dart 422B
benchmark
pubspec.yaml 310B
run.sh 165B
test
cli_test.dart 160B
analysis_options.yaml 434B
results.txt 6KB
.gitignore 153B
bin
nullsafe_tabulate.dart 2KB
benchmark.dart 4KB
example
main.dart 332B
LICENSE 1KB
test
xoshiro128pp_test.dart 3KB
madsen.dart 10KB
helper.dart 7KB
unirandom64_test.dart 2KB
xorshift128plus_test.dart 4KB
xorshift64_test.dart 3KB
xorshift32_test.dart 2KB
node_unsuported_tests.dart 503B
xorshift128_test.dart 2KB
int_test.dart 1KB
helper_test.dart 464B
data
xorshift64_b_int.txt 68KB
xorshift64_c_int.txt 68KB
xorshift64_a_int.txt 68KB
xorshift128p_a_double_mult.txt 108KB
xorshift64_a_double_cast.txt 108KB
xorshift128p_b_double_cast.txt 108KB
xorshift128p_b_double_mult.txt 108KB
xorshift128p_c_double_cast.txt 108KB
xorshift128p_c_double_mult.txt 108KB
xorshift64_a_double_mult.txt 108KB
xorshift32_b_double_mult.txt 108KB
xorshift32_b_double_cast.txt 108KB
xorshift32_a_double_mult.txt 108KB
xorshift32_c_int.txt 72KB
xorshift64_c_double_cast.txt 108KB
xorshift32_c_double_mult.txt 108KB
xorshift64_b_double_cast.txt 108KB
xorshift128p_c_int.txt 68KB
xorshift32_c_double_cast.txt 108KB
xorshift32_b_int.txt 72KB
xorshift128p_a_double_cast.txt 108KB
xorshift32_a_int.txt 72KB
xorshift64_c_double_mult.txt 108KB
xorshift32_a_double_cast.txt 108KB
xorshift128p_a_int.txt 68KB
xorshift64_b_double_mult.txt 108KB
xorshift128p_b_int.txt 68KB
README.md 6KB
analysis_options.yaml 375B
todo.txt 1B
.gitignore 2KB
CHANGELOG.md 344B
共 69 条
- 1
资源评论
简内特
- 粉丝: 29
- 资源: 4715
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功