minimizeOnLambda

minimize a penalty function by performing a search on lambda


Declaration

 error = minimizeOnLambda(functionOfSpline)

Parameters

  • splinePenalty function handle that takes a MaternSpline as an argument and turns a scalar value.

Returns

  • error current value of the splinePenalty function

Discussion