% PRIOR toolbox
% Version 0.22		17-Apr-2009
% Copyright (c) 2009, Neil D. Lawrence
% 
, Neil D. Lawrence
% GAUSSIANPRIOREXPANDPARAM Expand Gaussian prior structure from param vector.
% NORMUNIPRIOREXTRACTPARAM Extract params from normal uniform prior structure.
% LAPLACEPRIOREXTRACTPARAM Extract params from Laplace prior structure.
% PRIORTOOLBOXES Load in the relevant toolboxes for kern.
% GAMMAPRIORGRADIENT Gradient wrt x of the gamma prior.
% PRIORLOGPROB Log probability of given prior.
% NORMUNIPRIOREXPANDPARAM Expand Normal uniform prior structure from param vector.
% GAUSSIANPRIOREXTRACTPARAM Extract params from Gaussian prior structure.
% PRIORPARAMINIT Prior model's parameter initialisation.
% GAUSSIANPRIORLOGPROB Log probability of Gaussian prior.
% GAMMAPRIORPARAMINIT Gamma prior model's parameter initialisation.
% NORMUNIPRIORLOGPROB Log probability of a normal uniform.
% WANGPRIORLOGPROB Log probability of Wang prior.
% LAPLACEPRIORPARAMINIT Laplace prior model's parameter initialisation.
% NORMUNIPRIORPARAMINIT Normal uniform prior model's parameter initialisation.
% LAPLACEPRIOREXPANDPARAM Expand Laplace prior structure from param vector.
% GAMMAPRIOREXTRACTPARAM Extract params from gamma prior structure.
% WANGPRIOREXTRACTPARAM Extract params from Wang prior structure.
% PRIORCREATE Create a prior structure given a type.
% NORMUNIPRIORGRADIENT Gradient wrt x of the log normal uniform prior.
% LAPLACEPRIORLOGPROB Log probability of Laplace prior.
% PRIORGRADIENT Gradient of the prior with respect to its variables
% LAPLACEPRIORGRADIENT Gradient wrt x of the log Laplace prior.
% WANGPRIORPARAMINIT Wang prior model's parameter initialisation.
% GAMMAPRIORLOGPROB Log probability of Gamma prior.
% PRIORWRITETOFID Write a prior to a C++ stream.
% PRIORWRITEPARAMSTOFID Write prior params from C++ written FID.
% GAUSSIANPRIORGRADIENT Gradient wrt x of the log Gaussian prior.
% INVGAMMAPRIOREXTRACTPARAM Extract params from inverse gamma prior structure.
% WANGPRIOREXPANDPARAM Expand wang prior structure from params.
% INVGAMMAPRIORPARAMINIT Inverse gamma prior model's parameter initialisation.
% PRIORTEST Run some tests on the specified prior.
% GAMMAPRIOREXPANDPARAM Expand gamma prior structure from params.
% GAUSSIANPRIORPARAMINIT Gaussian prior model's parameter initialisation.
% WANGPRIORGRADIENT Gradient wrt x of the Wang prior.
% PRIOREXPANDPARAM Expand the prior model's parameters from params vector.
% PRIORREADFROMFID Read a prior from a C++ written FID.
% INVGAMMAPRIOREXPANDPARAM Expand inverse gamma prior structure from params.
% PRIORREADPARAMSFROMFID Read prior params from C++ written FID.
% PRIOREXTRACTPARAM Extract the prior model's parameters.
% INVGAMMAPRIORGRADIENT Gradient wrt x of the log Gaussian prior.
% INVGAMMAPRIORLOGPROB Log probability of inverse gamma prior.
