/usr/include/openturns/swig/UserDefinedPair_doc.i is in libopenturns-dev 1.7-3.
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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | %feature("docstring") OT::UserDefinedPair
"Association of a point with a probability.
Parameters
----------
x : sequence of float
Point.
p : float, :math:`0 \\\\geq p \\\\geq 1`
Probability associated with the point *x*.
Examples
--------
>>> import openturns as ot
>>> ot.UserDefinedPair([2., 1.], 0.375)
(class=NumericalPoint name=Unnamed dimension=2 values=[2,1],0.375)"
// ---------------------------------------------------------------------
%feature("docstring") OT::UserDefinedPair::getX
"Get the point.
Returns
-------
x : :class:`~openturns.NumericalPoint`
Point."
// ---------------------------------------------------------------------
%feature("docstring") OT::UserDefinedPair::setX
"Set the point.
Parameters
----------
x : sequence of float
Point."
// ---------------------------------------------------------------------
%feature("docstring") OT::UserDefinedPair::getP
"Get the probability.
Returns
-------
p : float
Probability associated with the point *x*."
// ---------------------------------------------------------------------
%feature("docstring") OT::UserDefinedPair::setP
"Set the probability.
Parameters
----------
p : float
Probability associated with the point *x*."
|