50 this =
this@error.lipfun.Base(bellfcn);
55 copy = error.lipfun.LocalSecantLipschitz(this.
bellfcn);
62 this.dx0= abs(this.
bellfcn.evaluateD1(x0));
71 ci = ones(size(di))*this.dx0;
73 case1 = di - C - x0 > 0;
74 case2 = di + C - x0 < 0;
79 ci(case1 | case2) = abs(b.evaluateD1(di(case1 | case2)));
81 ci(case1) = (b.evaluateScalar(di(case1)-C) - b.evaluateScalar(di(case1))) / C;
82 ci(case2) = (b.evaluateScalar(di(case2)) - b.evaluateScalar(di(case2)+C)) / C;
84 ci(~case1 & ~case2) = this.dx0;
LocalSecantLipschitz(bellfcn)
function ci = evaluate(di, C)
Evaluates the local lipschitz estimation function.
function prepareConstants()