/usr/include/openturns/swig/FunctionImplementation.i is in libopenturns-dev 1.9-5.
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 FunctionImplementation.i
%{
#include "openturns/FunctionImplementation.hxx"
%}
%include FunctionImplementation_doc.i
%template(EvaluationImplementation) OT::Pointer<OT::EvaluationImplementation>;
%template(GradientImplementation) OT::Pointer<OT::GradientImplementation>;
%template(HessianImplementation) OT::Pointer<OT::HessianImplementation>;
%ignore OT::FunctionImplementation::getUseDefaultGradientImplementation;
%ignore OT::FunctionImplementation::setUseDefaultGradientImplementation;
%ignore OT::FunctionImplementation::getUseDefaultHessianImplementation;
%ignore OT::FunctionImplementation::setUseDefaultHessianImplementation;
%include openturns/FunctionImplementation.hxx
namespace OT { %extend FunctionImplementation { FunctionImplementation(const FunctionImplementation & other) { return new OT::FunctionImplementation(other); } } }
|