/usr/include/openturns/swig/NumericalMathGradientImplementation_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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | %feature("docstring") OT::NumericalMathGradientImplementation
"Numerical math gradient implementation.
See also
--------
NumericalMathFunction, NumericalMathHessianImplementation
Notes
-----
This object is the result of the method *getGradient* of a
:class:`~openturns.NumericalMathFunction`."
// ---------------------------------------------------------------------
%feature("docstring") OT::NumericalMathGradientImplementation::getCallsNumber
"Accessor to the number of times the gradient has been called.
Returns
-------
calls_number : int
Integer that counts the number of times the gradient has been called
since its creation."
// ---------------------------------------------------------------------
%feature("docstring") OT::NumericalMathGradientImplementation::getInputDimension
"Accessor to the number of the inputs.
Returns
-------
number_inputs : int
Number of inputs."
// ---------------------------------------------------------------------
%feature("docstring") OT::NumericalMathGradientImplementation::getOutputDimension
"Accessor to the number of the outputs.
Returns
-------
number_outputs : int
Number of outputs."
// ---------------------------------------------------------------------
%feature("docstring") OT::NumericalMathGradientImplementation::getMarginal
"Accessor to the gradient implementation of a specific output.
Parameters
----------
i : integer
Integer corresponding to the output (Care: it starts at 0).
indices : sequence of integer
The set of indices for which the outputs are extracted.
Returns
-------
gradientImplementation : :class:`~openturns.NumericalMathGradientImplementation`
A gradient implementation restricted to its compenents functions which
indices are *i* or *indices*."
// ---------------------------------------------------------------------
%feature("docstring") OT::NumericalMathGradientImplementation::gradient
"Return the Jacobian transposed matrix of the implementation at a point.
Parameters
----------
point : sequence of float
Point where the Jacobian transposed matrix is calculated.
Returns
-------
gradient : :class:`~openturns.Matrix`
The Jacobian transposed matrix of the function at *point*."
|