TransportMaps.FiniteDifference

Functions

Function Description
check_der  
check_grad_a  
check_hess_a_from_grad_a  
check_action_hess_a_from_grad_a  
check_grad_x  
check_hess_x_from_grad_x  
grad_a_fd  
grad_x_fd Compute \(\nabla_{\bf x} f({\bf x})\) of \(f:\mathbb{R}^d\rightarrow\mathbb{R}\)
grad_x_fx Compute \(\nabla_{\bf x} f_{\bf x}({\bf x})\) of \(f_{\bf x}:\mathbb{R}^d\rightarrow\mathbb{R}^d\)

Documentation

TransportMaps.FiniteDifference.grad_x_fd(f, x, dx, params={})[source]

Compute \(\nabla_{\bf x} f({\bf x})\) of \(f:\mathbb{R}^d\rightarrow\mathbb{R}\)

TransportMaps.FiniteDifference.grad_x_fx(f, x, dx, params={})[source]

Compute \(\nabla_{\bf x} f_{\bf x}({\bf x})\) of \(f_{\bf x}:\mathbb{R}^d\rightarrow\mathbb{R}^d\)