Code covered by the BSD License
by Attilio Meucci
02 Sep 2008
(Updated 09 May 2011)
Full generalization of Black-Litterman and related techniques via entropy pooling
function p_ = ViewCurveSlope(X,p)
% constrain probabilities to sum to one...
Aeq = ones(1,J);
% ...constrain the expectation...
% ...compute posterior probabilities
p_ = EntropyProg(p,A,b,Aeq ,beq);