STAG C++  2.0.0
Spectral Toolkit of Algorithms for Graphs
Loading...
Searching...
No Matches
definitions.h File Reference

Description

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, StagIntSprsMat
 
typedef Eigen::Matrix< StagReal, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > DenseMat
 
typedef Eigen::Triplet< StagReal, StagIntEdgeTriplet
 

Typedef Documentation

◆ StagInt

typedef int64_t StagInt

The integer type used throughout the library.

◆ StagUInt

typedef size_t StagUInt

The unsigned integer type used throughout the library.

◆ StagReal

typedef double StagReal

The real type used throughout the library.

◆ SprsMat

typedef Eigen::SparseMatrix<StagReal, Eigen::ColMajor, StagInt> SprsMat

The fundamental datatype used in this library is the sparse matrix. We use the Eigen::SparseMatrix class in column-major format.

◆ DenseMat

typedef Eigen::Matrix<StagReal, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> DenseMat

The Dense Matrix data type used in the STAG library.

◆ EdgeTriplet

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.