84 void setValue(
int row,
int column,
double value );
98 void setValue(
int row,
int column,
double value );
103 PyErr_SetString( sipException_QgsNotSupportedException,
"QgsMatrixSolver requires a QGIS build with GSL support enabled" );
106 else if ( a0 < 0 || a0 >= maximumDimension )
108 PyErr_SetString( PyExc_IndexError, QByteArray::number( a0 ) );
111 else if ( a1 < 0 || a1 >= maximumDimension )
113 PyErr_SetString( PyExc_IndexError, QByteArray::number( a1 ) );
118 sipCpp->setValue( a0, a1, a2 );
135 void setRightHandSide(
int row,
double value );
146 void setRightHandSide(
int row,
double value )
SIP_THROW( QgsNotSupportedException );
148 const int maximumDimension = sipCpp->maximumDimension();
151 PyErr_SetString( sipException_QgsNotSupportedException,
"QgsMatrixSolver requires a QGIS build with GSL support enabled" );
154 else if ( a0 < 0 || a0 >= maximumDimension )
156 PyErr_SetString( PyExc_IndexError, QByteArray::number( a0 ) );
161 sipCpp->setRightHandSide( a0, a1 );
183 QgsMatrixSolver(
const QgsMatrixSolver & );
186 bool solveLu(
int dimension, QVector<double> &result,
bool retainOriginalMatrices );
187 bool solveSvd(
int dimension, QVector<double> &result,
bool retainOriginalMatrices );
190 std::unique_ptr<GslData> mData;