18 <<
" non-zeros to gmm++ format.");
24 std::copy(matrix.rowIndications.begin(), matrix.rowIndications.end(), result->jc.begin());
27 std::vector<T> values;
31 decltype(result->ir) columns;
34 for (
auto const& entry : matrix) {
35 columns.emplace_back(entry.getColumn());
36 values.emplace_back(entry.getValue());
39 std::swap(result->ir, columns);
40 std::swap(result->pr, values);
47template class GmmxxAdapter<double>;
50template class GmmxxAdapter<storm::RationalNumber>;
51template 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)