Storm 1.11.1.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseMatrixOperations.cpp
Go to the documentation of this file.
2
4
5namespace storm::storage {
6std::set<storm::RationalFunctionVariable> getVariables(SparseMatrix<storm::RationalFunction> const& matrix) {
7 std::set<storm::RationalFunctionVariable> result;
8 for (auto const& entry : matrix) {
9 entry.getValue().gatherVariables(result);
10 }
11 return result;
12}
13
14} // namespace storm::storage
A class that holds a possibly non-square matrix in the compressed row storage format.
std::set< storm::RationalFunctionVariable > getVariables(SparseMatrix< storm::RationalFunction > const &matrix)