about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/potentials/@dpot/pot_to_marginal.m
blob: 36ed70eac12d6105945cd85d1ec646a5ea609f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function m = pot_to_marginal(pot)
% POT_TO_MARGINAL Convert a dpot to a marginal structure.
% m = pot_to_marginal(pot)

m.domain = pot.domain;
m.T = pot.T;
m.mu = [];
m.Sigma = [];  

%if isvector(m.T)
%  m.T = m.T(:);
%end