OperatorTest.derivative¶
- OperatorTest.derivative()[source]¶
Verify that
Operator.derivative
works appropriately.The code verifies if
||A(x+c*p) - A(x) - A'(x)(c*p)|| / c = o(c)
for
c --> 0
using a selection of elementsx
andp
.References
Wikipedia article on Derivative. Wikipedia article on Frechet derivative.