📄 my_sample_discrete.m
字号:
function M = my_sample_discrete(prob)
% A faster version that calls a c subfunction. Will update one
% day to have r and c parameters as well
R = rand (1,1);
M = sample_single_discrete(R, prob);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -