enum [anonymous]#

General Options.


enumerator kDynamic#

Indicate if the number of rows or columns can be changed during runtime.

enumerator kAllEntries#

Indicate that the operation should use all entries of the matrix.

enum MatrixStructure#

Indicates the structure of the matrix. MOCCA uses this information to select the most efficient implementation.


enumerator kGeneric#

Assumes a generic matrix without special properties (default).

enumerator kSymmetric#

The matrix is indefinite symmetric.

enumerator kPositiveSymmetric#

The matrix is positive-definite symmetric.

enumerator kLowerTriangular#

The matrix is lower triangular.

enumerator kUpperTriangular#

The matrix is upper triangular.

enum SamplingType#

Indicate if the continuous-time random walk will be computed forward or backward in time.


enumerator kBackwardSampling#

The random will computed backward in time (e.g., t -> 0)

enumerator kForwardSampling#

The random will computed forward in time (e.g., 0 -> t)

enum MonteCarloFlags#

Flags for the Monte Carlo solvers.


enumerator kDefaultFlags#

Default flags (Uses weighted probabilities and no information regarding the random walks will be calculated)

enumerator kUniformProbability#
using index_t = MOCCA_INDEX_TYPE#

The type used for indexing all objects in MOCCA. See MOCCA_INDEX_TYPE.

static constexpr internal::Rowwise rowwise#

Indicate that the operation is applied row-wise.

static constexpr internal::Colwise colwise#

Indicate that the operation is applied column-wise.

static constexpr internal::NoAxis no_axis#

Indicate that the operation is applied in the entire container.


Define the type used as index for all objects in the library. Set to std::ptrdiff_t by default.


Define the block size when (re)allocating containers. In order to reduce the number of reallocation when changing the size of the container, all memory allocation are based on a block with fixed number of entries. Set to 1024 entries by default.


Define minimum number of elements in the container to enable parallelization with OpenMP. Default: 10 000 entries.

This setting forces the compiler to inline performance-critical methods. You can set this macro to inline to reduce the aggressiveness of function inlining, however, this may result in worse performance if the compiler fails to properly inline the routines.