/usr/include/openturns/swig/NLopt.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 | // SWIG file NLopt.i
%{
#include "NLopt.hxx"
%}
%include NLopt_doc.i
%include NLopt.hxx
namespace OT { %extend NLopt { NLopt(const NLopt & other) { return new OT::NLopt(other); } } }
namespace OT { %extend SLSQP { SLSQP(const SLSQP & other) { return new OT::SLSQP(other); } } }
namespace OT { %extend LBFGS { LBFGS(const LBFGS & other) { return new OT::LBFGS(other); } } }
namespace OT { %extend NelderMead { NelderMead(const NelderMead & other) { return new OT::NelderMead(other); } } }
|