View source: R/ply_shift_coord.R
ply_shift_coord | R Documentation |
By repeating the process of optimization on each coordinate, find the minimum of a multi-variable function.
ply_shift_coord(fListPly,iter = list(x = c(1,3),
y = c(0,2),
z = c(-1,4)),
init = list(x=1,y=1.5,z = 1),
optimFunc = optim_midp,nply_iter = 5,...)
fListPly |
A function taking in a list of corresponding variable |
iter |
Iteration parameters for the optimFunc |
init |
Initial value to take in |
optimFunc |
Method to optimize a 1 var func. |
May converge quickly if the function does not have more than 1 local variables.
Hao Li
Matlab Youhuasuanfa
help
, ~~~
ply_shift_coord((function(l) l$x^2+l$y^2-3*l$z^2),iter = list(x = c(1,3),
y = c(0,2),
z = c(-1,4)),
init = list(x=1,y=1.5,z = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.