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

Method derivative

examples/root_test.rs:58–60  ·  view source on GitHub ↗
(&self, x: Pt<1>)

Source from the content-addressed store, hash-verified

56 0.0
57 }
58 fn derivative(&self, x: Pt<1>) -> Result<Jaco<1, 1>> {
59 Ok([[3.0 * (x[0] - 1f64).powi(2)]])
60 }
61}

Callers 4

mainFunction · 0.45
check_chebyshev_lagrangeFunction · 0.45
check_polynomialFunction · 0.45
mainFunction · 0.45

Calls 1

powiMethod · 0.45

Tested by

no test coverage detected