Calculates the directional derivative of a multivariable function at a vector in a direction.
The function
The position vector
The direction vector
const f = Chalkboard.real.define((x, y) => x * x + y * y);const derivative = Chalkboard.calc.dfdv(f, Chalkboard.vect.init(1, 2), Chalkboard.vect.init(1, 0)); // Returns the directional derivative Copy
const f = Chalkboard.real.define((x, y) => x * x + y * y);const derivative = Chalkboard.calc.dfdv(f, Chalkboard.vect.init(1, 2), Chalkboard.vect.init(1, 0)); // Returns the directional derivative
Calculates the directional derivative of a multivariable function at a vector in a direction.