numerical analysis - Calculate derivative of an array with apache-commons-math -


good morning, have array 3000 double values, need find local minimum , maximum, i'm interested first , second derivative, what's best way achieve apache commons math? trouble i'm starting directly array, not function sin(x). thanks

with array wont able find min/max.

if array calcualted known function, differentiate numerically (just calculate @ x , x + epsilon, , divide epsilon, assuming there's single parameter you're differentating respect to).

alternatively, array list of coefficients of big polynomial? if so, same approach might work.


Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

html - Not able to access next element of an array javascript -