.. index:: pair: namespace; gpr::capi::testing .. _doxid-namespacegpr_1_1capi_1_1testing: namespace gpr::capi::testing ============================ .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace testing { // global functions :ref:`gpr::GaussianProcessRegression`* :ref:`nativeModel`(:ref:`gpr_model_t` model); int :ref:`setHssvdBackend`(:ref:`gpr_model_t` model, :ref:`gpr_hssvd_backend_t` selection); } // namespace testing .. _details-namespacegpr_1_1capi_1_1testing: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; nativeModel .. _doxid-namespacegpr_1_1capi_1_1testing_1a545705f6f33423791b53b747e84f238e: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`gpr::GaussianProcessRegression`* nativeModel(:ref:`gpr_model_t` model) The native Gaussian process behind ``model``. A test may change reporting options on it, such as the variance convention, before it queries the handle. .. rubric:: Returns: nullptr for a NULL, released or non-GP handle, or one that has not been initialized. .. index:: pair: function; setHssvdBackend .. _doxid-namespacegpr_1_1capi_1_1testing_1a8d5cd27ef12e3f261edd19462855af6f: .. ref-code-block:: cpp :class: doxyrest-title-code-block int setHssvdBackend(:ref:`gpr_model_t` model, :ref:`gpr_hssvd_backend_t` selection) Select the HS-SVD or the dense Cholesky posterior of a trained handle and condition it again on the handle's training data. .. rubric:: Returns: GPR_SUCCESS, GPR_ERR_NULL_HANDLE for a dead handle, GPR_ERR_NOT_TRAINED before gpr_model_train, or the status of a failed conditioning.