Top "Derivative" questions

In calculus, a derivative is a measure of a function's rate of change as its input changes.

What's the best way to calculate a numerical derivative in MATLAB?

(Note: This is intended to be a community Wiki.) Suppose I have a set of points xi = {x0,x1,x2,...…

matlab numerical-methods derivative differentiation
How do I find the derivative of a function in Octave?

Inputs: Xf = and array that holds the x-values of the points Yf = an array that holds the y-values of the …

matlab for-loop octave derivative
Explanation of dFdx

I am trying to understand the dFdx and dFdy functions in GLSL. I understand the following: The derivative is the …

glsl derivative
Partial derivative in Python

I am slowly moving from C to Python. This time I need to calculate partial derivatives numerically from a grid …

python numpy derivative
Get the derivative of a function_handle in MATLAB

Is it possible to get the derivative of a function_handle as a other function_handle? Like: fun1 = @(x) x^2; % …

matlab derivative function-handle
Calculate the derivative of a data-function in r

Is there an easy way to calculate the derivative of non-liner functions that are give by data? for example: x = 1 / …

r function derivative
Java - Computation of Derivations with Apache Commons Mathematic Library

I have a problem in using the apache commons math library. I just want to create functions like f(x) = 4…

java derivative differentiation apache-commons-math automatic-differentiation
How do you evaluate a derivative in python?

I'm a beginner in python. I've recently learned about Sympy and its symbolic manipulation capabilities, in particular, differentiation. I am …

python math sympy derivative
How to implement the Softmax derivative independently from any loss function?

For a neural networks library I implemented some activation functions and loss functions and their derivatives. They can be combined …

neural-network regression backpropagation derivative softmax
calculating the Gradient and the Hessian in R

As you know, the Gradient of a function is the following vector: and the Hessian is the following matrix: Now, …

r calculus derivative