MCPcopy Create free account
hub / github.com/Singular/Singular / is_nonnegative

Method is_nonnegative

IntegerProgramming/matrix.cc:218–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218BOOLEAN matrix::is_nonnegative() const
219{
220 for(int i=0;i<rows;i++)
221 for(int j=0;j<columns;j++)
222 if(coefficients[i][j]<0)
223 return FALSE;
224 return TRUE;
225}
226
227
228

Callers 9

Conti_TraversoFunction · 0.45
Positive_Conti_TraversoFunction · 0.45
Elim_Conti_TraversoFunction · 0.45
PottierFunction · 0.45
Hosten_SturmfelsFunction · 0.45
DiBiase_UrbankeFunction · 0.45
Bigatti_LaScala_RobbianoFunction · 0.45
solveFunction · 0.45
change_costFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected