/usr/include/openturns/swig/diff_module.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 | // SWIG file diff_module.i
%module(package="openturns", docstring="Differential algorithms.") diff
//%feature("autodoc","1");
%{
#include "OTconfig.hxx"
#include "OTCommon.hxx"
#include "OTType.hxx"
#include "OTStat.hxx"
#include "OTGraph.hxx"
#include "OTFunc.hxx"
#include "OTDiff.hxx"
%}
%include typemaps.i
%include OTtypes.i
%include OTexceptions.i
%include std_vector.i
/* Base/Common */
%import common_module.i
/* Base/Type */
%import typ_module.i
%import BaseTypTemplateDefs.i
/* Base/Stat */
%import statistics_module.i
%import BaseStatisticsTemplateDefs.i
/* Base/Func */
%import func_module.i
%import BaseFuncTemplateDefs.i
/* Base/Diff */
%include FiniteDifferenceStepImplementation.i
%include FiniteDifferenceStep.i
%include ConstantStep.i
%include BlendedStep.i
%include FiniteDifferenceGradient.i
%include FiniteDifferenceHessian.i
%include CenteredFiniteDifferenceGradient.i
%include CenteredFiniteDifferenceHessian.i
%include NonCenteredFiniteDifferenceGradient.i
/* At last we include template definitions */
%include BaseDiffTemplateDefs.i
|