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