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