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