/usr/include/openturns/swig/ComposedCopula.i is in libopenturns-dev 0.15-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | // SWIG file ComposedCopula.i
// Author : $LastChangedBy: dutka $
// Date : $LastChangedDate: 2010-11-09 13:44:00 +0100 (Tue, 09 Nov 2010) $
// Id : $Id: ComposedCopula.i 1649 2010-11-09 12:44:00Z dutka $
%{
#include "PythonWrappingFunctions.hxx"
#include "ComposedCopula.hxx"
%}
%template(CopulaCollection) OpenTURNS::Base::Type::Collection<OpenTURNS::Uncertainty::Model::Copula>;
%include ComposedCopula.hxx
%extend OpenTURNS::Base::Type::Collection<OpenTURNS::Uncertainty::Model::Copula>
{
OpenTURNS::Base::Type::Collection<OpenTURNS::Uncertainty::Model::Copula> (PyObject * pyObj)
{
return OpenTURNS::buildCollectionFromPySequence<OpenTURNS::Uncertainty::Model::Copula>( pyObj );
}
}
%extend OpenTURNS::Uncertainty::Distribution::ComposedCopula
{
OpenTURNS::Uncertainty::Distribution::ComposedCopula(PyObject * pyObj)
{
OpenTURNS::Pointer<OpenTURNS::Base::Type::Collection<OpenTURNS::Uncertainty::Model::Copula> > p_coll = OpenTURNS::buildCollectionFromPySequence<OpenTURNS::Uncertainty::Model::Copula>( pyObj );
return new OpenTURNS::Uncertainty::Distribution::ComposedCopula( *p_coll );
}
}
namespace OpenTURNS { namespace Uncertainty { namespace Distribution { %extend ComposedCopula { ComposedCopula(const ComposedCopula & other) { return new OpenTURNS::Uncertainty::Distribution::ComposedCopula(other); } } }}}
|