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

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -