Num.NumericalDerivative |
Syntax |
NumericalDerivative(Points: MAT, MaxDiffOrd:INT, Nl:INT, Nr:INT, Deg:INT) |
Description |
Example |
Points := Mat([[ I^2/800, Fn.CosN(I^2/800, 10) ] | I In 0..40 ]); MaxDiffOrd := 3; Nl := 4; Nr := 4; Deg := 3; Mode := 0; -- Mode is currently not used! StepWidth := 0.5; Result := Num.NumericalDerivative(Points, MaxDiffOrd, Nl, Nr, Deg); Dec(Result, 2); -- (Result) -- Mat([ [0.99, 0.02, 0.99, 0.03] [0.99, 0.03, 0.99, 0.05] [...] |
See Also |