From 17fefff61ed74c03ad529a2ed7d4955a410f6037 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Tue, 2 Jul 2024 17:16:19 -0700 Subject: [PATCH] Name gradient descent test more specifically --- .../{descent-test.jl => overlapping-pyramids.jl} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename engine-proto/gram-test/{descent-test.jl => overlapping-pyramids.jl} (89%) diff --git a/engine-proto/gram-test/descent-test.jl b/engine-proto/gram-test/overlapping-pyramids.jl similarity index 89% rename from engine-proto/gram-test/descent-test.jl rename to engine-proto/gram-test/overlapping-pyramids.jl index 0c66311..1be29e7 100644 --- a/engine-proto/gram-test/descent-test.jl +++ b/engine-proto/gram-test/overlapping-pyramids.jl @@ -34,12 +34,12 @@ gram[1, 6] = gram[6, 1] # in this initial guess, the mutual tangency condition is satisfied for spheres # 1 through 5 -guess = sqrt(0.5) * BigFloat[ - 1 1 -1 -1 0 -0.1 0.3; - 1 -1 1 -1 0 -0.5 0.4; - 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; +guess = sqrt(1/BigFloat(2)) * BigFloat[ + 1 1 -1 -1 0 -0.1 0.3; + 1 -1 1 -1 0 -0.5 0.4; + 1 -1 -1 1 0 0.1 -0.2; + 0 0 0 0 -sqrt(BigFloat(6)) 0.3 -0.2; + 1 1 1 1 2 0.2 0.1; ] # complete the gram matrix using gradient descent