代码搜索:Definite
找到约 349 项符合「Definite」的源代码
代码结果 349
www.eeworm.com/read/349646/10808765
m rand_psd.m
function M = rand_psd(d, d2, k)
% Create a random positive definite matrix of size d by d by k (k defaults to 1)
% M = rand_psd(d, d2, k) default: d2 = d, k = 1
if nargin
www.eeworm.com/read/349646/10809557
m logdet.m
function y = logdet(A)
% log(det(A)) where A is positive-definite.
% This is faster and more stable than using log(det(A)).
% From Tom Minka's lightspeed toolbox
U = chol(A);
y = 2*sum(log(d
www.eeworm.com/read/349646/10809799
m rand_psd.m
function M = rand_psd(d, d2, k)
% Create a random positive definite matrix of size d by d by k (k defaults to 1)
% M = rand_psd(d, d2, k) default: d2 = d, k = 1
if nargin
www.eeworm.com/read/469416/6976212
m logdet.m
function y = logdet(A)
% log(det(A)) where A is positive-definite.
% This is faster and more stable than using log(det(A)).
% From Tom Minka's lightspeed toolbox
U = chol(A);
y = 2*sum(log(d
www.eeworm.com/read/469416/6976268
m rand_psd.m
function M = rand_psd(d, d2, k)
% Create a random positive definite matrix of size d by d by k (k defaults to 1)
% M = rand_psd(d, d2, k) default: d2 = d, k = 1
if nargin
www.eeworm.com/read/448535/7531442
m compmap4.m
% test the positive semi-definite mapping
% Copyright 1999 by Todd K. Moon
B = [8 -3 8
-3 -2 -7
8 -7 2];
numiter = 1;
while (numiter < 200)
[u,v] = eig(B);
idx = diag(v) > 0;
www.eeworm.com/read/140851/13058714
m logdet.m
function y = logdet(A)
% log(det(A)) where A is positive-definite.
% This is faster and more stable than using log(det(A)).
% From Tom Minka's lightspeed toolbox
U = chol(A);
y = 2*sum(log(d
www.eeworm.com/read/140851/13058853
m rand_psd.m
function M = rand_psd(d, d2, k)
% Create a random positive definite matrix of size d by d by k (k defaults to 1)
% M = rand_psd(d, d2, k) default: d2 = d, k = 1
if nargin
www.eeworm.com/read/138798/13211649
m logdet.m
function y = logdet(A)
% log(det(A)) where A is positive-definite.
% This is faster and more stable than using log(det(A)).
% From Tom Minka's lightspeed toolbox
U = chol(A);
y = 2*sum(log(d
www.eeworm.com/read/138798/13211788
m rand_psd.m
function M = rand_psd(d, d2, k)
% Create a random positive definite matrix of size d by d by k (k defaults to 1)
% M = rand_psd(d, d2, k) default: d2 = d, k = 1
if nargin