<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Gpr_interfaces.Specs.Deriv.Inducing.html"> <link rel="Up" href="Gpr_interfaces.Specs.Deriv.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Gpr" rel="Chapter" href="Gpr.html"> <link title="Gpr_interfaces" rel="Chapter" href="Gpr_interfaces.html"> <link title="Gpr_utils" rel="Chapter" href="Gpr_utils.html"> <link title="Gpr_block_diag" rel="Chapter" href="Gpr_block_diag.html"> <link title="Gpr_cov_const" rel="Chapter" href="Gpr_cov_const.html"> <link title="Gpr_cov_lin_ard" rel="Chapter" href="Gpr_cov_lin_ard.html"> <link title="Gpr_cov_lin_one" rel="Chapter" href="Gpr_cov_lin_one.html"> <link title="Gpr_cov_se_iso" rel="Chapter" href="Gpr_cov_se_iso.html"> <link title="Gpr_cov_se_fat" rel="Chapter" href="Gpr_cov_se_fat.html"> <link title="Gpr_fitc_gp" rel="Chapter" href="Gpr_fitc_gp.html"> <link title="Gpr_version" rel="Chapter" href="Gpr_version.html"><title>Gpr_interfaces.Specs.Deriv.Inputs</title> </head> <body> <div class="navbar"><a class="pre" href="Gpr_interfaces.Specs.Deriv.Inducing.html" title="Gpr_interfaces.Specs.Deriv.Inducing">Previous</a> <a class="up" href="Gpr_interfaces.Specs.Deriv.html" title="Gpr_interfaces.Specs.Deriv">Up</a> </div> <h1>Module <a href="type_Gpr_interfaces.Specs.Deriv.Inputs.html">Gpr_interfaces.Specs.Deriv.Inputs</a></h1> <pre><span class="keyword">module</span> Inputs: <code class="code">sig</code> <a href="Gpr_interfaces.Specs.Deriv.Inputs.html">..</a> <code class="code">end</code></pre><div class="info module top"> Derivatives of the (cross-) covariance matrix of inputs.<br> </div> <hr width="100%"> <pre><span id="TYPEdiag"><span class="keyword">type</span> <code class="type"></code>diag</span> </pre> <div class="info "> Representation of precomputed data for calculating the derivative of the diagonal of the covariance matrix of inputs.<br> </div> <pre><span id="TYPEcross"><span class="keyword">type</span> <code class="type"></code>cross</span> </pre> <div class="info "> Representation of precomputed data for calculating the derivative of the cross-covariance matrix between inputs and inducing inputs.<br> </div> <pre><span id="VALcalc_shared_diag"><span class="keyword">val</span> calc_shared_diag</span> : <code class="type">Eval.Kernel.t -><br> <a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">Gpr_interfaces.Specs.Eval.Inputs.t</a> -><br> Lacaml.D.vec * <a href="Gpr_interfaces.Specs.Deriv.Inputs.html#TYPEdiag">diag</a></code></pre><div class="info "> <code class="code">calc_shared_diag kernel inputs</code><br> <b>Returns</b> the pair <code class="code">(eval, diag)</code>, where <code class="code">eval</code> is the diagonal of the covariance matrix of <code class="code">inputs</code> for <code class="code">kernel</code>, and <code class="code">diag</code> is the precomputed data needed for taking derivatives.<br> </div> <pre><span id="VALcalc_shared_cross"><span class="keyword">val</span> calc_shared_cross</span> : <code class="type">Eval.Kernel.t -><br> inputs:<a href="Gpr_interfaces.Specs.Eval.Inputs.html#TYPEt">Gpr_interfaces.Specs.Eval.Inputs.t</a> -><br> inducing:<a href="Gpr_interfaces.Specs.Eval.Inducing.html#TYPEt">Gpr_interfaces.Specs.Eval.Inducing.t</a> -><br> Lacaml.D.mat * <a href="Gpr_interfaces.Specs.Deriv.Inputs.html#TYPEcross">cross</a></code></pre><div class="info "> <code class="code">calc_shared_cross kernel ~inputs ~inducing</code><br> <b>Returns</b> the pair <code class="code">(eval, cross)</code>, where <code class="code">eval</code> is the cross-covariance matrix of inputs and inducing inputs for <code class="code">kernel</code>, and <code class="code">diag</code> is the precomputed data needed for taking derivatives.<br> </div> <pre><span id="VALcalc_deriv_diag"><span class="keyword">val</span> calc_deriv_diag</span> : <code class="type"><a href="Gpr_interfaces.Specs.Deriv.Inputs.html#TYPEdiag">diag</a> -><br> <a href="Gpr_interfaces.Specs.Deriv.Hyper.html#TYPEt">Gpr_interfaces.Specs.Deriv.Hyper.t</a> -> <a href="Gpr_interfaces.html#TYPEdiag_deriv">Gpr_interfaces.diag_deriv</a></code></pre><div class="info "> <code class="code">calc_deriv_diag diag hyper</code><br> <b>Returns</b> the derivative of the diagonal of the covariance matrix of inputs given precomputed data <code class="code">diag</code> and the <code class="code">hyper</code>-variable.<br> </div> <pre><span id="VALcalc_deriv_cross"><span class="keyword">val</span> calc_deriv_cross</span> : <code class="type"><a href="Gpr_interfaces.Specs.Deriv.Inputs.html#TYPEcross">cross</a> -><br> <a href="Gpr_interfaces.Specs.Deriv.Hyper.html#TYPEt">Gpr_interfaces.Specs.Deriv.Hyper.t</a> -> <a href="Gpr_interfaces.html#TYPEmat_deriv">Gpr_interfaces.mat_deriv</a></code></pre><div class="info "> <code class="code">calc_deriv_cross cross hyper</code><br> <b>Returns</b> the derivative of the cross-covariance matrix of the inputs and inducing inputs given precomputed data <code class="code">cross</code> and the <code class="code">hyper</code>-variable.<br> </div> </body></html>