Product#
- class tinygp.kernels.quasisep.Product(kernel1: Quasisep, kernel2: Quasisep)[source]#
Bases:
Quasisep
A helper to represent the product of two quasiseparable kernels
- coord_to_sortable(X: tinygp.helpers.JAXArray) tinygp.helpers.JAXArray [source]#
We assume that both kernels use the same coordinates
- evaluate(X1: tinygp.helpers.JAXArray, X2: tinygp.helpers.JAXArray) tinygp.helpers.JAXArray #
The kernel evaluated via the quasiseparable representation
- evaluate_diag(X: tinygp.helpers.JAXArray) tinygp.helpers.JAXArray #
For quasiseparable kernels, the variance is simple to compute
- observation_model(X: tinygp.helpers.JAXArray) tinygp.helpers.JAXArray [source]#
The observation model for the process
- to_general_qsm(X1: tinygp.helpers.JAXArray, X2: tinygp.helpers.JAXArray) GeneralQSM #
The generalized quasiseparable representation of this kernel