/usr/include/openturns/swig/HermitianMatrix.i is in libopenturns-dev 1.7-3.
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 | // SWIG file HermitianMatrix.i
%{
#include "HermitianMatrix.hxx"
%}
%include HermitianMatrix_doc.i
%ignore OT::HermitianMatrix::checkHermitian;
%include HermitianMatrix.hxx
namespace OT {
%extend HermitianMatrix {
HermitianMatrix(const HermitianMatrix & other) { return new OT::HermitianMatrix(other); }
HermitianMatrix(PyObject * pyObj) { return new OT::HermitianMatrix( OT::convert<OT::_PySequence_,OT::HermitianMatrix>(pyObj) ); }
OTComplexMatrixGetAccessors()
HermitianMatrix __rmul__(NumericalComplex s) { return s * (*self); }
HermitianMatrix __truediv__(NumericalComplex s) { return (*self) / s; }
} // HermitianMatrix
} // OT
|