tangent_plane: Evaluate a tangent plane for a function f(x, y) at the point...

View source: R/plot_tanget_plane.R

tangent_planeR Documentation

Evaluate a tangent plane for a function f(x, y) at the point (a, b).

Description

Evaluate a tangent plane for a function f(x, y) at the point (a, b).

Usage

tangent_plane(x, y, a, b, target_fun, grad_fun)

Arguments

x

A vector of x-axis coordinates.

y

A vector of y-axis coordinates.

a

The point at which to evaluate the tangent plane in the x-axis coordinates.

b

The point at which to evaluate the tangent plane in the y-axis coordinates.

target_fun

The function f(x, y) of interest.

grad_fun

The gradient (d/dx f(x,y), d/dy f(x,y)) of the function f(x, y).

Value

A vector of values that represent the tangent plane at each input value of x and y.


jtipton25/dasc2594 documentation built on Oct. 7, 2022, 3:46 p.m.