objlist | R Documentation |
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.
objlist(value, gradient, hessian)
value |
numeric of length 1 |
gradient |
named numeric |
hessian |
matrix with rownames and colnames according to gradient names |
Object of class objlist
# objlist(1, c(a = 1, b = 2), matrix(2, nrow = 2, ncol = 2, dimnames = list(c("a", "b"),c("a", "b"))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.