Specification: Matrix

Profiles: basic v1

Matrices are two-dimensional homogeneous containers. The current corpus records the element type in _type.params and stores rows as arrays.

Encoding rules

Canonical Example Payload

The following payload is taken directly from the current rosetta-stone corpus.

{
  "_ns": {"polymake": ["https://polymake.org", "4.14"]},
  "_type": "common::Matrix<Rational, NonSymmetric>",
  "data": [["12", "31", "24", "78"], ["51", "63", "17", "35"], ["23", "99", "19", "34"]]
}

Documented Profiles in This Corpus

This table records the profile/version pairs currently represented by the rosetta-stone examples for this data type. Add new rows as new systems or encoding revisions are documented.

Profile Version Example Root type
Oscar 1.0.5 Matrix of integers Matrix
Oscar 1.0.5 Rational matrix MatElem
Oscar 1.1.2 Matrix of integers Matrix
Oscar 1.1.2 Rational matrix MatElem
Oscar 1.2.2 Matrix of integers Matrix
Oscar 1.2.2 Rational matrix MatElem
Oscar 1.3.1 Matrix of integers Matrix
Oscar 1.3.1 Rational matrix MatElem
Oscar 1.4.1 Matrix of integers Matrix
Oscar 1.4.1 Rational matrix MatElem
Oscar 1.5.1 Matrix of integers Matrix
Oscar 1.5.1 Rational matrix MatElem
Oscar 1.6.0 Matrix of integers Matrix
Oscar 1.6.0 Rational matrix MatElem
Oscar 1.7.0 Matrix of integers Matrix
Oscar 1.7.0 Rational matrix MatElem
polymake 4.14 Rational matrix common::Matrix<Rational, NonSymmetric>

Rosetta Stone Examples