src/regularisation.rs

changeset 92
759634edb536
parent 90
b471a13e3136
child 98
b9818eb24b47
--- a/src/regularisation.rs	Tue Aug 04 19:41:34 2026 -0500
+++ b/src/regularisation.rs	Tue Aug 04 20:11:10 2026 -0500
@@ -162,9 +162,6 @@
     where
         M: MinMaxMapping<Domain, F>;
 
-    /// TODO: document this
-    fn target_bounds(&self, τ: F, ε: F) -> Option<Bounds<F>>;
-
     /// Returns a scaling factor for the tolerance sequence.
     ///
     /// Typically this is the regularisation parameter.
@@ -323,11 +320,6 @@
                 ));
     }
 
-    fn target_bounds(&self, τ: F, ε: F) -> Option<Bounds<F>> {
-        let τα = τ * self.α();
-        Some(Bounds(τα - ε, τα + ε))
-    }
-
     fn tolerance_scaling(&self) -> F {
         self.α()
     }
@@ -582,11 +574,6 @@
                 ));
     }
 
-    fn target_bounds(&self, τ: F, ε: F) -> Option<Bounds<F>> {
-        let τα = τ * self.α();
-        Some(Bounds(-τα - ε, τα + ε))
-    }
-
     fn tolerance_scaling(&self) -> F {
         self.α()
     }

mercurial