1 // SWIG file LinearFunction.i 2 3 %{ 4 #include "openturns/LinearFunction.hxx" 5 %} 6 7 %include LinearFunction_doc.i 8 9 %include openturns/LinearFunction.hxx LinearFunction(const LinearFunction & other)10namespace OT { %extend LinearFunction { LinearFunction(const LinearFunction & other) { return new OT::LinearFunction(other); } } } 11 12