Switch to Ganja.js basis ordering

This commit is contained in:
Aaron Fenyes 2024-06-26 11:39:34 -07:00
parent 2b6c4f4720
commit c933e07312

View File

@ -21,7 +21,7 @@ end
# === example === # === example ===
# the Lorentz form # the Lorentz form
Q = diagm([-1, 1, 1, 1, 1]) Q = diagm([1, 1, 1, 1, -1])
# initialize the partial gram matrix for an arrangement of seven spheres in # initialize the partial gram matrix for an arrangement of seven spheres in
# which spheres 1 through 5 are mutually tangent, and spheres 3 through 7 are # which spheres 1 through 5 are mutually tangent, and spheres 3 through 7 are
@ -54,11 +54,11 @@ gram[1, 6] = gram[6, 1]
# in this initial guess, the mutual tangency condition is satisfied for spheres # in this initial guess, the mutual tangency condition is satisfied for spheres
# 1 through 5 # 1 through 5
guess = sqrt(0.5) * BigFloat[ guess = sqrt(0.5) * BigFloat[
1 1 1 1 2 0.2 0.1;
0 0 0 0 -sqrt(6) 0.3 -0.2;
1 1 -1 -1 0 -0.1 0.3; 1 1 -1 -1 0 -0.1 0.3;
1 -1 1 -1 0 -0.5 0.4; 1 -1 1 -1 0 -0.5 0.4;
1 -1 -1 1 0 0.1 -0.2 1 -1 -1 1 0 0.1 -0.2;
0 0 0 0 -sqrt(6) 0.3 -0.2;
1 1 1 1 2 0.2 0.1;
] ]
# search parameters # search parameters