Home
last modified time | relevance | path

Searched refs:leaving_index (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/modules/core/src/
Dlpsolver.cpp85 …id pivot(Mat_<double>& c,Mat_<double>& b,double& v,vector<int>& N,vector<int>& B,int leaving_index,
316 int leaving_index,int entering_index,vector<unsigned int>& indexToRow){ in pivot() argument
317 double Coef=b(leaving_index,entering_index); in pivot()
320 b(leaving_index,i)=1/Coef; in pivot()
322 b(leaving_index,i)/=Coef; in pivot()
327 if(i!=leaving_index){ in pivot()
331 b(i,j)=-coef*b(leaving_index,j); in pivot()
333 b(i,j)-=(coef*b(leaving_index,j)); in pivot()
343 c(0,i)=-Coef*b(leaving_index,i); in pivot()
345 c(0,i)-=Coef*b(leaving_index,i); in pivot()
[all …]