Example: Root system

Profiles: OSCAR v1.2, OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7, OSCAR v1.8

A root system of type A6.

Systems

Oscar.jl

Generate code (generate.jl) [ edit ]

using Oscar

save("data.mrdi", root_system(:A, 6))

Data outputs

Profiles: OSCAR v1.0

Not available for OSCAR v1.0.

In OSCAR v1.0-1.1 the generator fails with `Unsupported type 'Oscar.LieAlgebras.RootSystem' for encoding`.

Profiles: OSCAR v1.1

Not available for OSCAR v1.1.

In OSCAR v1.0-1.1 the generator fails with `Unsupported type 'Oscar.LieAlgebras.RootSystem' for encoding`.

Profiles: OSCAR v1.2, OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7

Data file: data.mrdi

{
  "_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.7.0"]},
  "_type": "RootSystem",
  "data": {
    "cartan_matrix": [
      ["2", "-1", "0", "0", "0", "0"],
      ["-1", "2", "-1", "0", "0", "0"],
      ["0", "-1", "2", "-1", "0", "0"],
      ["0", "0", "-1", "2", "-1", "0"],
      ["0", "0", "0", "-1", "2", "-1"],
      ["0", "0", "0", "0", "-1", "2"]
    ],
    "type": [["A", "6"]]
  },
  "id": "3e9d5f71-94fb-4ff5-a017-045156750443"
}

This serialized output is equivalent for these profiles up to UUID renaming and recorded namespace version strings.