1#ifndef CMR_EQUIMODULAR_H
2#define CMR_EQUIMODULAR_H
102 bool* pisStronglyEquimodular,
135 bool* pisStronglyUnimodular,
Basic functionality of the software library.
CMR_ERROR
Type for return codes of library functions.
Definition env.h:32
CMR_EXPORT CMR_ERROR CMRunimodularTest(CMR *cmr, CMR_INTMAT *matrix, bool *pisUnimodular, CMR_EQUIMODULAR_PARAMS *params, CMR_EQUIMODULAR_STATS *stats, double timeLimit)
Tests a matrix for being unimodular.
Definition equimodular.c:277
CMR_EXPORT CMR_ERROR CMRequimodularTest(CMR *cmr, CMR_INTMAT *matrix, bool *pisEquimodular, int64_t *pgcdDet, CMR_EQUIMODULAR_PARAMS *params, CMR_EQUIMODULAR_STATS *stats, double timeLimit)
Tests a matrix for being equimodular (for determinant gcd ).
Definition equimodular.c:57
CMR_EXPORT CMR_ERROR CMRequimodularTestStrong(CMR *cmr, CMR_INTMAT *matrix, bool *pisStronglyEquimodular, int64_t *pgcdDet, CMR_EQUIMODULAR_PARAMS *params, CMR_EQUIMODULAR_STATS *stats, double timeLimit)
Tests a matrix for being strongly equimodular.
Definition equimodular.c:244
CMR_EXPORT CMR_ERROR CMRequimodularStatsInit(CMR_EQUIMODULAR_STATS *stats)
Initializes all statistics for recognition algorithm for equimodular matrices.
Definition equimodular.c:23
CMR_EXPORT CMR_ERROR CMRunimodularTestStrong(CMR *cmr, CMR_INTMAT *matrix, bool *pisStronglyUnimodular, CMR_EQUIMODULAR_PARAMS *params, CMR_EQUIMODULAR_STATS *stats, double timeLimit)
Tests a matrix for being strongly unimodular.
Definition equimodular.c:292
CMR_EXPORT CMR_ERROR CMRequimodularStatsPrint(FILE *stream, CMR_EQUIMODULAR_STATS *stats, const char *prefix)
Prints statistics for recognition algorithm for equimodular matrices.
Definition equimodular.c:35
CMR_EXPORT CMR_ERROR CMRequimodularParamsInit(CMR_EQUIMODULAR_PARAMS *params)
Initializes the default parameters for recognition of equimodular matrices.
Definition equimodular.c:14
Functionality for sparse matrices.
Definition env_internal.h:45
Definition equimodular.h:21
CMR_TU_PARAMS tu
Parameters for TU test.
Definition equimodular.h:22
Statistics for recognition algorithm for equimodular matrices.
Definition equimodular.h:41
double linalgTime
Definition equimodular.h:44
uint32_t totalCount
Definition equimodular.h:42
CMR_TU_STATS tu
Definition equimodular.h:45
double totalTime
Definition equimodular.h:43
Row-wise representation of sparse int matrix.
Definition matrix.h:211
Statistics for recognition algorithm for totally unimodular matrices.
Definition tu.h:54
Recognition of totally unimodular matrices.