change experiment

Mon, 21 Oct 2024 14:02:52 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 21 Oct 2024 14:02:52 -0500
changeset 9
0fa3ac0c248b
parent 8
17d71ca4ce84
child 10
cd6f6e7defd2

change experiment

src/main.rs file | annotate | diff | comparison | revisions
--- a/src/main.rs	Mon Oct 21 10:05:07 2024 -0500
+++ b/src/main.rs	Mon Oct 21 14:02:52 2024 -0500
@@ -28,13 +28,17 @@
     use alg_tools::iterate::{AlgIteratorOptions, Verbose};
     
     let points = [
+        //OnCube::new(F1, Loc([0.5, 0.5])),
+        //OnCube::new(F2, Loc([0.5, 0.5])),
+        //OnCube::new(F4, Loc([0.1, 0.1])),
         OnCube::new(F1, Loc([0.5, 0.5])),
+        OnCube::new(F3, Loc([0.5, 0.5])),
         OnCube::new(F2, Loc([0.5, 0.5])),
-        OnCube::new(F4, Loc([0.1, 0.1])),
     ];
 
     //let x = points[0].clone();
-    let x = OnCube::new(F6, Loc([0.5, 0.5]));
+    // OnCube::new(F3, Loc([0.5, 0.5])); goes to opposite side
+    let x = OnCube::new(F3, Loc([0.5, 0.4]));
     let f = Sum::new(points.into_iter().map(DistToSquaredDiv2));
     let g = ZeroFn::new();
     let τ = 0.1;

mercurial