Example: Weight lattice
Profiles: OSCAR v1.3, OSCAR v1.4, OSCAR v1.5, OSCAR v1.6, OSCAR v1.7, OSCAR v1.8
The weight lattice of A2 x B4.
Related Specification
Systems
Oscar.jl
Generate code (generate.jl) [ edit ]
using Oscar
save("data.mrdi", weight_lattice(root_system((:A, 2), (:B, 4))))
Data outputs
Profiles: OSCAR v1.3
Data file: data.mrdi
{
"_ns": {"Oscar": ["https://github.com/oscar-system/Oscar.jl", "1.3.1"]},
"_type": "WeightLattice",
"data": {"root_system": "8227146f-8c69-4e41-a0f7-422fa8b1b903"},
"id": "0765105c-5c3b-4797-bcf6-d20777f8b4ab",
"_refs": {
"8227146f-8c69-4e41-a0f7-422fa8b1b903": {
"_type": "RootSystem",
"data": {
"cartan_matrix": [
["2", "-1", "0", "0", "0", "0"],
["-1", "2", "0", "0", "0", "0"],
["0", "0", "2", "-1", "0", "0"],
["0", "0", "-1", "2", "-1", "0"],
["0", "0", "0", "-1", "2", "-1"],
["0", "0", "0", "0", "-2", "2"]
],
"type": [["A", "2"], ["B", "4"]]
}
}
}
}
Profiles: 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": {"name": "WeightLattice", "params": "0d307a85-e756-4491-a465-612c89f65c73"},
"data": {},
"id": "100a7e15-7ffb-4900-88b2-94523edeb288",
"_refs": {
"0d307a85-e756-4491-a465-612c89f65c73": {
"_type": "RootSystem",
"data": {
"cartan_matrix": [
["2", "-1", "0", "0", "0", "0"],
["-1", "2", "0", "0", "0", "0"],
["0", "0", "2", "-1", "0", "0"],
["0", "0", "-1", "2", "-1", "0"],
["0", "0", "0", "-1", "2", "-1"],
["0", "0", "0", "0", "-2", "2"]
],
"type": [["A", "2"], ["B", "4"]]
}
}
}
}
This serialized output is equivalent for these profiles up to UUID renaming and recorded namespace version strings.