/dports/math/R-cran-lpSolve/lpSolve/src/ |
H A D | lp_simplex.c | 442 if(mat->col_end[colnr] - mat->col_end[colnr-1] != 1) in get_artificialRow() 447 colnr = mat->col_end[colnr-1]; in get_artificialRow() 448 colnr = COL_MAT_ROWNR(colnr); in get_artificialRow() 449 return( colnr ); in get_artificialRow() 458 if((P1extraDim == 0) || (colnr > lp->rows) || !lp->is_basic[colnr]) in findAnti_artificial() 726 colnr = 0; in primloop() 741 pcol[0] = my_chsign(!lp->is_lower[colnr], drow[colnr]); in primloop() 1124 colnr = 0; 1147 colnr = 0; 1155 colnr = 0; [all …]
|
H A D | lp_matrix.c | 232 return( mat->col_end[colnr] - mat->col_end[colnr-1] ); in mat_collength() 718 int *colnr; in mat_shiftcols() local 725 *colnr = -1; in mat_shiftcols() 1064 colnr = firstcol; 1067 if(j < colnr) { 1154 colnr = firstcol; 1204 colnr = kk; 1231 colnr = kk; 1558 *colnr = i; 1587 if(colnr != NULL) [all …]
|
H A D | lp_presolve.c | 309 colnr = list[j]; in presolve_SOScheck() 311 if((colnr < 1) || (colnr > lp->columns)) { in presolve_SOScheck() 342 for(colnr = 1; colnr <= lp->columns; colnr++) { in presolve_SOScheck() 486 for(colnr = 1; colnr <= lp->columns; colnr++) { in presolve_debugmap() 912 if((colnr < 1) || (colnr > lp->columns)) in presolve_colremove() 915 colnr = -1; in presolve_colremove() 973 colnr = removeLink(psdata->cols->varmap, colnr); in presolve_colremove() 975 return( colnr ); in presolve_colremove() 3000 if(is_semicont(lp, colnr) || is_SOS_var(lp, colnr)) 3183 if(jx == colnr) [all …]
|
H A D | lp_scale.c | 88 int *rownr, *colnr; in CurtisReidMeasure() local 106 colnr = &(COL_MAT_COLNR(0)); in CurtisReidMeasure() 157 int *rownr, *colnr; in CurtisReidScales() local 191 colnr = &(COL_MAT_COLNR(0)); in CurtisReidScales() 199 ColCount[*colnr]++; in CurtisReidScales() 297 residual_odd[*rownr] += (residual_even[*colnr] / (REAL) ColCount[*colnr]); in CurtisReidScales() 635 int *colnr; in scale_columns() local 657 colnr = &(COL_MAT_COLNR(0)); in scale_columns() 991 int *rownr, *colnr; in unscale_columns() local 1006 colnr = &(COL_MAT_COLNR(0)); in unscale_columns() [all …]
|
H A D | lp_crash.c | 60 int *rownr, *colnr; in crash_basis() local 74 colnr = &COL_MAT_COLNR(0); in crash_basis() 79 cx = *colnr; in crash_basis() 96 colnr = &COL_MAT_COLNR(0); in crash_basis() 101 cx = *colnr; in crash_basis() 239 int *rownr, *colnr; in crash_basis() local 264 colnr = &COL_MAT_COLNR(0); in crash_basis() 270 cx = *colnr; in crash_basis() 343 int i, n, *rownr, *colnr; in guess_basis() local 358 colnr = &COL_MAT_COLNR(i); in guess_basis() [all …]
|
H A D | lp_lib.c | 680 if(colnr > lp->columns || colnr < 1) { in set_var_branch() 699 if(colnr > lp->columns || colnr < 1) { in get_var_branch() 1020 if((colnr < 1) || (colnr > lp->columns)) { in set_mat() 2828 colnr = set_mat(lp, 0, colnr, value); in set_obj() 3338 colnr = -colnr; in del_column() 3339 if((colnr > lp->columns) || (colnr < 1)) { in del_column() 3395 if((colnr > lp->columns) || (colnr < 1)) { in set_upbo() 3429 if((colnr > lp->columns) || (colnr < 1)) { in get_upbo() 5927 colnr = -colnr; in get_col_name() 5941 colnr = abs(colnr); in get_origcol_name() [all …]
|
/dports/math/R-cran-raster/raster/R/ |
H A D | validCell.R | 21 validCol <- function(object, colnr) { argument 22 colnr <- round(colnr) 23 valid <- rep(FALSE, times=length(colnr)) 24 valid[colnr > 0 & colnr <= object@ncols] <- TRUE
|
H A D | cellRowCol.R | 42 cellFromCol <- function(object, colnr) { argument 44 colnr <- round(colnr) 45 rows <- rep(1:nrow(object), times=length(colnr)) 46 cols <- rep(colnr, each=nrow(object)) 51 .OLD_cellFromRowColCombine <- function(object, rownr, colnr) { argument 53 rc <- expand.grid(rownr, colnr)
|
/dports/math/lp_solve/lp_solve_5.5/ |
H A D | lp_simplex.c | 456 if(mat->col_end[colnr] - mat->col_end[colnr-1] != 1) in get_artificialRow() 461 colnr = mat->col_end[colnr-1]; in get_artificialRow() 462 colnr = COL_MAT_ROWNR(colnr); in get_artificialRow() 463 return( colnr ); in get_artificialRow() 472 if((P1extraDim == 0) || (colnr > lp->rows) || !lp->is_basic[colnr]) in findAnti_artificial() 740 colnr = 0; in primloop() 755 pcol[0] = my_chsign(!lp->is_lower[colnr], drow[colnr]); in primloop() 1138 colnr = 0; 1161 colnr = 0; 1169 colnr = 0; [all …]
|
H A D | lp_matrix.c | 245 return( mat->col_end[colnr] - mat->col_end[colnr-1] ); in mat_collength() 731 int *colnr; in mat_shiftcols() local 738 *colnr = -1; in mat_shiftcols() 1087 colnr = 0; 1099 colnr = 0; 1165 j = colnr; 1342 colnr = kk; 1486 if(j < colnr) { in mat_setrow() 1935 *colnr = i; in mat_validate() 1964 if(colnr != NULL) in mat_get_data() [all …]
|
H A D | lp_presolve.c | 287 colnr = list[j]; in presolve_SOScheck() 289 if((colnr < 1) || (colnr > lp->columns)) { in presolve_SOScheck() 320 for(colnr = 1; colnr <= lp->columns; colnr++) { in presolve_SOScheck() 466 for(colnr = 1; colnr <= lp->columns; colnr++) { in presolve_debugmap() 892 if((colnr < 1) || (colnr > lp->columns)) in presolve_colremove() 895 colnr = -1; in presolve_colremove() 953 colnr = removeLink(psdata->cols->varmap, colnr); in presolve_colremove() 955 return( colnr ); in presolve_colremove() 3049 if(is_semicont(lp, colnr) || is_SOS_var(lp, colnr)) 3232 if(jx == colnr) [all …]
|
H A D | lp_crash.c | 60 int *rownr, *colnr; in crash_basis() local 74 colnr = &COL_MAT_COLNR(0); in crash_basis() 79 cx = *colnr; in crash_basis() 96 colnr = &COL_MAT_COLNR(0); in crash_basis() 101 cx = *colnr; in crash_basis() 239 int *rownr, *colnr; in crash_basis() local 270 cx = *colnr; in crash_basis() 358 colnr = &COL_MAT_COLNR(i); 462 colnr = &COL_MAT_COLNR(i); 606 colnr = &COL_MAT_COLNR(i); [all …]
|
H A D | lp_scale.c | 88 int *rownr, *colnr; in CurtisReidMeasure() local 106 colnr = &(COL_MAT_COLNR(0)); in CurtisReidMeasure() 157 int *rownr, *colnr; in CurtisReidScales() local 191 colnr = &(COL_MAT_COLNR(0)); in CurtisReidScales() 199 ColCount[*colnr]++; in CurtisReidScales() 297 residual_odd[*rownr] += (residual_even[*colnr] / (REAL) ColCount[*colnr]); in CurtisReidScales() 635 int *colnr; in scale_columns() local 657 colnr = &(COL_MAT_COLNR(0)); in scale_columns() 991 int *rownr, *colnr; in unscale_columns() local 1006 colnr = &(COL_MAT_COLNR(0)); in unscale_columns() [all …]
|
H A D | lp_presolve.h | 84 STATIC MYBOOL presolve_colfix(presolverec *psdata, int colnr, REAL newvalue, MYBOOL remove, int *ta… 90 INLINE int presolve_nextrow(presolverec *psdata, int colnr, int *previtem); 97 STATIC int presolve_colremove(presolverec *psdata, int colnr, MYBOOL allowrowdelete); 99 STATIC MYBOOL presolve_colfixdual(presolverec *psdata, int colnr, REAL *fixValue, int *status); 110 INLINE int presolve_collength(presolverec *psdata, int colnr) in presolve_collength() argument 112 int *items = psdata->cols->next[colnr]; in presolve_collength()
|
H A D | lp_lib.c | 678 if(colnr > lp->columns || colnr < 1) { in set_var_branch() 697 if(colnr > lp->columns || colnr < 1) { in get_var_branch() 1020 if((colnr < 1) || (colnr > lp->columns)) { in set_mat() 2968 colnr = set_mat(lp, 0, colnr, value); in set_obj() 3507 colnr = -colnr; in del_column() 3508 if((colnr > lp->columns) || (colnr < 1)) { in del_column() 6139 colnr = -colnr; in get_col_name() 6152 colnr = abs(colnr); in get_origcol_name() 6541 for(colnr = 1; colnr <= lp->columns; colnr++) { 6646 for(colnr = 1; colnr <= lp->columns; colnr++) { in MIP_stepOF() [all …]
|
/dports/science/gramps/gramps-5.1.4/gramps/gui/editors/displaytabs/ |
H A D | surnametab.py | 248 def on_edit_start(self, cellr, celle, path, colnr): argument 252 self.curr_col = colnr 263 self.on_edit_start(cellr, celle, path, colnr) 279 self.on_edit_start(cellr, celle, path, colnr) 281 def on_edit_inline(self, cell, path, new_text, colnr): argument 288 self.model.set_value(node, colnr, text) 298 self.on_edit_inline(cellr, path, new_text, colnr) 300 def on_origcmb_change(self, cmb, path, colnr): argument 311 colnr) 313 def on_prim_toggled(self, cell, path, colnr): argument [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/ui/ |
H A D | preference_utils.c | 166 gint colnr; in column_prefs_add_custom() local 180 colnr = g_list_length(prefs.col_list); in column_prefs_add_custom() 186 if (position > 0 && position <= colnr) { in column_prefs_add_custom() 191 colnr -= 1; in column_prefs_add_custom() 192 prefs.col_list = g_list_insert(prefs.col_list, cfmt, colnr); in column_prefs_add_custom() 201 return colnr; in column_prefs_add_custom() 209 gint colnr = -1; in column_prefs_has_custom() local 218 colnr = i; in column_prefs_has_custom() 223 return colnr; in column_prefs_has_custom()
|
/dports/net/wireshark/wireshark-3.6.1/ui/ |
H A D | preference_utils.c | 166 gint colnr; in column_prefs_add_custom() local 180 colnr = g_list_length(prefs.col_list); in column_prefs_add_custom() 186 if (position > 0 && position <= colnr) { in column_prefs_add_custom() 191 colnr -= 1; in column_prefs_add_custom() 192 prefs.col_list = g_list_insert(prefs.col_list, cfmt, colnr); in column_prefs_add_custom() 201 return colnr; in column_prefs_add_custom() 209 gint colnr = -1; in column_prefs_has_custom() local 218 colnr = i; in column_prefs_has_custom() 223 return colnr; in column_prefs_has_custom()
|
/dports/net/tshark-lite/wireshark-3.6.1/ui/ |
H A D | preference_utils.c | 166 gint colnr; in column_prefs_add_custom() local 180 colnr = g_list_length(prefs.col_list); in column_prefs_add_custom() 186 if (position > 0 && position <= colnr) { in column_prefs_add_custom() 191 colnr -= 1; in column_prefs_add_custom() 192 prefs.col_list = g_list_insert(prefs.col_list, cfmt, colnr); in column_prefs_add_custom() 201 return colnr; in column_prefs_add_custom() 209 gint colnr = -1; in column_prefs_has_custom() local 218 colnr = i; in column_prefs_has_custom() 223 return colnr; in column_prefs_has_custom()
|
/dports/net/tshark/wireshark-3.6.1/ui/ |
H A D | preference_utils.c | 166 gint colnr; 180 colnr = g_list_length(prefs.col_list); 186 if (position > 0 && position <= colnr) { 191 colnr -= 1; 192 prefs.col_list = g_list_insert(prefs.col_list, cfmt, colnr); 201 return colnr; 209 gint colnr = -1; 218 colnr = i; 223 return colnr;
|
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/src/ |
H A D | indicatordata.h | 5 IndicatorData(int linenr, int colnr, int nrofchar, std::string path) in IndicatorData() 6 : linenr(linenr), colnr(colnr), nrofchar(nrofchar), path(path) in IndicatorData() 15 int colnr; member
|
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/src/ |
H A D | indicatordata.h | 5 IndicatorData(int linenr, int colnr, int nrofchar, std::string path) in IndicatorData() 6 : linenr(linenr), colnr(colnr), nrofchar(nrofchar), path(path) in IndicatorData() 15 int colnr; member
|
/dports/math/R-cran-raster/raster/src/ |
H A D | cellRowCol.cpp | 7 IntegerVector rownr, IntegerVector colnr) { in doCellFromRowCol() argument 12 size_t colnr_size = colnr.size(); in doCellFromRowCol() 17 size_t len = std::max(rownr.size(), colnr.size()); in doCellFromRowCol() 22 double c = colnr[i < colnr_size ? i : i % colnr_size]; in doCellFromRowCol()
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/general/ |
H A D | hashtabl.hpp | 168 void GetData (int bnr, int colnr, in GetData() argument 171 ahash = hash.Get(bnr, colnr); in GetData() 172 acont = cont.Get(bnr, colnr); in GetData() 179 hash.Set(bnr, colnr, ahash); in SetData() 180 cont.Set(bnr, colnr, acont); in SetData() 973 colnr = Position (bnr, ahash); in PositionCreate() 974 if (!colnr) in PositionCreate() 1028 ahash = hash.Get(bnr, colnr); in GetData() 1029 acont = cont.Get(bnr, colnr); in GetData() 1035 hash.Set(bnr, colnr, ahash); in SetData() [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/netgen/libsrc/general/ |
H A D | hashtabl.hpp | 166 void GetData (int bnr, int colnr, in GetData() argument 169 ahash = hash.Get(bnr, colnr); in GetData() 170 acont = cont.Get(bnr, colnr); in GetData() 177 hash.Set(bnr, colnr, ahash); in SetData() 178 cont.Set(bnr, colnr, acont); in SetData() 921 colnr = Position (bnr, ahash); in PositionCreate() 922 if (!colnr) in PositionCreate() 976 ahash = hash.Get(bnr, colnr); in GetData() 977 acont = cont.Get(bnr, colnr); in GetData() 983 hash.Set(bnr, colnr, ahash); in SetData() [all …]
|