About 6,680,000 results
Open links in new tab
  1. Derivatives in C/C++? - Stack Overflow

    Jan 8, 2009 · To calculate higher order derivatives should be done using truncated taylor series. You could also apply above mentioned class to itself -- the type for the value and derivative …

  2. How do I compute derivative using Numpy? - Stack Overflow

    Mar 26, 2012 · How do I calculate the derivative of a function, for example y = x2+1 using numpy? Let's say, I want the value of derivative at x = 5...

  3. How do I compute the derivative of an array in python

    May 30, 2013 · Do you wish to calculate derivative function? or just values over given intervals?

  4. How to find derivative of a function using c - Stack Overflow

    Dec 6, 2013 · f(x)=x^2 Is it possible to find the derivative of above function using c. What is the algorithm for that?

  5. calculus - Python partial derivatives easy - Stack Overflow

    I'm interested in computing partial derivatives in Python. I've seen functions which compute derivatives for single variable functions, but not others. It would be great to find something that …

  6. Implementing the derivative in C/C++ - Stack Overflow

    Oct 13, 2009 · How is the derivative of a f(x) typically calculated programmatically to ensure maximum accuracy? I am implementing the Newton-Raphson method, and it requires taking of …

  7. spline interpolation and its (exact) derivatives - Stack Overflow

    Jul 9, 2017 · Then the difference between each point and it's +eps pair divided by eps gives the derivative. The problem is that if we work with such small differences the precision of the …

  8. How can I get derivative value in R? - Stack Overflow

    Nov 3, 2017 · I want to get the derivative value from the function below when x = 2. Is there way to keep the form of the function and also get derivative value with out any additional package? …

  9. mgcv - Gratia derivatives of a factor smooth - Stack Overflow

    Oct 14, 2025 · To confirm, should gratia::derivatives support factor smooths with bs="sz" or is that not implemented yet? I noticed that the updates to gratia specify that derivatives () now work …

  10. Interpolate eigen splines with derivatives - Stack Overflow

    Apr 2, 2024 · Eigen::MatrixXd derivatives(2, 1); derivatives.setZero(); // Derivatives zero for this example. Since these are parametric splines, you have to provide derivatives for both x and y, …