Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseMatrixOperations.cpp
Go to the documentation of this file.
1
2
#include "
storm/storage/SparseMatrixOperations.h
"
3
#include "
storm/storage/SparseMatrix.h
"
4
5
namespace
storm::storage
{
6
#ifdef STORM_HAVE_CARL
7
std::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
SparseMatrix.h
SparseMatrixOperations.h
storm::storage
Definition
DFTBuilder.h:15
storm::utility::vector::getVariables
std::set< storm::RationalFunctionVariable > getVariables(std::vector< storm::RationalFunction > const &vector)
Definition
rationalfunction.h:5
src
storm
storage
SparseMatrixOperations.cpp
Generated by
1.9.8