1 // SWIG file FejerAlgorithm.i
2 
3 // do not pass argument by reference, return it as tuple item
4 %typemap(in, numinputs=0) OT::Sample & adaptedNodesOut ($*ltype temp) %{ temp = OT::Sample(); $1 = &temp; %}
5 %typemap(argout) OT::Sample & adaptedNodesOut %{ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(new OT::Sample(*$1), SWIGTYPE_p_OT__Sample, SWIG_POINTER_OWN |  0 )); %}
6 
7 %{
8 #include "openturns/FejerAlgorithm.hxx"
9 %}
10 
11 %include FejerAlgorithm_doc.i
12 
13 %include openturns/FejerAlgorithm.hxx
FejerAlgorithm(const FejerAlgorithm & other)14 namespace OT { %extend FejerAlgorithm { FejerAlgorithm(const FejerAlgorithm & other) { return new OT::FejerAlgorithm(other); } } }
15