/usr/include/openturns/swig/SquaredExponential_doc.i is in libopenturns-dev 1.5-7build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | %feature("docstring") OT::SquaredExponential
"Squared exponential covariance model.
Available constructors:
SquaredExponential(*dim=0, theta=0.1*)
Parameters
----------
dim : int, :math:`dim \\\\geq 0`
Input dimension.
theta : float
Coefficient :math:`\\\\theta` of the covariance function.
Notes
-----
The covariance function of input dimension *dim* is:
.. math::
C(s, t) = e^{-\\\\frac{1}{2} \\\\frac{||s-t||^2}{\\\\theta^2}}
See Also
--------
CovarianceModel
Examples
--------
>>> import openturns as ot
>>> covarianceModel = ot.SquaredExponential(2)
>>> t = [0.1, 0.3]
>>> s = [0.2, 0.4]
>>> print(covarianceModel(s, t))
[[ 0.9999 ]]
>>> tau = [0.1, 0.3]
>>> print(covarianceModel(tau))
[[ 0.9995 ]]"
|