/usr/include/openturns/swig/Experiment.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 20 21 22 23 24 | // SWIG file Experiment.i
%{
#include "openturns/Experiment.hxx"
#include "openturns/PythonExperiment.hxx"
%}
%include Experiment_doc.i
OTTypedInterfaceObjectHelper(Experiment)
%include openturns/Experiment.hxx
namespace OT { %extend Experiment {
Experiment(const Experiment & other) { return new OT::Experiment(other); }
Experiment(PyObject * pyObj)
{
return new OT::Experiment( new OT::PythonExperiment(pyObj) );
}
} }
|