![]() |
STAG C++
2.0.0
Spectral Toolkit of Algorithms for Graphs
|
Definitions of data types used throughout the library.
Typedefs | |
| typedef int64_t | StagInt |
| typedef size_t | StagUInt |
| typedef double | StagReal |
| typedef Eigen::SparseMatrix< StagReal, Eigen::ColMajor, StagInt > | SprsMat |
| typedef Eigen::Matrix< StagReal, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > | DenseMat |
| typedef Eigen::Triplet< StagReal, StagInt > | EdgeTriplet |
| typedef int64_t StagInt |
The integer type used throughout the library.
| typedef size_t StagUInt |
The unsigned integer type used throughout the library.
| typedef double StagReal |
The real type used throughout the library.
The fundamental datatype used in this library is the sparse matrix. We use the Eigen::SparseMatrix class in column-major format.
The Dense Matrix data type used in the STAG library.
| typedef Eigen::Triplet<StagReal, StagInt> EdgeTriplet |
An Eigen::Triplet representing an edge in a graph. Stores the row, column, and value of an entry in a graph adjacency matrix.