Description Usage Arguments Value Examples
Generate objective list from numeric vector
1 | as.objlist(p)
|
p |
Named numeric vector |
list with entries value (0
),
gradient (rep(0, length(p))
) and
hessian (matrix(0, length(p), length(p))
) of class obj
.
1 2 | p <- c(A = 1, B = 2)
as.objlist(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.