/dports/databases/grass7/grass-7.8.6/imagery/i.gensigset/ |
H A D | subcluster.c | 33 int nbands; in subcluster() local 46 nbands = S->nbands; in subcluster() 53 I_SigSetNBands(&min_S, nbands); in subcluster() 64 nparams_clust = 1 + nbands + 0.5 * (nbands + 1) * nbands; in subcluster() 94 seed(Sig, nbands); in subcluster() 132 R = G_alloc_matrix(nbands, nbands); in seed() 215 nparams_clust = 1 + nbands + 0.5 * (nbands + 1) * nbands; in refine_clusters() 410 I_SigSetNBands(&S, nbands); in reduce_order() 490 I_SigSetNBands(&S, nbands); in distance() 533 y = G_alloc_matrix(nbands, nbands); in compute_constants() [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/imagery/ |
H A D | iclass_statistics.c | 57 statistics->nbands = 0; in I_iclass_init_statistics() 82 statistics->nbands = nbands; in alloc_statistics() 148 int i, b, b2, nbands; in make_all_statistics() local 154 nbands = statistics->nbands; in make_all_statistics() 211 int nbands; in make_statistics() local 215 nbands = statistics->nbands; in make_statistics() 293 int nbands; in create_raster() local 303 nbands = statistics->nbands; in create_raster() 464 int *nbands) in I_iclass_statistics_get_nbands() argument 466 *nbands = statistics->nbands; in I_iclass_statistics_get_nbands() [all …]
|
H A D | sigset.c | 58 S->nbands = 0; in I_InitSigSet() 68 S->nbands = nbands; in I_SigSetNBands() 108 Sp->R[0] = (double *)G_calloc(S->nbands * S->nbands, sizeof(double)); in I_NewSubSig() 109 for (i = 1; i < S->nbands; i++) in I_NewSubSig() 110 Sp->R[i] = Sp->R[i - 1] + S->nbands; in I_NewSubSig() 112 Sp->Rinv[0] = (double *)G_calloc(S->nbands * S->nbands, sizeof(double)); in I_NewSubSig() 113 for (i = 1; i < S->nbands; i++) in I_NewSubSig() 262 for (i = 0; i < nbands; i++) in get_subclass_means() 273 for (i = 0; i < nbands; i++) in get_subclass_covar() 274 for (j = 0; j < nbands; j++) in get_subclass_covar() [all …]
|
H A D | iclass_bands.c | 41 int n, nbands; in open_band_files() local 48 nbands = refer->nfiles; in open_band_files() 49 *band_buffer = (CELL **) G_malloc(nbands * sizeof(CELL *)); in open_band_files() 50 *band_fd = (int *)G_malloc(nbands * sizeof(int)); in open_band_files() 52 for (n = 0; n < nbands; n++) { in open_band_files() 69 int n, nbands; in close_band_files() local 73 nbands = refer->nfiles; in close_band_files() 74 for (n = 0; n < nbands; n++) { in close_band_files() 91 void read_band_row(CELL ** band_buffer, int *band_fd, int nbands, int row) in read_band_row() argument 97 for (i = 0; i < nbands; i++) in read_band_row()
|
H A D | sig.c | 4 int I_init_signatures(struct Signature *S, int nbands) in I_init_signatures() argument 6 S->nbands = nbands; in I_init_signatures() 24 S->sig[i].mean = (double *)G_calloc(S->nbands, sizeof(double)); in I_new_signature() 25 S->sig[i].var = (double **)G_calloc(S->nbands, sizeof(double *)); in I_new_signature() 27 for (n = 0; n < S->nbands; n++) in I_new_signature() 28 S->sig[i].var[n] = (double *)G_calloc(S->nbands, sizeof(double)); in I_new_signature() 42 for (n = 0; n < S->nbands; n++) in I_free_signatures() 73 for (i = 0; i < S->nbands; i++) { in I_read_one_signature() 78 for (i = 0; i < S->nbands; i++) { in I_read_one_signature() 130 for (i = 0; i < S->nbands; i++) in I_write_signatures() [all …]
|
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/test/big/scf/ |
H A D | analyse.py | 929 if nbands == '00': 930 nbands = 'None' variable 932 nbands = str(-int(nbands)) 933 l += '\nnbands=' + nbands 936 if nbands == '00': 937 nbands = 'None' variable 939 nbands = str(-int(nbands)) 940 l += '\nnbands=' + nbands 943 if nbands == '00': 944 nbands = 'None' variable [all …]
|
/dports/databases/grass7/grass-7.8.6/imagery/i.smap/ |
H A D | model.c | 17 int nbands; in extract_init() local 23 nbands = S->nbands; in extract_init() 25 lambda = G_alloc_vector(nbands); in extract_init() 26 tmp_mat = G_alloc_matrix(nbands, nbands); in extract_init() 40 for (b1 = 0; b1 < nbands; b1++) in extract_init() 41 for (b2 = 0; b2 < nbands; b2++) { in extract_init() 53 for (b1 = 0; b1 < nbands; b1++) { in extract_init() 61 for (b1 = 0; b1 < nbands; b1++) { in extract_init() 66 invert(SubS->Rinv, nbands); in extract_init() 94 nbands = S->nbands; in extract() [all …]
|
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/test/ |
H A D | test_overlap.py | 21 nbands = 4 29 c1 = GPAW(h=h, txt=txt, eigensolver='dav', nbands=nbands, 30 convergence={'eigenstates': nbands}) 56 c2 = GPAW(h=h, txt=txt, eigensolver='cg', nbands=nbands + 1, 57 convergence={'eigenstates': nbands + 1}) 62 c2 = GPAW(h=h, txt=txt, spinpol=True, nbands=nbands + 1, 64 convergence={'eigenstates': nbands + 1}) 77 c1 = GPAW(h=h, txt=txt, nbands=nbands, 79 convergence={'eigenstates': nbands}) 81 c2 = GPAW(h=h, txt=txt, nbands=nbands + 1, [all …]
|
H A D | overlap.py | 23 nbands = 4 31 c1 = GPAW(h=h, txt=txt, eigensolver='dav', nbands=nbands, 32 convergence={'eigenstates': nbands}) 68 c2 = GPAW(h=h, txt=txt, eigensolver='cg', nbands=nbands + 1, 69 convergence={'eigenstates': nbands + 1}) 74 c2 = GPAW(h=h, txt=txt, spinpol=True, nbands=nbands + 1, 76 convergence={'eigenstates': nbands + 1}) 89 c1 = GPAW(h=h, txt=txt, nbands=nbands, 92 convergence={'eigenstates': nbands}) 94 c2 = GPAW(h=h, txt=txt, nbands=nbands + 1, [all …]
|
H A D | test_fixocc.py | 11 nbands = 2 21 c = GPAW(h=h, nbands=nbands, 28 c = GPAW(h=h, nbands=nbands, 39 c = GPAW(h=h, nbands=nbands, 46 c = GPAW(h=h, nbands=nbands, spinpol=True,
|
/dports/databases/grass7/grass-7.8.6/imagery/i.maxlik/ |
H A D | invert.c | 19 ik = (int *)G_malloc(S.nbands * sizeof(int)); in invert_signatures() 36 for (j = 0; j < S.nbands; j++) in invert_signatures() 37 for (k = 0; k < S.nbands; k++) in invert_signatures() 40 for (k = 0; k < S.nbands; k++) in invert_signatures() 63 for (k = 0; k < nbands; k++) in invert() 69 for (k = 0; k < nbands; k++) { /* 30 */ in invert() 71 for (i = k; i < nbands; i++) { /* 330 */ in invert() 105 for (j = 0; j < nbands; j++) in invert() 109 for (j = 0; j < nbands; j++) in invert() 112 for (i = 0; i < nbands; i++) in invert() [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/cluster/ |
H A D | c_begin.c | 28 int I_cluster_begin(struct Cluster *C, int nbands) in I_cluster_begin() argument 33 for (band = 0; band < C->nbands; band++) in I_cluster_begin() 50 C->nbands = nbands; in I_cluster_begin() 51 if (nbands <= 0) in I_cluster_begin() 56 I_init_signatures(&C->S, nbands); in I_cluster_begin() 60 C->points = (DCELL **) malloc(C->nbands * sizeof(DCELL *)); in I_cluster_begin() 63 for (band = 0; band < C->nbands; band++) in I_cluster_begin() 67 for (band = 0; band < C->nbands; band++) { in I_cluster_begin() 77 C->band_sum = (double *)malloc(C->nbands * sizeof(double)); in I_cluster_begin() 80 C->band_sum2 = (double *)malloc(C->nbands * sizeof(double)); in I_cluster_begin() [all …]
|
/dports/math/R-cran-raster/raster/R/ |
H A D | stackQuick.R | 7 .quickStack <- function(files, nbands=1, band=1, native=FALSE) { argument 9 if (length(nbands) == 1) { 10 nbands <- rep(nbands, length(files)) 12 stopifnot(length(files == length(nbands))) 14 nbands <- as.integer(nbands) 24 r@file@nbands <- nbands[1] 32 r@file@nbands <- nbands[i] 53 nbands <- nlayers(b) functionVar 55 bands <- 1:nbands 60 bands <- bands[bands %in% 1:nbands] [all …]
|
/dports/science/siesta/siesta-4.1.5/Src/ |
H A D | globalise.F | 289 . nbands,Node 725 . ibandloc,nbands 727 . bux1(nbands) 772 . bux1(nbands),bux2(nbands) 890 . bux1(nbands),buxg(nbands) 942 . bux1(nbands),bux2(nbands),buxg(nbands,2) 996 . buxg(nbands) 1050 . buxg(nbands,2) 1106 . buxg(nbands,3) 1168 . bux1(nbands),bux2(nbands),bux3(nbands) [all …]
|
H A D | reoptical.F | 9 . efield,nbands,option,escissor) 67 integer nmeshk(3), nbands 120 nn = nbands 121 nbands = fdf_integer('Optical.NumberOfBands',nn) 122 nbands = min(nbands,nn) 123 nbands = max(nbands,1)
|
H A D | egandd.F | 12 . ncmax,numc,listc,h,s,c,no_u,no_l,nbands, 88 . iopt,nbands,no_u,no_l,no_cl,ncmax,nhmax,nspin, 151 call re_alloc( nbL2G, 1, nbands, 'nbL2G', 'eandg' ) 152 call re_alloc( nbG2L, 1, nbands, 'nbG2L', 'eandg' ) 154 do i = 1,nbands 164 nbG2L(1:nbands) = 0 165 do i = 1,nbands 222 call axb_build2(nbands,maxnf,numf,listf, 233 call setglobaliseB(nbands,Node) 234 call setglobaliseF(no_u,nbands,no_cl,maxnft,Node) [all …]
|
/dports/databases/grass7/grass-7.8.6/imagery/i.gensig/ |
H A D | check.c | 14 lambda = (double *)G_calloc(S->nbands, sizeof(double)); in check_signatures() 15 I_init_signatures(&temp, S->nbands); in check_signatures() 18 copy_covariances(temp.sig[0].var, S->sig[i].var, S->nbands); in check_signatures() 19 if (!can_invert(temp.sig[0].var, S->nbands)) { in check_signatures() 24 copy_covariances(temp.sig[0].var, S->sig[i].var, S->nbands); in check_signatures() 25 if (!eigen(temp.sig[0].var, lambda, S->nbands)) { in check_signatures() 30 for (j = 0; j < S->nbands; j++) { in check_signatures()
|
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/test/parallel/ |
H A D | test_scalapack_diag_simple.py | 28 def main(nbands=1000, mprocs=2, mb=64): argument 33 nndesc = grid.new_descriptor(nbands, nbands, mb, mb) 36 eps_N = np.empty((nbands), dtype=float) # replicated on all MPI tasks 56 diagonal = np.eye(nbands, dtype=float) 57 offdiagonal = np.tril(np.ones((nbands, nbands)), -1) 59 E0 = np.empty((nbands), dtype=float)
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/sched/ |
H A D | sch_ets.c | 52 unsigned int nbands; member 129 for (i = 0; i < q->nbands; i++) in ets_offload_change() 279 if (band - 1 >= q->nbands) in ets_class_find() 413 if (band >= q->nbands) in ets_classify() 532 if (band >= nbands) { in ets_qdisc_priomap_parse() 566 if (band >= nbands) { in ets_qdisc_quanta_parse() 594 unsigned int nbands; in ets_qdisc_change() local 612 if (nbands < 1 || nbands > TCQ_ETS_MAX_BANDS) { in ets_qdisc_change() 621 if (nstrict > nbands) { in ets_qdisc_change() 662 q->nbands = nbands; in ets_qdisc_change() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/sched/ |
H A D | sch_ets.c | 52 unsigned int nbands; member 129 for (i = 0; i < q->nbands; i++) in ets_offload_change() 279 if (band - 1 >= q->nbands) in ets_class_find() 413 if (band >= q->nbands) in ets_classify() 532 if (band >= nbands) { in ets_qdisc_priomap_parse() 566 if (band >= nbands) { in ets_qdisc_quanta_parse() 594 unsigned int nbands; in ets_qdisc_change() local 612 if (nbands < 1 || nbands > TCQ_ETS_MAX_BANDS) { in ets_qdisc_change() 621 if (nstrict > nbands) { in ets_qdisc_change() 662 q->nbands = nbands; in ets_qdisc_change() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/sched/ |
H A D | sch_ets.c | 52 unsigned int nbands; member 129 for (i = 0; i < q->nbands; i++) in ets_offload_change() 279 if (band - 1 >= q->nbands) in ets_class_find() 413 if (band >= q->nbands) in ets_classify() 532 if (band >= nbands) { in ets_qdisc_priomap_parse() 566 if (band >= nbands) { in ets_qdisc_quanta_parse() 594 unsigned int nbands; in ets_qdisc_change() local 612 if (nbands < 1 || nbands > TCQ_ETS_MAX_BANDS) { in ets_qdisc_change() 621 if (nstrict > nbands) { in ets_qdisc_change() 662 q->nbands = nbands; in ets_qdisc_change() [all …]
|
/dports/multimedia/vmaf/vmaf-2.3.0/matlab/strred/matlabPyrTools/ |
H A D | buildSFpyrLevs.m | 8 function [pyr,pind] = buildSFpyrLevs(lodft,log_rad,Xrcos,Yrcos,angle,ht,nbands); 18 bands = zeros(prod(size(lodft)), nbands); 19 bind = zeros(nbands,2); 26 order = nbands-1; 29 const = (2^(2*order))*(factorial(order)^2)/(nbands*factorial(2*order)); 33 for b = 1:nbands 34 anglemask = pointOp(angle, Ycosn, Xcosn(1)+pi*(b-1)/nbands, Xcosn(2)-Xcosn(1)); 35 banddft = ((-sqrt(-1))^(nbands-1)) .* lodft .* anglemask .* himask; 57 [npyr,nind] = buildSFpyrLevs(lodft, log_rad, Xrcos, Yrcos, angle, ht-1, nbands);
|
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/ |
H A D | band_descriptor.py | 54 def __init__(self, nbands: int, comm=None, strided=False): 86 self.nbands = nbands 92 assert nbands % comm.size == 0 94 self.end = nbands 99 self.end = min(nbands, self.beg + self.maxmynbands) 122 return np.arange(*nslice.indices(self.nbands)) 126 rank_n = np.empty(self.nbands, dtype=int) 152 return (self.nbands,) 251 if M2 * S == self.nbands: 257 C_nx[:self.nbands] = B_nx [all …]
|
/dports/math/py-spectral/spectral-0.22.4/spectral/io/ |
H A D | bipfile.py | 72 delta = self.sample_size * (self.nbands - 1) 124 delta = self.sample_size * self.nbands 179 * self.nbands * (row * self.ncols + col), 0) 181 vals.fromfile(f, self.nbands * self.sample_size) 234 nbands = self.nbands 237 d_row = self.sample_size * self.ncols * self.nbands 252 nSubBands = self.nbands 322 nbands = self.nbands 326 d_col = d_band * self.nbands 338 bands = list(range(self.nbands)) [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/net/forwarding/ |
H A D | sch_ets_tests.sh | 17 local nbands=${#WS[@]} 21 for ((i = 0; i < nbands; i++)); do 27 echo -n "ets bands $nbands" 31 if ((nstrict < nbands)); then 33 for ((i = nstrict; i < nbands; i++)); do 151 local nbands=$((nstrict + ndwrr)) 152 local nstreams=$(if ((nbands > 3)); then echo 3; else echo $nbands; fi)
|