The MatrixKind enum

This page describes the enum class MatrixKind in libsemigroups_pybind11 for representing the semiring of elements in a matrix.

See also

Matrix.

Full API

class MatrixKind

This enum contains values that can be used to describe the type of semiring over which a Matrix is defined.

Boolean = <MatrixKind.Boolean: 0>

For matrices over the Boolean semiring.

Integer = <MatrixKind.Integer: 1>

For matrices over the usual ring of integers.

MaxPlus = <MatrixKind.MaxPlus: 2>

For matrices over the max-plus semiring.

MinPlus = <MatrixKind.MinPlus: 3>

For matrices over the min-plus semiring.

ProjMaxPlus = <MatrixKind.ProjMaxPlus: 4>

For projective matrices over the max-plus semiring.

MaxPlusTrunc = <MatrixKind.MaxPlusTrunc: 5>

For matrices over the truncated max-plus semiring.

MinPlusTrunc = <MatrixKind.MinPlusTrunc: 6>

For matrices over the truncated min-plus semiring.

NTP = <MatrixKind.NTP: 7>

For matrices over the semiring of natural numbers quotiented by t = t + p.