Description Usage Arguments Examples
Same approximation method as the BarBor function, but this doesn't print out anything. Its recommended use is for timing the approximation.
1 | BarBorNoPrint(exp,eps,x,v,n)
|
exp |
Expression of the function to be minimized. |
eps |
Precision of the approximation, recommended value is 10^-10. |
x |
Starting point of the approximation. |
v |
A character vector of the functions variables, for instance the two dimension fuction x1*x1+10*x2*x2 needs a c("x1","x2") vector. |
n |
Maximum setps to make while approximating, if the calculation reaches this number it exits with the current value and point. Recommended to be 10000. |
1 2 3 4 5 6 | test1 = expression(x1*x1+10*x2*x2)
eps = 10^-15
x = c(3,4)
v = c("x1","x2")
n = 10000
BarBorNoPrint(test1,eps,x,v,n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.