⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 .blogsumsparse.m

📁 Continuous Profile Models (CPM) Matlab Toolbox.
💻 M
字号:
function result = logsumSparse(xx)%function result = logsumSparse(xx,dim)% Wrapper for MEX function which computes logsum of a sparse% matrix, ignoring the entries which are not present (rather% than treating them as zeros).%% NOTE: ONLY WORKS FOR DIM=1global LOGREALMAXDIV2global TWOLOGNUMSTATES%alpha = max(xx,[],1) - log(realmax)/2 + 2*log(G.numStates);alpha = max(xx,[],1) - LOGREALMAXDIV2 + TWOLOGNUMSTATES;result=logsumSparseMEX(xx,alpha);   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -