17 <<
" non-zeros to gmm++ format.");
23 std::copy(matrix.rowIndications.begin(), matrix.rowIndications.end(), result->jc.begin());
26 std::vector<T> values;
30 decltype(result->ir) columns;
33 for (
auto const& entry : matrix) {
34 columns.emplace_back(entry.getColumn());
35 values.emplace_back(entry.getValue());
38 std::swap(result->ir, columns);
39 std::swap(result->pr, values);
46template class GmmxxAdapter<double>;
47template class GmmxxAdapter<storm::RationalNumber>;
48template class GmmxxAdapter<storm::RationalFunction>;
A class that holds a possibly non-square matrix in the compressed row storage format.
index_type getEntryCount() const
Returns the number of entries in the matrix.
index_type getColumnCount() const
Returns the number of columns of the matrix.
index_type getRowCount() const
Returns the number of rows of the matrix.
#define STORM_LOG_TRACE(message)