/usr/include/openturns/swig/SquareComplexMatrix.i is in python-openturns-dev 1.2-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 | // SWIG file SquareComplexMatrix.i
// @author schueller
// @date 2012-07-16 15:59:45 +0200 (Mon, 16 Jul 2012)
%{
#include "SquareComplexMatrix.hxx"
%}
%include SquareComplexMatrix.hxx
namespace OT {
%extend SquareComplexMatrix {
SquareComplexMatrix(const SquareComplexMatrix & other) { return new OT::SquareComplexMatrix(other); }
SquareComplexMatrix(PyObject * pyObj) { return new OT::SquareComplexMatrix( OT::convert<OT::_PySequence_,OT::SquareComplexMatrix>(pyObj) ); }
OTMatrixAccessors(SquareComplexMatrix, NumericalComplex)
SquareComplexMatrix __rmul__(NumericalComplex s) { return s * (*self); }
SquareComplexMatrix __truediv__(NumericalComplex s) { return (*self) / s; }
} // SquareComplexMatrix
} // OT
|