/dports/math/ggobi/ggobi-2.1.11/src/ |
H A D | vector.c | 45 vecp->nels = nels; in vectord_alloc() 69 vecp->nels = nels; in vectord_realloc() 105 vecp->nels = nels; in vectord_alloc_zero() 160 vecp->nels = nels; in vectorf_alloc() 184 vecp->nels = nels; in vectorf_realloc() 220 vecp->nels = nels; in vectorf_alloc_zero() 275 vecp->nels = nels; in vectori_alloc() 288 vecp->nels = nels; in vectori_alloc_zero() 312 vecp->nels = nels; in vectori_realloc() 386 vecp->nels = nels; in vectorb_alloc() [all …]
|
H A D | sphere.c | 63 if (d->sphere.vars.nels != 0) in sphere_malloc() 140 if (d->sphere.vars_sphered.nels != d->sphere.vars.nels) in spherize_set_pcvars() 185 if (d->sphere.vars_sphered.nels != d->sphere.vars.nels) in spherize_set_pcvars() 374 gint nels = d->sphere.vars.nels; in eigenvec_set() local 378 for (i = 0; i < nels; i++) in eigenvec_set() 379 for (j = 0; j < nels; j++) in eigenvec_set() 477 gint nels = d->sphere.vars.nels; in sphere_svd() local 488 for (j = 0; j < nels; j++) in sphere_svd() 493 dsvd (eigenvec, nels, nels, d->sphere.eigenval.els, b); in sphere_svd() 522 for (i = 0; i < nels; i++) in sphere_svd() [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/Sandbox/ |
H A D | determinant.hpp | 151 psiMinv.resize(nels,nels); in DiracDet() 153 psiM.resize(nels,nels); in DiracDet() 156 psiMsave.resize(nels,nels); in DiracDet() 163 LWork=getGetriWorkspace(psiM.data(),nels,nels,pivot.data()); in initialize() 168 RNG.generate_uniform(psiMsave.data(),nels*nels); in initialize() 171 transpose(psiMsave.data(),psiM.data(),nels,nels); in initialize() 173 copy_n(psiM.data(),nels*nels,psiMinv.data()); in initialize() 187 transpose(psiMsave.data(),psiM.data(),nels,nels); in recompute() 188 InvertOnly(psiM.data(),nels,nels,work.data(),pivot.data(),LWork); in recompute() 189 copy_n(psiM.data(),nels*nels,psiMinv.data()); in recompute() [all …]
|
H A D | determinant_delayed_update.cpp | 55 int nels=128; in main() local 78 nels=atoi(optarg); in main() 121 Matrix<ValueType> psiM(nels,nels),psiM_inv(nels,nels); in main() 122 Vector<ValueType> psiV(nels), invRow(nels); in main() 128 FahyEng.resize(nels,1); in main() 129 delayedEng.resize(nels,delay); in main() 131 generate(random_th,psiM.data(),nels*nels); in main() 137 Matrix<ValueType> psiM0(nels,nels); in main() 142 for(int iel=0; iel<nels; ++iel) in main() 168 for(int iel=0; iel<nels; ++iel) in main() [all …]
|
H A D | einspline_spo_nested.cpp | 108 tileSize=(tileSize>0)?tileSize:nels; in main() 109 nTiles=nels/tileSize; in main() 112 spo_main.set(nx,ny,nz,nels,nTiles); in main() 138 const int nels=count_electrons(ions); in main() local 139 const int nels3=3*nels; in main() 143 nptcl=nels; in main() 150 vector<int> ud(2); ud[0]=nels/2; ud[1]=nels-ud[0]; in main() 184 ParticlePos_t delta(nels); in main() 190 vector<RealType> ur(nels); in main() 206 for(int iel=0; iel<nels; ++iel) in main() [all …]
|
H A D | einspline_spo.cpp | 118 tileSize=(tileSize>0)?tileSize:nels; in main() 119 nTiles=nels/tileSize; in main() 122 spo_main.set(nx,ny,nz,nels,nTiles); in main() 161 const int nels=count_electrons(ions); in main() local 162 const int nels3=3*nels; in main() 165 nptcl=nels; in main() 170 vector<int> ud(2); ud[0]=nels/2; ud[1]=nels-ud[0]; in main() 194 ParticlePos_t delta(nels); in main() 203 vector<RealType> ur(nels); in main() 230 for(int iel=0; iel<nels; ++iel) in main() [all …]
|
H A D | diff_distancetables.cpp | 94 const int nels = count_electrons(ions); in main() local 95 const int nels3 = 3 * nels; in main() 102 ud[0] = nels / 2; in main() 103 ud[1] = nels - ud[0]; in main() 128 for (int iel = 0; iel < nels; ++iel) in main() 129 for (int jel = iel + 1; jel < nels; ++jel) in main() 138 ParticlePos_t delta(nels); in main() 145 for (int iel = 0; iel < nels; ++iel) in main() 161 for (int iat = 0; iat < nels; ++iat) in main() 167 cout << "Done with the sweep. Diffusion |els.R-R0|^2/nels = " << r_err / nels << endl; in main()
|
H A D | determinant.cpp | 39 int nels=8; in main() local 61 nels=atoi(optarg); in main() 101 DiracDet<OHMMS_PRECISION> det(nels); in main() 114 for(int iel=0; iel<nels; ++iel) in main() 151 cout << "determinant " << nels << " Total accepted " << naccepted << " /" << nels*nsteps << " " in main() 152 << naccepted/static_cast<double>(nels*nsteps) << endl; in main() 154 …cout << "Per recompute " << t_compute/(nsteps/nsubsteps) << " ratio " << t_ratio/(nsteps*nels) … in main()
|
/dports/misc/lifelines/lifelines-3.1.1/src/interp/ |
H A D | progerr.c | 274 if (!nels) return; in disp_symtab() 412 INT nels = length_list(list); in disp_list() local 413 if (!nels) { in disp_list() 445 INT nels = get_table_count(tab); in disp_table() local 446 if (!nels) { in disp_table() 478 INT nels = length_indiseq(seq); in disp_seq() local 480 if (!nels) { in disp_seq() 487 for (i=0; i<nels; ++i) in disp_seq() 590 sdata->count = nels; in init_dbgsymtab_arrays() 619 make_empty_string_table (INT nels) in make_empty_string_table() argument [all …]
|
/dports/science/silo/silo-4.10.2-bsd/src/netcdf/ |
H A D | obj.c | 280 int datatype, ndims, natts, nels; in SO_GetComponent() local 319 nels = 0; in SO_GetComponent() 325 nels *= count[i]; in SO_GetComponent() 331 if (nels == 1) { in SO_GetComponent() 349 local_f = ALLOC_N(float, nels); in SO_GetComponent() 351 for (i = 0; i < nels; i++) in SO_GetComponent() 399 int i, nels, original_dir; in SO_ReadComponent() local 434 nels = 0; in SO_ReadComponent() 440 nels *= count[i]; in SO_ReadComponent() 458 if (nels == 1) { in SO_ReadComponent() [all …]
|
/dports/textproc/xmlf90/xmlf90-1.5.5/doc/Examples/dom/ |
H A D | text.F90 | 11 integer :: i, j, nels variable 19 nels = getLength(myList) 20 print *, "number of para elements: ", nels 22 do i = 0, nels - 1 40 nels = getLength(myList) 41 print *, "number of para elements: ", nels 43 do i = 0, nels - 1
|
/dports/science/netcdf-fortran/netcdf-fortran-4.5.3/nf_test/ |
H A D | test_get.F | 587 nels = nels * var_shape(j,i) 679 nels = nels * var_shape(j,i) 772 nels = nels * var_shape(j,i) 864 nels = nels * var_shape(j,i) 955 nels = nels * var_shape(j,i) 1224 nels = nels * edge(j) 1419 nels = nels * edge(j) 1615 nels = nels * edge(j) 1810 nels = nels * edge(j) 2004 nels = nels * edge(j) [all …]
|
H A D | test03_get.F | 587 nels = nels * var_shape(j,i) 679 nels = nels * var_shape(j,i) 772 nels = nels * var_shape(j,i) 864 nels = nels * var_shape(j,i) 955 nels = nels * var_shape(j,i) 1224 nels = nels * edge(j) 1419 nels = nels * edge(j) 1615 nels = nels * edge(j) 1810 nels = nels * edge(j) 2004 nels = nels * edge(j) [all …]
|
H A D | test_put.F | 1902 nels = nels * var_shape(j,i) 2042 nels = nels * var_shape(j,i) 2183 nels = nels * var_shape(j,i) 2323 nels = nels * var_shape(j,i) 2462 nels = nels * var_shape(j,i) 2840 nels = nels * edge(j) 3023 nels = nels * edge(j) 3207 nels = nels * edge(j) 3390 nels = nels * edge(j) 3572 nels = nels * edge(j) [all …]
|
H A D | test03_put.F | 1907 nels = nels * var_shape(j,i) 2047 nels = nels * var_shape(j,i) 2188 nels = nels * var_shape(j,i) 2328 nels = nels * var_shape(j,i) 2467 nels = nels * var_shape(j,i) 2845 nels = nels * edge(j) 3028 nels = nels * edge(j) 3212 nels = nels * edge(j) 3395 nels = nels * edge(j) 3577 nels = nels * edge(j) [all …]
|
/dports/math/ggobi/ggobi-2.1.11/plugins/GraphAction/ |
H A D | ga_cbacks.c | 39 if (ga->nInEdgesVisible.nels != ga->nnodes) { 53 for (k=0; k<ga->inEdges[i].nels; k++) { 63 for (k=0; k<ga->outEdges[i].nels; k++) { 105 for (k=0; k<ga->inEdges[i].nels; k++) { in hide_inEdge() 144 for (k=0; k<ga->outEdges[i].nels; k++) { in hide_outEdge() 216 if (ga->inEdges[i].nels == 0 && ga->outEdges[i].nels == 0) { in ga_leaf_hide_cb() 218 } else if (ga->inEdges[i].nels <= 1 && ga->outEdges[i].nels <= 1) { in ga_leaf_hide_cb() 220 if (ga->inEdges[i].nels == 1 && ga->outEdges[i].nels == 1) { in ga_leaf_hide_cb() 240 } else if (ga->inEdges[i].nels == 1) { in ga_leaf_hide_cb() 284 for (k=0; k<ga->inEdges[i].nels; k++) { in ga_orphans_hide_cb() [all …]
|
/dports/math/giacxcas/CoCoALib-0.99700/src/AlgebraicCore/TmpFactorDir/ |
H A D | jalloc.h | 47 #define jcalloc(nels, sz) jcalloc_fn(nels, sz, "calloc", __FILE__, __LINE__) argument 48 #define jcalloc2(nels, sz, str) jcalloc_fn(nels, sz, str, __FILE__, __LINE__) argument 53 void *jcalloc_fn(int nels, size_t sz, char *str, char *file, int line);
|
/dports/math/cocoalib/CoCoALib-0.99712/src/AlgebraicCore/TmpFactorDir/ |
H A D | jalloc.h | 47 #define jcalloc(nels, sz) jcalloc_fn(nels, sz, "calloc", __FILE__, __LINE__) argument 48 #define jcalloc2(nels, sz, str) jcalloc_fn(nels, sz, str, __FILE__, __LINE__) argument 53 void *jcalloc_fn(int nels, size_t sz, char *str, char *file, int line);
|
/dports/graphics/gdchart/gdchart0.11.5dev/ |
H A D | array_alloc.h | 17 #define CREATE_ARRAY1( arr, type, nels ) type *arr = (type*)malloc( (nels) * sizeof(type) ) argument 34 #define CREATE_ARRAY1( arr, type, nels ) type arr[ nels ] argument
|
/dports/science/pcmsolver/pcmsolver-1.3.0/src/utils/ |
H A D | cnpy.hpp | 132 unsigned int nels = 1; in npy_save() local 134 nels *= shape[i]; in npy_save() 136 fwrite(data, sizeof(T), nels, fp); in npy_save() 183 unsigned long nels = 1; in npz_save() local 185 nels *= shape[m]; in npz_save() 186 int nbytes = nels * sizeof(T) + npy_header.size(); in npz_save() 190 crc = crc32(crc, (unsigned char *)data, nels * sizeof(T)); in npz_save() 242 fwrite(data, sizeof(T), nels, fp); in npz_save()
|
/dports/math/coinmp/CoinMP-releases-1.8.4/CoinMP/examples/ |
H A D | example.c | 306 int nels = 83; in SolveProblemAfiro() local 369 RunTestProblem(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemAfiro() 380 int nels = 98; in SolveProblemP0033() local 446 RunTestProblem(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemP0033() 457 int nels = 14; in SolveProblemExmip1() local 489 RunTestProblem(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemExmip1() 501 int nels = 3; in SolveProblemGamsSos1a() local 531 RunTestProblemMip(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemGamsSos1a() 544 int nels = 15; in SolveProblemGamsSos2a() local 574 RunTestProblemMip(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemGamsSos2a() [all …]
|
/dports/math/coinmp/CoinMP-releases-1.8.4/CoinMP/test/ |
H A D | unitTest.cpp | 313 int nels = 83; in SolveProblemAfiro() local 367 RunTestProblem(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemAfiro() 378 int nels = 98; in SolveProblemP0033() local 436 RunTestProblem(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemP0033() 447 int nels = 14; in SolveProblemExmip1() local 475 RunTestProblem(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemExmip1() 487 int nels = 3; in SolveProblemGamsSos1a() local 517 RunTestProblemMip(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemGamsSos1a() 530 int nels = 15; in SolveProblemGamsSos2a() local 560 RunTestProblemMip(probname, optimalValue, ncol, nrow, nels, nrng, in SolveProblemGamsSos2a() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/containers/associative/multimap/multimap.ops/ |
H A D | equal_range_transparent.pass.cpp | 51 long nels = 0; in main() local 55 nels++; in main() 58 assert(nels == 3); in main()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/containers/associative/set/ |
H A D | equal_range_transparent.pass.cpp | 51 long nels = 0; in main() local 55 nels++; in main() 58 assert(nels == 3); in main()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/containers/associative/map/map.ops/ |
H A D | equal_range_transparent.pass.cpp | 51 long nels = 0; in main() local 55 nels++; in main() 58 assert(nels == 3); in main()
|