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

m.domain = pot.domain;
m.T = pot.p;
m.U = pot.u;