objlist: Generate objective list

Description Usage Arguments Value

View source: R/classes.R

Description

An objective list contains an objective value, a gradient, and a Hessian matrix.

Objective lists can contain additional numeric attributes that are preserved or combined with the corresponding attributes of another objective list when both are added by the "+" operator, see sumobjlist.

Objective lists are returned by objective functions as being generated by normL2, constraintL2, priorL2 and datapointL2.

Usage

1
objlist(value, gradient, hessian)

Arguments

value

numeric of length 1

gradient

named numeric

hessian

matrix with rownames and colnames according to gradient names

Value

Object of class objlist


dMod documentation built on Jan. 27, 2021, 1:07 a.m.