MCPcopy Create free account
hub / github.com/Axect/Peroxide / FalsePositionMethod

Class FalsePositionMethod

src/numerical/root.rs:722–725  ·  view source on GitHub ↗

┌─────────────────────────────────────────────────────────┐ False position method └─────────────────────────────────────────────────────────┘ False position method # Type for `RootFinder` - `I`: 1 - `O`: 1 - `T`: `(f64, f64)` # Arguments - `max_iter`: Maximum number of iterations - `tol`: Absolute tolerance # Caution - The function should be continuous

Source from the content-addressed store, hash-verified

720///
721/// - The function should be continuous
722pub struct FalsePositionMethod {
723 pub max_iter: usize,
724 pub tol: f64,
725}
726
727impl RootFinder<1, 1, (f64, f64)> for FalsePositionMethod {
728 fn max_iter(&self) -> usize {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected