/usr/include/openturns/swig/LinearFunction.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 | // SWIG file LinearFunction.i
%{
#include "openturns/LinearFunction.hxx"
%}
%include LinearFunction_doc.i
%include openturns/LinearFunction.hxx
namespace OT { %extend LinearFunction { LinearFunction(const LinearFunction & other) { return new OT::LinearFunction(other); } } }
%pythoncode %{
# deprecated
class LinearNumericalMathFunction(LinearFunction):
def __init__(self, *args):
super(LinearNumericalMathFunction, self).__init__(*args)
openturns.common.Log.Warn('class LinearNumericalMathFunction is deprecated in favor of LinearFunction')
%}
|