/usr/include/openturns/swig/NumericalMathFunctionImplementation.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 | // SWIG file NumericalMathFunctionImplementation.i
%{
#include "NumericalMathFunctionImplementation.hxx"
%}
%include NumericalMathFunctionImplementation_doc.i
%template(EvaluationImplementation) OT::Pointer<OT::NumericalMathEvaluationImplementation>;
%template(GradientImplementation) OT::Pointer<OT::NumericalMathGradientImplementation>;
%template(HessianImplementation) OT::Pointer<OT::NumericalMathHessianImplementation>;
%ignore OT::NumericalMathFunctionImplementation::getUseDefaultGradientImplementation;
%ignore OT::NumericalMathFunctionImplementation::setUseDefaultGradientImplementation;
%ignore OT::NumericalMathFunctionImplementation::getUseDefaultHessianImplementation;
%ignore OT::NumericalMathFunctionImplementation::setUseDefaultHessianImplementation;
%include NumericalMathFunctionImplementation.hxx
namespace OT { %extend NumericalMathFunctionImplementation { NumericalMathFunctionImplementation(const NumericalMathFunctionImplementation & other) { return new OT::NumericalMathFunctionImplementation(other); } } }
|