add_ndxb.m
来自「麻省理工学院的人工智能工具箱,很珍贵,希望对大家有用!」· M 代码 · 共 13 行
M
13 行
function id = add_ndxB(bigdom, smalldom, ns)
% ADD_MULT_NDX Possibly add new multiplication indexes to the global cache
% id = add_mult_ndx(bigdom, smalldom, ns)
%
% ns is the node sizes of all nodes
% id is the identifier for the cache entry, new or existingg.
global B_NDX B_UID_GEN
[id, newid, B_UID_GEN] = mk_uid(B_UID_GEN, {ns(bigdom), find_equiv_posns(smalldom, bigdom)});
if newid
B_NDX{id} = mk_ndxB(bigdom, smalldom, ns);
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?