int nullifiedTinyCoeffInCrudeMatrixAbs(double maxValAbs) throw(INTERP_KERNEL::Exception);
int nullifiedTinyCoeffInCrudeMatrix(double scaleFactor) throw(INTERP_KERNEL::Exception);
double getMaxValueInCrudeMatrix() const throw(INTERP_KERNEL::Exception);
+ int getNumberOfColsOfMatrix() const throw(INTERP_KERNEL::Exception);
%extend
{
PyObject *getCrudeMatrix() const throw(INTERP_KERNEL::Exception)
}
return ret;
}
+#if defined(WITH_NUMPY) && defined(WITH_SCIPY)
+ PyObject *getCrudeCSRMatrix() const throw(INTERP_KERNEL::Exception)
+ {
+ return ToCSRMatrix(self->getCrudeMatrix(),self->getNumberOfColsOfMatrix());
+ }
+#endif
}
};
}