/dports/devel/blitz/blitz-1.0.2/benchmarks/ |
H A D | dot2.cpp | 37 double a1[nmax],a2[nmax],a3[nmax],a4[nmax],a5[nmax],a6[nmax],a7[nmax],a8[nmax],a9[nmax], in main() 38 a10[nmax],b1[nmax],b2[nmax],b3[nmax],b4[nmax],b5[nmax],b6[nmax],b7[nmax],b8[nmax], in main() 39 b9[nmax],b10[nmax]; in main() 40 init(a1,nmax); in main() 41 init(a2,nmax); in main() 42 init(a3,nmax); in main() 43 init(a4,nmax); in main() 44 init(a5,nmax); in main() 45 init(a6,nmax); in main() 46 init(a7,nmax); in main() [all …]
|
/dports/science/apbs/apbs-pdb2pqr-apbs-1.5-102-g500c1473/apbs/externals/pb_s_am/scripts/ |
H A D | pbam_unit_test.py | 61 nmax = 9.0 variable 63 const1 = ((2.0*nmax-1.0)/(nmax-ms)) 64 const2 = ((ms+nmax-1.0)/(nmax-ms)) 151 R = np.zeros(( 2*nmax, 2*nmax, 4*nmax),dtype=complex) 153 A = np.zeros(( 2*nmax, 4*nmax)) 154 B = np.zeros(( 2*nmax, 4*nmax)) 242 S = np.zeros(( 2*nmax, 2*nmax, 4*nmax)) 244 alpha = np.zeros(( 2*nmax, 4*nmax)) 245 beta = np.zeros(( 2*nmax, 4*nmax)) 246 nu = np.zeros(( 2*nmax, 4*nmax)) [all …]
|
/dports/math/flint2/flint-2.8.4/fmpz/profile/ |
H A D | p-xgcd.c | 20 fmpz_t nmax; in sample_xgcd_small() local 28 fmpz_init(nmax); in sample_xgcd_small() 45 fmpz_clear(nmax); in sample_xgcd_small() 54 fmpz_t nmax; in sample_xgcd_mixed() local 62 fmpz_init(nmax); in sample_xgcd_mixed() 88 fmpz_t nmax; in sample_xgcd_big() local 96 fmpz_init(nmax); in sample_xgcd_big() 122 fmpz_t nmax; in sample_xgcd_canonical_bezout_small() local 130 fmpz_init(nmax); in sample_xgcd_canonical_bezout_small() 156 fmpz_t nmax; in sample_xgcd_canonical_bezout_mixed() local [all …]
|
H A D | p-div_qr.c | 21 fmpz_t nmax; in sample_ndiv_qr() local 28 fmpz_init(nmax); in sample_ndiv_qr() 50 fmpz_clear(nmax); in sample_ndiv_qr() 59 fmpz_t nmax; in sample_fdiv_qr() local 66 fmpz_init(nmax); in sample_fdiv_qr() 88 fmpz_clear(nmax); in sample_fdiv_qr() 97 fmpz_t nmax; in sample_cdiv_qr() local 104 fmpz_init(nmax); in sample_cdiv_qr() 126 fmpz_clear(nmax); in sample_cdiv_qr() 135 fmpz_t nmax; in sample_tdiv_qr() local [all …]
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/common/ |
H A D | gamma.F | 79 IF (nmax < 0) THEN 94 n = nmax + 6 111 current_nmax = nmax 172 DO n = 0, nmax 192 f(nmax) = ftable(nmax, itab) 197 f(nmax) = f(nmax) + ftable(nmax + k, itab)*tmp*ifac(k) 260 DO n = 1, nmax 323 f(i, nmax) = ftable(nmax, itab) 328 f(i, nmax) = f(i, nmax) + ftable(nmax + k, itab)*tmp*ifac(k) 449 DO n = 0, nmax [all …]
|
/dports/science/cp2k-data/cp2k-7.1.0/src/common/ |
H A D | gamma.F | 79 IF (nmax < 0) THEN 94 n = nmax + 6 111 current_nmax = nmax 172 DO n = 0, nmax 192 f(nmax) = ftable(nmax, itab) 197 f(nmax) = f(nmax) + ftable(nmax + k, itab)*tmp*ifac(k) 259 DO n = 1, nmax 322 f(i, nmax) = ftable(nmax, itab) 327 f(i, nmax) = f(i, nmax) + ftable(nmax + k, itab)*tmp*ifac(k) 448 DO n = 0, nmax [all …]
|
/dports/science/cp2k-data/cp2k-7.1.0/src/ |
H A D | qs_nl_hash_table_types.F | 84 INTEGER :: nmax component 121 CALL nl_hash_table_rehash(hash_table=hash_table, nmax=hash_table%obj%nmax*EXPAND_FACTOR) 162 hash_table%obj%nmax = 0 166 IF (PRESENT(nmax)) my_nmax = nmax 230 my_nmax = hash_table%obj%nmax 231 IF (PRESENT(nmax)) my_nmax = nmax 249 hash_table%obj%nmax = my_nmax 253 DO ii = 1, hash_table%obj%nmax 309 IF (PRESENT(nmax)) THEN 312 my_nmax = hash_table%obj%nmax [all …]
|
H A D | qs_fb_hash_table_types.F | 84 INTEGER :: nmax component 122 hash_table%obj%nmax) THEN 124 nmax=hash_table%obj%nmax*EXPAND_FACTOR) 160 hash_table%obj%nmax = 0 164 IF (PRESENT(nmax)) my_nmax = nmax 239 my_nmax = hash_table%obj%nmax 240 IF (PRESENT(nmax)) my_nmax = nmax 256 hash_table%obj%nmax = my_nmax 299 IF (PRESENT(nmax)) THEN 378 nmax=hash_table%obj%nmax/SHRINK_FACTOR) [all …]
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/ |
H A D | qs_nl_hash_table_types.F | 84 INTEGER :: nmax component 121 CALL nl_hash_table_rehash(hash_table=hash_table, nmax=hash_table%obj%nmax*EXPAND_FACTOR) 162 hash_table%obj%nmax = 0 166 IF (PRESENT(nmax)) my_nmax = nmax 230 my_nmax = hash_table%obj%nmax 231 IF (PRESENT(nmax)) my_nmax = nmax 249 hash_table%obj%nmax = my_nmax 253 DO ii = 1, hash_table%obj%nmax 309 IF (PRESENT(nmax)) THEN 312 my_nmax = hash_table%obj%nmax [all …]
|
H A D | qs_fb_hash_table_types.F | 84 INTEGER :: nmax component 122 hash_table%obj%nmax) THEN 124 nmax=hash_table%obj%nmax*EXPAND_FACTOR) 160 hash_table%obj%nmax = 0 164 IF (PRESENT(nmax)) my_nmax = nmax 239 my_nmax = hash_table%obj%nmax 240 IF (PRESENT(nmax)) my_nmax = nmax 256 hash_table%obj%nmax = my_nmax 299 IF (PRESENT(nmax)) THEN 378 nmax=hash_table%obj%nmax/SHRINK_FACTOR) [all …]
|
/dports/games/freeminer/freeminer-0.4.10.4/src/ |
H A D | mg_ore.cpp | 86 ymax = MYMIN(nmax.Y, -height_min); in placeOre() 89 ymax = MYMIN(nmax.Y, height_max); in placeOre() 95 nmax.Y = ymax; in placeOre() 103 u32 blockseed, v3s16 nmin, v3s16 nmax) in generate() argument 108 int volume = (nmax.X - nmin.X + 1) * in generate() 109 (nmax.Y - nmin.Y + 1) * in generate() 110 (nmax.Z - nmin.Z + 1); in generate() 140 u32 blockseed, v3s16 nmin, v3s16 nmax) in generate() argument 149 int sx = nmax.X - nmin.X + 1; in generate() 150 int sz = nmax.Z - nmin.Z + 1; in generate() [all …]
|
/dports/math/p5-Math-GSL/Math-GSL-0.43/swig/ |
H A D | SF.i | 28 array_wrapper* gsl_sf_bessel_Jn_array_wrapper(int nmin, int nmax, double x); 31 array_wrapper* gsl_sf_bessel_Yn_array_wrapper(int nmin, int nmax, double x); 34 array_wrapper* gsl_sf_bessel_In_array_wrapper(int nmin, int nmax, double x); 37 array_wrapper* gsl_sf_bessel_In_scaled_array_wrapper(int nmin, int nmax, double x); 40 array_wrapper* gsl_sf_bessel_Kn_array_wrapper(int nmin, int nmax, double x); 43 array_wrapper* gsl_sf_bessel_Kn_scaled_array_wrapper(int nmin, int nmax, double x); 101 array_wrapper* gsl_sf_bessel_Jn_array_wrapper(int nmin, int nmax, double x) { in gsl_sf_bessel_Jn_array_wrapper() argument 104 ret = gsl_sf_bessel_Jn_array(nmin,nmax,x, (double*)(wrapper->data)); in gsl_sf_bessel_Jn_array_wrapper() 112 ret = gsl_sf_bessel_Yn_array(nmin,nmax,x, (double*)(wrapper->data)); in gsl_sf_bessel_Yn_array_wrapper() 120 ret = gsl_sf_bessel_In_array(nmin,nmax,x, (double*)(wrapper->data)); in gsl_sf_bessel_In_array_wrapper() [all …]
|
/dports/games/minetest/minetest-5.4.1/src/mapgen/ |
H A D | mg_ore.cpp | 110 nmax.Y = actual_ymax; in placeOre() 156 (nmax.Y - nmin.Y + 1) * in generate() 157 (nmax.Z - nmin.Z + 1); in generate() 225 int sx = nmax.X - nmin.X + 1; in generate() 226 int sz = nmax.Z - nmin.Z + 1; in generate() 296 int sx = nmax.X - nmin.X + 1; in generate() 297 int sz = nmax.Z - nmin.Z + 1; in generate() 376 (nmax.Y - nmin.Y + 1) * in generate() 377 (nmax.Z - nmin.Z + 1); in generate() 546 int sx = nmax.X - nmin.X + 1; in generate() [all …]
|
/dports/science/ergo/ergo-3.8/source/integrals/ |
H A D | hermite_conversion_prep.cc | 68 for(int n1 = 0; n1 <= nmax; n1++) { in init() 97 for(int n2 = 0; n2 <= nmax; n2++) { in init() 179 for(int n1 = 0; n1 <= nmax; n1++) in clear_lists() 200 for(int n1 = 0; n1 <= nmax; n1++) in ~hermite_conversion_info_struct() 273 int nmax, in get_hermite_conversion_matrix_right() argument 280 int Ntot = 2 * nmax; in get_hermite_conversion_matrix_right() 296 int nmax, in get_hermite_conversion_matrix_right_sparse() argument 302 int Ntot = 2 * nmax; in get_hermite_conversion_matrix_right_sparse() 321 int nmax, in get_hermite_conversion_matrix_left() argument 328 int Ntot = 2 * nmax; in get_hermite_conversion_matrix_left() [all …]
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/mathsResources/exactSolutions/ |
H A D | helmholtz3d.cpp | 44 int nmax= 50; in scatteredFieldSphereNeumann() local 48 std::vector<real_t> js(nmax + 1), ys(nmax + 1); in scatteredFieldSphereNeumann() 49 js = sphericalbesselJ0N(kr, nmax); in scatteredFieldSphereNeumann() 60 std::vector<complex_t> a(nmax); in scatteredFieldSphereNeumann() 74 if (nf >= nmax) in scatteredFieldSphereNeumann() 77 error("conv_failed",nmax); in scatteredFieldSphereNeumann() 119 const int nmax=50; in scatteredFieldSphereDirichlet() local 122 std::vector<real_t> js(nmax + 1), ys(nmax + 1); in scatteredFieldSphereDirichlet() 133 std::vector<complex_t> a(nmax); in scatteredFieldSphereDirichlet() 141 if (nf >= nmax) in scatteredFieldSphereDirichlet() [all …]
|
H A D | helmholtz2d.cpp | 41 number_t nmax=50; in scatteredFieldDiskDirichlet() local 44 if(param.contains("nmax")) nmax=param("nmax"); in scatteredFieldDiskDirichlet() 52 real_t Nr=real_t(nmax); in scatteredFieldDiskDirichlet() 59 nmax--; in scatteredFieldDiskDirichlet() 60 Nr=real_t(nmax); in scatteredFieldDiskDirichlet() 66 std::vector<real_t> bjr=besselJ0N(krad,nmax); in scatteredFieldDiskDirichlet() 72 for(number_t n=1; n<=nmax; n++) in scatteredFieldDiskDirichlet() 92 number_t nmax=50; in scatteredFieldDiskNeumann() local 93 if(param.contains("nmax")) nmax=param("nmax"); in scatteredFieldDiskNeumann() 96 std::vector<real_t> jkR=besselJ0N(kR,nmax); in scatteredFieldDiskNeumann() [all …]
|
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/tests/linalg/bblas/ |
H A D | test_bblas_base.cpp | 8 test_bblas_base::test_bblas_base(unsigned int nmax) : nmax(nmax) {/*{{{*/ in test_bblas_base() argument 10 xr = (uint64_t *) malloc_aligned(nmax * sizeof(uint64_t), 64); in test_bblas_base() 11 r = (uint64_t *) malloc_aligned(nmax * sizeof(uint64_t), 64); in test_bblas_base() 12 a = (uint64_t *) malloc_aligned(nmax * sizeof(uint64_t), 64); in test_bblas_base() 13 b = (uint64_t *) malloc_aligned(nmax * sizeof(uint64_t), 64); in test_bblas_base() 15 R = mzd_init(nmax, 64); in test_bblas_base() 16 A = mzd_init(nmax, 64); in test_bblas_base() 24 memfill_random(a, (nmax) * sizeof(uint64_t), rstate); in test_bblas_base() 29 mzd_set_mem(A, a, nmax); in test_bblas_base() 30 if (nmax >= 64) { in test_bblas_base()
|
/dports/science/lammps/lammps-stable_29Sep2021/src/KOKKOS/ |
H A D | fix_property_atom_kokkos.cpp | 35 grow_arrays(atom->nmax); in FixPropertyAtomKokkos() 45 void FixPropertyAtomKokkos::grow_arrays(int nmax) in grow_arrays() argument 49 memory->grow(atom->molecule,nmax,"atom:molecule"); in grow_arrays() 50 size_t nbytes = (nmax-nmax_old) * sizeof(tagint); in grow_arrays() 53 memory->grow(atom->q,nmax,"atom:q"); in grow_arrays() 54 size_t nbytes = (nmax-nmax_old) * sizeof(double); in grow_arrays() 57 memory->grow(atom->rmass,nmax,"atom:rmass"); in grow_arrays() 58 size_t nbytes = (nmax-nmax_old) * sizeof(double); in grow_arrays() 61 memory->grow(atom->ivector[index[m]],nmax,"atom:ivector"); in grow_arrays() 62 size_t nbytes = (nmax-nmax_old) * sizeof(int); in grow_arrays() [all …]
|
/dports/devel/py-numba/numba-0.51.2/numba/tests/ |
H A D | test_dictimpl.py | 365 for i in range(nmax): 370 for i in range(nmax): 446 for i in range(nmax): 450 for i in range(nmax): 477 k = make_key(nmax + i) 478 v = make_val(nmax + i) 506 nmax = 10 515 for i in range(nmax): 542 nmax = 1000 550 for i in range(nmax): [all …]
|
/dports/math/nauty/nauty27r3/ |
H A D | assembleg.c | 182 if (newsize > nmax) break; in assemble() 184 insertg(g,sofar,gin[pos],size[pos],nmax); in assemble() 196 removeg(g,sofar,size[pos],nmax); in assemble() 216 long nmin,nmax,mmax,imin,imax; in main() local 267 if (nmin == nmax) fprintf(stderr,"n%ld",nmin); in main() 268 else fprintf(stderr,"n%ld:%ld",nmin,nmax); in main() 283 if (!iswitch || imax > nmax) imax = nmax; in main() 284 if (!cswitch && imax == nmax) --imax; in main() 310 mmax = SETWORDSNEEDED(nmax); in main() 322 EMPTYSET(gout,m*(size_t)nmax); in main() [all …]
|
/dports/math/py-pynauty/pynauty-1.0.2/src/nauty27r1/ |
H A D | assembleg.c | 182 if (newsize > nmax) break; in assemble() 184 insertg(g,sofar,gin[pos],size[pos],nmax); in assemble() 196 removeg(g,sofar,size[pos],nmax); in assemble() 216 long nmin,nmax,mmax,imin,imax; in main() local 267 if (nmin == nmax) fprintf(stderr,"n%ld",nmin); in main() 268 else fprintf(stderr,"n%ld:%ld",nmin,nmax); in main() 283 if (!iswitch || imax > nmax) imax = nmax; in main() 284 if (!cswitch && imax == nmax) --imax; in main() 310 mmax = SETWORDSNEEDED(nmax); in main() 322 EMPTYSET(gout,m*(size_t)nmax); in main() [all …]
|
/dports/math/py-pygsl/pygsl-2.3.0/testing/src/sf/ |
H A D | sf__arrays.c | 64 int nmin=0, nmax=0, dimension = 0, ret; in PyGSL_sf_array_evaluator_iid_ad() local 77 if(nmax < nmin){ in PyGSL_sf_array_evaluator_iid_ad() 87 ret = eval(nmin, nmax, x, data); in PyGSL_sf_array_evaluator_iid_ad() 105 int nmin=0, nmax=0, dimension = 0, ret; in PyGSL_sf_array_evaluator_id_ad() local 124 ret = eval(nmax, x, data); in PyGSL_sf_array_evaluator_id_ad() 141 int nmin=0, nmax=0, dimension = 0, ret; in PyGSL_sf_array_evaluator_idd_ad() local 160 ret = eval(nmax, x, x1, data); in PyGSL_sf_array_evaluator_idd_ad() 176 int nmin=0, nmax=0, dimension = 0, ret; in PyGSL_sf_array_evaluator_did_ad() local 190 ret = eval(nmax, x, x1, data); in PyGSL_sf_array_evaluator_did_ad() 207 int nmin=0, nmax=0, dimension = 0, ret; in PyGSL_sf_array_evaluator_didd_add() local [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/elementary_functions/src/fortran/ |
H A D | exch.f | 17 double precision a(nmax,n),z(nmax,n) 65 call drot(n-l+1,a(l,l),nmax,a(l1,l),nmax,e,-d) 89 call drot(n-l+1,a(l,l),nmax,a(l1,l),nmax,d,e) 95 call drot(n-l+1,a(l1,l),nmax,a(l2,l),nmax,d,e) 126 call drot(n-l+1,a(l1,l),nmax,a(l2,l),nmax,e,-d) 132 call drot(n-l+1,a(l,l),nmax,a(l1,l),nmax,e,-d) 144 call dmmul(a(l,l),nmax,a(l,l),nmax,u,3,2,4,4) 160 call drot(n-l+1,a(l3,l),nmax,a(l2,l),nmax,d,e) 168 call drot(n-l+1,a(l3,l),nmax,a(l1,l),nmax,d,e) 176 call drot(n-l+1,a(l2,l),nmax,a(l1,l),nmax,d,e) [all …]
|
/dports/math/fflas-ffpack/fflas-ffpack-2.4.3/autotune/ |
H A D | pluq.C | 53 size_t n=128, nmax=1000, prec=64, nbest=0, count=0; in main() local 57 Element * A = FFLAS::fflas_new (F, nmax, nmax); in main() 58 Element * B = FFLAS::fflas_new (F, nmax, nmax); in main() 59 size_t lda = nmax; in main() 61 size_t * P = new size_t[nmax]; in main() 62 size_t * Q = new size_t[nmax]; in main() 63 FFPACK::RandomMatrix (F, nmax, nmax, A,nmax); in main() 64 FFLAS::fassign (F, nmax,nmax, A, nmax, B, nmax); in main() 134 } while ((prec > 4 ) && (n < nmax)); in main()
|
/dports/math/arb/arb-2.21.1/bernoulli/ |
H A D | rev_init.c | 15 bernoulli_rev_init(bernoulli_rev_t iter, ulong nmax) in bernoulli_rev_init() argument 24 nmax -= (nmax % 2); in bernoulli_rev_init() 25 iter->n = nmax; in bernoulli_rev_init() 28 if (nmax < BERNOULLI_REV_MIN) in bernoulli_rev_init() 31 iter->prec = wp = bernoulli_global_prec(nmax); in bernoulli_rev_init() 33 iter->max_power = bernoulli_zeta_terms(nmax, iter->prec); in bernoulli_rev_init() 47 arb_ui_pow_ui(x, j, nmax, bernoulli_power_prec(j, nmax, wp)); in bernoulli_rev_init() 48 arb_inv(x, x, bernoulli_power_prec(j, nmax, wp)); in bernoulli_rev_init() 61 arb_fac_ui(iter->prefactor, nmax, wp); in bernoulli_rev_init() 68 arb_pow_ui(x, iter->two_pi_squared, nmax / 2, wp); in bernoulli_rev_init()
|