16 <<
" non-zeros to gmm++ format.");
22 std::copy(matrix.rowIndications.begin(), matrix.rowIndications.end(), result->jc.begin());
25 std::vector<T> values;
29 decltype(result->ir) columns;
32 for (
auto const& entry : matrix) {
33 columns.emplace_back(entry.getColumn());
34 values.emplace_back(entry.getValue());
37 std::swap(result->ir, columns);
38 std::swap(result->pr, values);
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)