/dports/lang/yorick/yorick-y_2_2_04/i0/ |
H A D | graph.i | 1931 if (reverse) levs= levs(0:1:-1); 2086 levs = double(levs); 2093 if (reverse) levs= levs(0:1:-1); 2094 else levs= levs(1:0); 2096 levs= [double(levs(1))]; 2195 levs= levs(1:0); 2196 levs= grow([2*levs(1)-levs(2)],levs,[2*levs(0)-levs(-1)]); 2198 levs= double(levs(1)); 2199 if (!levs) levs= [-1.,levs,1.]; 2200 else levs= [0.,levs,2*levs]; [all …]
|
/dports/multimedia/vmaf/vmaf-2.3.0/matlab/strred/matlabPyrTools/ |
H A D | reconLpyr.m | 20 function res = reconLpyr(pyr, ind, levs, filt2, edges) 29 if (exist('levs') ~= 1) 30 levs = 'all'; variable 43 if strcmp(levs,'all') 44 levs = [1:maxLev]'; variable 46 if (any(levs > maxLev)) 49 levs = levs(:); variable 59 if any(levs > 1) 64 ind(2:size(ind,1),:), levs-1, filt2, edges); 81 if any(levs == 1)
|
H A D | reconSpyr.m | 26 function res = reconSpyr(pyr, pind, filtfile, edges, levs, bands) 39 if (exist('levs') ~= 1) 40 levs = 'all'; variable 60 if strcmp(levs,'all') 61 levs = [0:maxLev]'; variable 63 if (any(levs > maxLev) | any(levs < 0)) 66 levs = levs(:); variable 79 if (any(levs==1)) 87 lofilt, bfilts, edges, levs, bands); 93 if any(levs == 0)
|
H A D | reconSFpyr.m | 26 function res = reconSFpyr(pyr, pind, levs, bands, twidth) 31 if (exist('levs') ~= 1) 32 levs = 'all'; variable 51 if strcmp(levs,'all') 52 levs = [0:maxLev]'; variable 54 if (any(levs > maxLev) | any(levs < 0)) 57 levs = levs(:); variable 87 if (any(levs==1)) 95 log_rad, Xrcos, Yrcos, angle, nbands, levs, bands); 102 if any(levs == 0)
|
H A D | reconWpyr.m | 25 function res = reconWpyr(pyr, ind, filt, edges, levs, bands) 42 if (exist('levs') ~= 1) 43 levs = 'all'; variable 53 if strcmp(levs,'all') 54 levs = [1:maxLev]'; variable 56 if (any(levs > maxLev)) 59 levs = levs(:); variable 102 if any(levs > 1) 106 ind(loind:size(ind,1),:), filt, edges, levs-1, bands); 128 if any(levs == 1)
|
H A D | reconSpyrLevs.m | 9 function res = reconSpyrLevs(pyr,pind,lofilt,bfilts,edges,levs,bands); 18 if any(levs > 1) 23 lofilt, bfilts, edges, levs-1, bands); 36 if any(levs == 1)
|
/dports/math/R-cran-forcats/forcats/R/ |
H A D | collapse.R | 30 levs <- as.list(unlist(new, use.names = FALSE)) functionVar 35 new[[other_level]] <- levels[!levels %in% levs] 36 levs <- c(levs, new[[other_level]]) 39 names(levs) <- names(new)[rep(seq_along(new), vapply(new, length, integer(1)))] 40 out <- fct_recode(.f, !!!levs)
|
H A D | explicit_na.R | 27 levs <- levels(f) functionVar 28 levs[is.na(levs)] <- na_level 30 lvls_revalue(f, levs)
|
/dports/math/R-cran-haven/haven/R/ |
H A D | as_factor.R | 75 levs <- replace_with(vals, unname(labels), names(labels)) functionVar 77 levs <- sort(c(stats::setNames(vals, levs), labels), na.last = TRUE) 78 levs <- unique(names(levs)) 82 x <- factor(x, levels = levs, ordered = ordered) 84 levs <- unname(labels) 86 x <- replace_with(vec_data(x), levs, labs)
|
/dports/math/R-cran-recipes/recipes/R/ |
H A D | cut.R | 174 levs <- levels(x) functionVar 175 if (length(levs) == 1) { 178 first_level <- sub("(?<=\\[)(.*?)(?=,)", "min", levs[1], perl = TRUE) 180 sub("(?<=,)(.+?)(?=\\])", "max", levs[length(levs)], perl = TRUE) 181 remaining_levs <- levs[-c(1, length(levs))] 183 names(new_levs) <- levs
|
/dports/devel/R-cran-gtools/gtools/R/ |
H A D | quantcut.R | 94 levs <- unique(retval[order(x)]) # ensure factor levels are functionVar 96 retval <- factor(retval, levels = levs) 105 pairs <- mkpairs(strsplit(levs, "[^0-9+\\.\\-]+")) 107 colnames(pairs) <- levs 125 levs <- ifelse(pairs[1, ] == pairs[2, ], 135 levels(retval) <- levs
|
/dports/science/R-cran-Epi/Epi/R/ |
H A D | contr.cum.R | 5 levs <- 1:n functionVar 7 levs <- n 10 contr <- array(0, c(n, n), list(levs, levs))
|
H A D | contr.diff.R | 5 levs <- 1:n functionVar 7 levs <- n 10 contr <- array(0, c(n, n), list(levs, levs))
|
/dports/devel/R-cran-itertools/itertools/R/ |
H A D | writedf.R | 55 levs <- get(levsvar) functionVar 56 if (is.null(levs)) { 59 if (any(levs != levels(df[[icol]]))) { 97 levs <- get(levsvar) functionVar 98 if (is.null(levs)) { 101 writeLines(levs, colinfo$lfile)
|
/dports/math/R-cran-memisc/memisc/R/ |
H A D | contrasts.R | 104 levs <- 1:n functionVar 108 levs <- n 111 contr <- array(0, c(n, n), list(levs, levs)) 134 levs <- 1:n functionVar 136 levs <- n 139 contr <- array(0, c(n, n), list(levs, levs))
|
/dports/math/R-cran-backports/backports/R/ |
H A D | valid.factor.R | 15 levs <- levels(object) functionVar 16 if (!is.character(levs)) 18 if (d <- anyDuplicated(levs))
|
/dports/math/py-matplotlib/matplotlib-3.4.3/lib/mpl_toolkits/axisartist/ |
H A D | angle_helper.py | 103 levs = np.arange(np.floor(v1 * factor / step), 112 n = len(levs) 117 if factor == 1. and levs[-1] >= levs[0] + cycle: # check for cycle 120 levs = levs[0] + np.arange(0, nv+1, 1) * step 122 levs = levs[0] + np.arange(0, nv, 1) * step 124 n = len(levs) 126 return np.array(levs), n, factor 131 levs, n, factor = select_step(v1, v2, nv, hour=True, 134 return levs * 15, n, factor
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/mpl_toolkits/axisartist/ |
H A D | angle_helper.py | 125 levs = np.arange(np.floor(f1/step), np.ceil(f2/step)+0.5, dtype=int) * step 132 n = len(levs) 138 if factor == 1. and (levs[-1] >= levs[0]+cycle): # check for cycle 141 levs = levs[0] + np.arange(0, nv+1, 1) * step 143 levs = levs[0] + np.arange(0, nv, 1) * step 145 n = len(levs) 147 return np.array(levs), n, factor 152 levs, n, factor = select_step(v1, v2, nv, hour=True, 155 return levs*15., n, factor
|
/dports/math/plantri/plantri52/ |
H A D | allowed_deg.c | 241 register int i,i1,i2,i3,k,levs,excess; in find_extensions_ad() local 273 if (nur_E3 || (excess > levs)) { return; } in find_extensions_ad() 290 minimprove=error-(2*(levs-1)); in find_extensions_ad() 294 minimprove=error-(3*(levs-1)); in find_extensions_ad() 305 if (errors1 > (4*levs)) { return; } in find_extensions_ad() 321 if (error > (3*levs)) { return; } in find_extensions_ad() 322 minimprove=error-(3*(levs-1)); in find_extensions_ad() 324 if (error>levs) in find_extensions_ad() 365 if (ierror>levs) { return; } in find_extensions_ad() 373 nur_E5= (excess==levs); in find_extensions_ad() [all …]
|
/dports/graphics/grads/grads-1.9b4/src/ |
H A D | lats.c | 704 var->levs = (vertdim ? vertdim->levs : (double *)0); in lats_var() 728 qcalloc = (var->levs ? var->nlev : 1); in lats_var() 734 if(var->levs){ in lats_var() 837 int lats_vert_dim(char* name, char* levtype, int nlev, double levs[]) { in lats_vert_dim() argument 881 if(nlev>0 && (mono = latsCheckMono(nlev, levs))==0){ in lats_vert_dim() 891 delta = levs[i+1] - levs[i]; in lats_vert_dim() 898 delta = levs[i] - levs[i+1]; in lats_vert_dim() 905 levdelta = ((delta=fabs((double)levs[0])) > 0.0 ? delta : 1.0); in lats_vert_dim() 918 if((vertdim->levs = (double *)malloc(nlev*sizeof(double)))==0){ in lats_vert_dim() 923 memcpy(vertdim->levs, levs, nlev*sizeof(double)); in lats_vert_dim() [all …]
|
/dports/lang/yorick/yorick-y_2_2_04/i/ |
H A D | plclab.i | 13 func plc_label(z,y,x, levs, ndivs=, opaque=, lmgrid=, height=) 53 nc = numberof(levs); 65 above= z > levs(n); /* 1 where z > levs, 0 elsewhere */ 112 f= (levs(nzp)-z(kzp))/(z(kzp+1)-z(kzp)); 121 f= (levs(npz)-z(kpz))/(z(kpz+nx)-z(kpz)); 184 anc= abs(levs(dif)); 214 plt, pr1(levs(nc(k))), xc(k),yc(k),
|
/dports/science/cdo/cdo-2.0.0/libcdi/examples/ |
H A D | cdi_write_hybrid.c | 17 double levs[nhlev] = {1, 2, 3, 4, 5, 6}; in main() local 38 zaxisDefLevels(zaxisID2, levs); in main() 43 zaxisDefLevels(zaxisID3, levs); in main() 48 zaxisDefLevels(zaxisID4, levs); in main() 49 zaxisDefLbounds(zaxisID4, levs); in main()
|
/dports/devel/R-cran-gdata/gdata/R/ |
H A D | mapLevels.R | 43 levs <- levels(x) functionVar 45 levs <- unique(x) 46 nlevs <- length(levs) 47 if(sort) levs <- sort(levs, ...) 53 names(map) <- levs 57 map[1:nlevs] <- levs
|
/dports/math/R-cran-car/car/R/ |
H A D | Contrasts.R | 6 levs <- 1:n functionVar 8 levs <- n 18 contr.names <- paste(pre, dec, levs, suf, sep="") 19 contr <- array(0, c(n, n), list(levs, contr.names))
|
/dports/devel/R-cran-plyr/plyr/R/ |
H A D | splitter-d.r | 89 levs <- levels(x) functionVar 90 factor(levs, levels = levs)
|