public void initialize ( double initial [ ] , int numberOfParameters , int numberOfFunctions ) { super . initialize ( initial , numberOfParameters ) ; lambda = config . dampeningInitial ; nu = NU_INITIAL ; residuals . reshape ( numberOfFunctions , 1 ) ; diagOrig . reshape ( numberOfParameters , 1 ) ; diagStep . reshape ( numberOfParameters , 1 ) ; computeResiduals ( x , residuals ) ; fx = costFromResiduals ( residuals ) ; mode = Mode . COMPUTE_DERIVATIVES ; if ( verbose != null ) { verbose . println ( "Steps fx change |step| f-test g-test tr-ratio lambda " ) ; verbose . printf ( "%-4d %9.3E %10.3E %9.3E %9.3E %9.3E %6.2f %6.2E\n" , totalSelectSteps , fx , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , lambda ) ; } }
Initializes the search .