Learn R Programming

MMAD (version 2.0)

Function_evaluation: Function Evaluation

Description

This function allows the user to compute the value, gradients and the Hessian matrix of the target function \(f(\boldsymbol{\theta})\) at a given point \(\boldsymbol{\theta}^*\).

Usage

Function_evaluation(Function_obj, input)

Value

An R list recording the value, gradients and the Hessian matrix of the target function \(f(\boldsymbol{\theta})\) at a given point \(\boldsymbol{\theta}^*\).

Arguments

Function_obj

An R list depicting the target function.

input

The value \(\boldsymbol{\theta}^*\) at which the target function is evaluated.