Home
last modified time | relevance | path

Searched refs:lweights (Results 1 – 25 of 26) sorted by relevance

12

/dports/science/plumed/plumed2-2.7.2/src/analysis/
H A DLandmarkSelectionBase.cpp41 lweights.resize( nlandmarks ); in LandmarkSelectionBase()
57 if( lweights.size()!=nlandmarks ) lweights.resize( nlandmarks ); in performAnalysis()
60 lweights.assign(lweights.size(),0.0); in performAnalysis()
62 voronoiAnalysis( landmark_indices, lweights, tmpass ); in performAnalysis()
64 … for(unsigned i=0; i<nlandmarks; ++i) lweights[i]=my_input_data->getWeight( landmark_indices[i] ); in performAnalysis()
68 …iAnalysis( const std::vector<unsigned>& myindices, std::vector<double>& lweights, std::vector<unsi… in voronoiAnalysis() argument
69 …plumed_dbg_assert( myindices.size()==lweights.size() && assignments.size()==my_input_data->getNumb… in voronoiAnalysis()
70 lweights.assign( lweights.size(), 0 ); in voronoiAnalysis()
79 lweights[ assignments[i] ] += my_input_data->getWeight(i); in voronoiAnalysis()
81 comm.Sum( &lweights[0], lweights.size() ); in voronoiAnalysis()
H A DLandmarkSelectionBase.h36 std::vector<double> lweights; variable
45 …void voronoiAnalysis( const std::vector<unsigned>& myindices, std::vector<double>& lweights, std::…
78 return lweights[idata]; in getWeight()
/dports/lang/spidermonkey60/firefox-60.9.0/media/sphinxbase/src/libsphinxbase/lm/
H A Dngram_model_set.c153 model->lweights = ckd_calloc(n_models, sizeof(*model->lweights)); in ngram_model_set_init()
157 model->lweights[i] = uniform; in ngram_model_set_init()
512 memcpy(set->lweights, weights, set->n_models * sizeof(*set->lweights)); in ngram_model_set_interp()
546 set->lweights = ckd_realloc(set->lweights, in ngram_model_set_add()
554 set->lweights[i] += scale; in ngram_model_set_add()
611 set->lweights[i] = set->lweights[i+1]; in ngram_model_set_remove()
613 set->lweights[i] -= scale; in ngram_model_set_remove()
619 set->lweights[set->n_models] = base->log_zero; in ngram_model_set_remove()
708 set->lweights[i] + in ngram_model_set_score()
758 set->lweights[i] + in ngram_model_set_raw_score()
[all …]
H A Dngram_model_set.h58 int32 *lweights; /**< Log interpolation weights. */ member
/dports/www/firefox-legacy/firefox-52.8.0esr/media/sphinxbase/src/libsphinxbase/lm/
H A Dngram_model_set.c153 model->lweights = ckd_calloc(n_models, sizeof(*model->lweights)); in eyesdn_open()
157 model->lweights[i] = uniform; in eyesdn_open()
512 memcpy(set->lweights, weights, set->n_models * sizeof(*set->lweights));
546 set->lweights = ckd_realloc(set->lweights,
554 set->lweights[i] += scale;
611 set->lweights[i] = set->lweights[i+1];
613 set->lweights[i] -= scale;
619 set->lweights[set->n_models] = base->log_zero;
708 set->lweights[i] +
758 set->lweights[i] +
[all …]
H A Dngram_model_set.h58 int32 *lweights; /**< Log interpolation weights. */
/dports/audio/sphinxbase/sphinxbase-0.8/src/libsphinxbase/lm/
H A Dngram_model_set.c153 model->lweights = ckd_calloc(n_models, sizeof(*model->lweights)); in ngram_model_set_init()
157 model->lweights[i] = uniform; in ngram_model_set_init()
512 memcpy(set->lweights, weights, set->n_models * sizeof(*set->lweights)); in ngram_model_set_interp()
546 set->lweights = ckd_realloc(set->lweights, in ngram_model_set_add()
554 set->lweights[i] += scale; in ngram_model_set_add()
611 set->lweights[i] = set->lweights[i+1]; in ngram_model_set_remove()
613 set->lweights[i] -= scale; in ngram_model_set_remove()
619 set->lweights[set->n_models] = base->log_zero; in ngram_model_set_remove()
708 set->lweights[i] + in ngram_model_set_score()
758 set->lweights[i] + in ngram_model_set_raw_score()
[all …]
H A Dngram_model_set.h58 int32 *lweights; /**< Log interpolation weights. */ member
/dports/math/plplot-ada/plplot-5.15.0/lib/nn/
H A Dlpi.c32 } lweights; typedef
37 lweights* weights;
53 l->weights = malloc( (size_t) d->ntriangles * sizeof ( lweights ) ); in lpi_build()
58 lweights* lw = &l->weights[i]; in lpi_build()
118 lweights* lw = &l->weights[tid]; in lpi_interpolate_point()
/dports/math/plplot/plplot-5.15.0/lib/nn/
H A Dlpi.c32 } lweights; typedef
37 lweights* weights;
53 l->weights = malloc( (size_t) d->ntriangles * sizeof ( lweights ) ); in lpi_build()
58 lweights* lw = &l->weights[i]; in lpi_build()
118 lweights* lw = &l->weights[tid]; in lpi_interpolate_point()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/grid/grid_gridding/nn/
H A Dlpi.c33 } lweights; typedef
37 lweights* weights;
53 l->weights = malloc(d->ntriangles * sizeof(lweights)); in lpi_build()
57 lweights* lw = &l->weights[i]; in lpi_build()
113 lweights* lw = &l->weights[tid]; in lpi_interpolate_point()
/dports/audio/festival/festival/src/modules/clunits/
H A Dacost.cc137 LISP ac_distance_tracks(LISP filename1, LISP filename2, LISP lweights) in ac_distance_tracks() argument
160 duration_penalty_weight = get_c_float(car(lweights)); in ac_distance_tracks()
162 EST_FVector tweights(siod_llength(cdr(lweights))); in ac_distance_tracks()
163 for (l=cdr(lweights),i=0; l!=NIL;l=cdr(l),i++) in ac_distance_tracks()
174 LISP lweights,l; in acost_dt_params() local
178 lweights = get_param_lisp("ac_weights",params,NIL); in acost_dt_params()
180 weights.resize(siod_llength(lweights)); in acost_dt_params()
181 for (l=lweights,i=0; l != NIL; l=cdr(l),i++) in acost_dt_params()
H A Dclunits.h95 LISP ac_distance_tracks(LISP filename1, LISP filename2, LISP lweights);
/dports/science/PETSc/petsc-3.14.1/src/mat/color/utils/
H A Dweights.c160 PetscReal *lweights,r; in MatColoringCreateSmallestLastWeights() local
179 ierr = PetscMalloc1(lm,&lweights);CHKERRQ(ierr); in MatColoringCreateSmallestLastWeights()
182 lweights[i] = 1.; in MatColoringCreateSmallestLastWeights()
225 lweights[i] = r; in MatColoringCreateSmallestLastWeights()
228 ierr = PetscSortRealWithPermutation(lm,lweights,rperm);CHKERRQ(ierr); in MatColoringCreateSmallestLastWeights()
277 if (lweights[idx] <= lweights[cur]) lweights[idx] = lweights[cur]+1; in MatColoringCreateSmallestLastWeights()
313 weights[gidx[i]-s] = lweights[i]; in MatColoringCreateSmallestLastWeights()
320 ierr = PetscFree(lweights);CHKERRQ(ierr); in MatColoringCreateSmallestLastWeights()
/dports/science/cdo/cdo-2.0.0/src/
H A Dgrid_area.cc283 gridGenAreaReg2D(const int gridID, double *area, bool lweights) in gridGenAreaReg2D() argument
309 else if (lweights && nlon == 1) in gridGenAreaReg2D()
334 else if (lweights && nlat == 1) in gridGenAreaReg2D()
383 bool lweights = true; in gridGenAreaReg2Dweights() local
384 return gridGenAreaReg2D(gridID, area, lweights); in gridGenAreaReg2Dweights()
495 bool lweights = false; in gridGenArea() local
496 status = gridGenAreaReg2D(gridID, area, lweights); in gridGenArea()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/onl/
H A Dphongs_model.cl115 __local float * lweights,
143 aux_args.weights = lweights;
179 __local float * lweights,
190 aux_args.weights = lweights;
199 dot_product(lweights,lweights,wtw,m);
H A Dtest_levenberg_marquardt.cl75 __local float * lweights,
89 lweights[i] = weights[i];
108 lweights,
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/opensubdiv/osd/
H A DcudaKernel.cu91 float const * lweights = weights + offsets[i]; in computeStencils() local
97 dst.addWithWeight(src[lindices[j]], lweights[j]); in computeStencils()
119 float const * lweights = weights + offsets[i]; in computeStencils() local
128 addWithWeight(dstVert, srcVert, lweights[j], length); in computeStencils()
/dports/math/vtk8/VTK-8.2.0/Common/DataModel/Testing/Cxx/
H A DTestPentagonalPrism.cxx330 double *lweights = new double[aCell->GetNumberOfPoints()]; in TestCell() local
337 aCell->EvaluateLocation(subId, locations + 3 * l, point, lweights); in TestCell()
354 delete []lweights; in TestCell()
H A DUnitTestCells.cxx1076 std::vector<double> lweights(aCell->GetNumberOfPoints()); in TestOneCell() local
1083 aCell->EvaluateLocation(subId, locations + 3 * l, point, &(*lweights.begin())); in TestOneCell()
/dports/math/vtk9/VTK-9.1.0/Common/DataModel/Testing/Cxx/
H A DTestPentagonalPrism.cxx314 double* lweights = new double[aCell->GetNumberOfPoints()]; in TestCell() local
321 aCell->EvaluateLocation(subId, locations + 3 * l, point, lweights); in TestCell()
336 delete[] lweights; in TestCell()
H A DUnitTestCells.cxx1092 std::vector<double> lweights(aCell->GetNumberOfPoints()); in TestOneCell() local
1099 aCell->EvaluateLocation(subId, locations + 3 * l, point, lweights.data()); in TestOneCell()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/batch/
H A Dsynoptic_function_kernels.cl94 __local float * lweights,
117 lweights[i] = 0.0;
121 lweights[i] = aux2[(*datasize)*i+gid]/seg_len;
136 lIobs,lweights,lxview,lyview,lzview);
138 …float var = brad_ocl_phongs_model_est_var(*nobs,result,sunangles,ly,lIobs,lweights,lxview,lyview,l…
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/xc/
H A Dfxc.py1097 def __init__(self, calc, fd, frequencies, freqweights, l_l, lweights, argument
1105 self.lweights = lweights
1250 for l, lweight in zip(self.l_l, self.lweights):
/dports/cad/libredwg/libredwg-0.12.4/src/
H A Ddwg.c1861 const int lweights[] = { 0, variable
1897 return lweights[value % 32]; in dxf_cvt_lweight()
1903 for (BITCODE_BSd i = 0; i < (BITCODE_BSd)ARRAY_SIZE (lweights); i++) in dxf_revcvt_lweight()
1904 if (lweights[i] == lw) in dxf_revcvt_lweight()

12