The functions in this module are called by the BQ object, and in most cases shouldn’t need to be called directly by user code. However, they are provided here for reference.
Approximates integrals of the form:
where \(K\) is a kernel.
Parameters : | out : float64_t[::1]
xo : float64_t[::1, :]
Kxxo : float64_t[::1, :]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Approximates integrals of the form:
where \(K_1\) and \(K_2\) are kernels.
Parameters : | out : float64_t[::1, :]
xo : float64_t[::1, :]
K1xxo : float64_t[::1, :]
K2xxo : float64_t[::1, :]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Approximates integrals of the form:
where \(K_1\) and \(K_2\) are kernels.
Parameters : | xo : float64_t[::1, :]
Kxoxo : float64_t[::1, :]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : value of the integral |
Approximates integrals of the form:
where \(K_1\) and \(K_2\) are kernels.
Parameters : | out : float64_t[::1]
xo : float64_t[::1, :]
K1xoxo : float64_t[::1, :]
K2xxo : float64_t[::1, :]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Computes integrals of the form:
where \(K_1\) and \(K_2\) are kernels.
Parameters : | out : float64_t[::1, :]
xo : float64_t[::1, :]
K1xxo : float64_t[::1, 1]
K2xoxo : float64_t[::1, 1]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Computes integrals of the form:
where \(K\) is a Gaussian kernel matrix parameterized by \(h\) and \(w\).
The result is:
Parameters : | out : float64_t[::1]
x : float64_t[::1, :]
h : float64_t
w : float64_t[::1]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Computes integrals of the form:
where \(K_1\) is a Gaussian kernel matrix parameterized by \(h_1\) and \(w_1\), and \(K_2\) is a Gaussian kernel matrix parameterized by \(h_2\) and \(w_2\).
The result is:
Parameters : | out : float64_t[::1, :]
x1 : float64_t[::1, :]
x2 : float64_t[::1, :]
h1 : float64_t
w1 : float64_t[::1]
h2 : float64_t
w2 : float64_t[::1]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Computes integrals of the form:
Parameters : | c : float64_t
m : float64_t
S : float64_t
|
---|---|
Returns : | out : value of the integral |
Computes integrals of the form:
where \(K_1\) is a Gaussian kernel matrix parameterized by \(h_1\) and \(w_1\), and \(K_2\) is a Gaussian kernel matrix parameterized by \(h_2\) and \(w_2\).
The result is:
Parameters : | d : int32_t
h : float64_t
w : float64_t[::1]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : value of the integral |
Computes integrals of the form:
where \(K_1\) is a Gaussian kernel matrix parameterized by \(h_1\) and \(w_1\), and \(K_2\) is a Gaussian kernel matrix parameterized by \(h_2\) and \(w_2\).
The result is:
Parameters : | out : float64_t[::1]
x : float64_t[::1, :]
h1 : float64_t
w1 : float64_t[::1]
h2 : float64_t
w2 : float64_t[::1]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Computes integrals of the form:
where \(K_1\) is a Gaussian kernel matrix parameterized by \(h_1\) and \(w_1\), and \(K_2\) is a Gaussian kernel matrix parameterized by \(h_2\) and \(w_2\).
The result is:
where \(\Gamma = \Sigma(Iw_1 + \Sigma)^{-1}\).
Parameters : | out : float64_t[::1, :]
x : float64_t[::1, :]
h1 : float64_t
w1 : float64_t[::1]
h2 : float64_t
w2 : float64_t[::1]
mu : float64_t[::1]
cov : float64_t[::1, :]
|
---|---|
Returns : | out : 0 on success, -1 on failure |
Computes the log-PDF for a multivariate normal distribution for a single point \(x\).
Parameters : | x : float64_t[::1]
m : float64_t[::1]
L : float64_t[::1, :]
logdet : float64_t
|
---|---|
Returns : | out : log PDF evaluated at \(x\) |