lndet.m
来自「基于变分贝叶斯方法的状态空间模型学习程序」· M 代码 · 共 10 行
M
10 行
%result = lndet(Sigma);%%Returns the natural logarithm of the determinant of a%positive definite matrix, more accurately than the naive way.%%Matthew J. Beal 01/01/01function [result] = lndet(Sigma);result = 2*sum(log(diag(chol(Sigma))),1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?