1 // SWIG file TriangularComplexMatrix.i
2 
3 %{
4 #include "openturns/TriangularComplexMatrix.hxx"
5 %}
6 
7 %include TriangularComplexMatrix_doc.i
8 
9 %include openturns/TriangularComplexMatrix.hxx
10 
11 namespace OT {
12 
13 %extend TriangularComplexMatrix {
14 
TriangularComplexMatrix(const TriangularComplexMatrix & other)15   TriangularComplexMatrix(const TriangularComplexMatrix & other) { return new OT::TriangularComplexMatrix(other); }
16 
TriangularComplexMatrix(PyObject * pyObj)17   TriangularComplexMatrix(PyObject * pyObj) { return new OT::TriangularComplexMatrix( OT::convert<OT::_PySequence_,OT::TriangularComplexMatrix>(pyObj) ); }
18 
OTComplexMatrixGetAccessors()19   OTComplexMatrixGetAccessors()
20 
21   TriangularComplexMatrix __rmul__(Complex s) { return s * (*self); }
__rmul__(const ComplexMatrix & m)22   ComplexMatrix __rmul__(const ComplexMatrix & m) { return m * (*self); }
23 
24 #if SWIG_VERSION < 0x030011
__truediv__(Complex s)25   TriangularComplexMatrix __truediv__(Complex s) { return (*self) / s; }
26 #endif
27 
28   } // TriangularComplexMatrix
29 } // OT
30