Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseMatrixOperations.cpp
Go to the documentation of this file.
1
4
5namespace storm::storage {
6#ifdef STORM_HAVE_CARL
7std::set<storm::RationalFunctionVariable> getVariables(SparseMatrix<storm::RationalFunction> const& matrix) {
8 std::set<storm::RationalFunctionVariable> result;
9 for (auto const& entry : matrix) {
10 entry.getValue().gatherVariables(result);
11 }
12 return result;
13}
14
15#endif
16} // namespace storm::storage
std::set< storm::RationalFunctionVariable > getVariables(std::vector< storm::RationalFunction > const &vector)