1 // SWIG file ProductPolynomialEvaluation.i 2 3 %{ 4 #include "openturns/ProductPolynomialEvaluation.hxx" 5 %} 6 7 %include ProductPolynomialEvaluation_doc.i 8 9 %template(PolynomialCollection) OT::Collection<OT::UniVariatePolynomial>; 10 11 %template(PolynomialPersistentCollection) OT::PersistentCollection<OT::UniVariatePolynomial>; 12 13 %include openturns/ProductPolynomialEvaluation.hxx ProductPolynomialEvaluation(const ProductPolynomialEvaluation & other)14namespace OT { %extend ProductPolynomialEvaluation { ProductPolynomialEvaluation(const ProductPolynomialEvaluation & other) { return new OT::ProductPolynomialEvaluation(other); } } } 15