lans_hashinit.m
来自「模式识别工具包」· M 代码 · 共 26 行
M
26 行
% lans_hashinit - Initialize a numerical hash structure%% [lhash] = lans_hashinit(d1,d2,...)%% _____OUTPUTS____________________________________________________________% lhash LANS hash structure (struct)% .list list of values in each dimension (cell)% .idx indices of values in each dimension (cell)% .max max # of elements in each cell dimension(cell)% .point current hash pointer/index (cell)% all initialized to 1% .read current pointed values (cell)%% .amax max # of elements (in all dimensions) (scalar)% .apoint current absolute pointer (scalar)%% _____INPUTS_____________________________________________________________% dn each dimension of hash table (row vector)% ...% % _____NOTES______________________________________________________________% - use mainly as a fault-recovery counter for lans_sim% - .cpoint faciliates indexing array access, i.e. .cpoint{:} as in% sex(vhash.cpoint{:})=tex% which cannot be done with sex(vhash.point)% however
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?