/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/numerics/ |
H A D | funcs.cpp | 23 int iloc = int(loc - xpts.begin()) - 1; in linearInterp() local 24 doublereal ff = fpts[iloc] + in linearInterp() 25 (x - xpts[iloc])*(fpts[iloc + 1] in linearInterp() 26 - fpts[iloc])/(xpts[iloc + 1] - xpts[iloc]); in linearInterp()
|
/dports/biology/py-gtfparse/gtfparse-1.2.1/test/ |
H A D | test_create_missing_features.py | 40 transcript_seqname = df[C18orf10_201_transcript_mask].seqname.iloc[0] 43 transcript_start = df[C18orf10_201_transcript_mask].start.iloc[0] 46 transcript_end = df[C18orf10_201_transcript_mask].end.iloc[0] 49 transcript_strand = df[C18orf10_201_transcript_mask].strand.iloc[0] 57 gene_seqname = df[KIAA1328_gene_mask].seqname.iloc[0] 60 gene_start = df[KIAA1328_gene_mask].start.iloc[0] 63 gene_end = df[KIAA1328_gene_mask].end.iloc[0] 66 gene_strand = df[KIAA1328_gene_mask].strand.iloc[0]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/frame/ |
H A D | test_cumulative.py | 25 datetime_frame.iloc[5:10, 0] = np.nan 26 datetime_frame.iloc[10:15, 1] = np.nan 27 datetime_frame.iloc[15:, 2] = np.nan 48 datetime_frame.iloc[5:10, 0] = np.nan 49 datetime_frame.iloc[10:15, 1] = np.nan 50 datetime_frame.iloc[15:, 2] = np.nan 77 datetime_frame.iloc[5:10, 0] = np.nan 78 datetime_frame.iloc[10:15, 1] = np.nan 79 datetime_frame.iloc[15:, 2] = np.nan 100 datetime_frame.iloc[5:10, 0] = np.nan [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexing/multiindex/ |
H A D | test_slice.py | 78 expected = df.iloc[[0, 3]] 82 expected = df.iloc[[0, 3]] 126 expected = df.iloc[[2, 3]] 143 expected = df.iloc[[0, 3]] 348 expected = df1.iloc[0:10] 555 expected = df.iloc[:, :3] 592 expected.iloc[:, :] = 100 598 expected.iloc[:, :] = 100 688 expected.iloc[[0, 3], [1, 3]] = expected.iloc[[0, 3], [1, 3]] * 5 696 expected.iloc[[0, 3], [1, 3]] *= expected.iloc[[0, 3], [1, 3]] [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/bq/ |
H A D | bq_input.F | 214 integer iloc(4) 221 iloc = [2,3,4,5] 308 integer iloc(3) local 326 iloc_max = maxval(iloc) 336 call inp_set_field(iloc(k)-1) 358 integer iloc local 377 iloc_max = iloc 386 call inp_set_field(iloc-1) 445 integer iloc(4) local 464 iloc_max = maxval(iloc) [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/bq/ |
H A D | bq_input.F | 214 integer iloc(4) 221 iloc = [2,3,4,5] 308 integer iloc(3) local 326 iloc_max = maxval(iloc) 336 call inp_set_field(iloc(k)-1) 358 integer iloc local 377 iloc_max = iloc 386 call inp_set_field(iloc-1) 445 integer iloc(4) local 464 iloc_max = maxval(iloc) [all …]
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/statespace/tests/ |
H A D | test_dynamic_factor_mq_monte_carlo.py | 38 levels_M.iloc[0] = 100 121 levels_M.iloc[0] = 100 128 endog_M = log_levels_M.iloc[:, :7].diff().iloc[1:] 129 endog_Q = log_levels_Q.iloc[:, 7:].diff().iloc[2:] 195 levels_M.iloc[0] = 100 258 levels_M.iloc[0] = 100 348 tmp = factors.iloc[:, 0] + factors.iloc[:, 1] 354 endog_M.iloc[:, i] = ( 355 endog_M.iloc[:, i] + 372 levels_M.iloc[0] = 100 [all …]
|
/dports/science/gromacs/gromacs-2021.4/src/gromacs/nbnxm/cuda/ |
H A D | nbnxm_cuda.cu | 407 gpu_plist* plist = nb->plist[iloc]; in gpu_copy_xq_to_gpu() 422 if ((iloc == InteractionLocality::NonLocal) && !haveGpuShortRangeWork(*nb, iloc)) in gpu_copy_xq_to_gpu() 464 nbnxnInsertNonlocalGpuDependency(nb, iloc); in gpu_copy_xq_to_gpu() 488 gpu_plist* plist = nb->plist[iloc]; in gpu_launch_kernel() 503 if (canSkipNonbondedWork(*nb, iloc)) in gpu_launch_kernel() 516 gpu_launch_kernel_pruneonly(nb, iloc, 1); in gpu_launch_kernel() 653 …timer = &(plist->haveFreshList ? t->interaction[iloc].prune_k : t->interaction[iloc].rollingPrune_… in gpu_launch_kernel_pruneonly() 700 nb->timers->interaction[iloc].didPrune = true; in gpu_launch_kernel_pruneonly() 740 if ((iloc == InteractionLocality::NonLocal) && !haveGpuShortRangeWork(*nb, iloc)) in gpu_launch_cpyback() 777 if (iloc == InteractionLocality::NonLocal) in gpu_launch_cpyback() [all …]
|
/dports/science/gromacs/gromacs-2021.4/src/gromacs/nbnxm/opencl/ |
H A D | nbnxm_ocl.cpp | 489 gpu_plist* plist = nb->plist[iloc]; in gpu_copy_xq_to_gpu() 504 if ((iloc == InteractionLocality::NonLocal) && !haveGpuShortRangeWork(*nb, iloc)) in gpu_copy_xq_to_gpu() 546 if (iloc == InteractionLocality::Local) in gpu_copy_xq_to_gpu() 591 gpu_plist* plist = nb->plist[iloc]; in gpu_launch_kernel() 608 if (canSkipNonbondedWork(*nb, iloc)) in gpu_launch_kernel() 728 gpu_plist* plist = nb->plist[iloc]; in gpu_launch_kernel_pruneonly() 779 …timer = &(plist->haveFreshList ? t->interaction[iloc].prune_k : t->interaction[iloc].rollingPrune_… in gpu_launch_kernel_pruneonly() 833 nb->timers->interaction[iloc].didPrune = true; in gpu_launch_kernel_pruneonly() 870 if ((iloc == InteractionLocality::NonLocal) && !haveGpuShortRangeWork(*nb, iloc)) in gpu_launch_cpyback() 914 if (iloc == InteractionLocality::NonLocal) in gpu_launch_cpyback() [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/src/base/ |
H A D | cs_post_util.c | 511 for (cs_lnum_t iloc = 0 ; iloc < n_b_faces; iloc++) { in cs_post_stress_tangential() local 512 ifac = b_face_ids[iloc]; in cs_post_stress_tangential() 563 for (cs_lnum_t iloc = 0 ; iloc < n_b_faces; iloc++) { in cs_post_b_pressure() local 564 cs_lnum_t face_id = b_face_ids[iloc]; in cs_post_b_pressure() 594 for (cs_lnum_t iloc = 0 ; iloc < n_b_faces; iloc++) { in cs_post_b_pressure() local 681 for (cs_lnum_t iloc = 0; iloc < n_cells; iloc++) { in cs_post_evm_reynolds_stresses() local 682 cs_lnum_t iel = cell_ids[iloc]; in cs_post_evm_reynolds_stresses() 753 for (cs_lnum_t iloc = 0; iloc < n_cells; iloc++) { in cs_post_anisotropy_invariant() local 754 cs_lnum_t iel = cell_ids[iloc]; in cs_post_anisotropy_invariant() 780 inv[iloc][0] = sqrt(xeta/6.0); in cs_post_anisotropy_invariant() [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/extension/base/ |
H A D | getitem.py | 14 result = ser.iloc[:4] 26 result = df.iloc[:4, [0]] 36 result = df.iloc[:4, 0] 40 result = df.iloc[:4, 0] 44 result = df.iloc[:, ::2] 53 result = df.iloc[:, :] 56 result = df.iloc[:, :1] 59 result = df.iloc[:, :2] 62 result = df.iloc[:, ::2] 65 result = df.iloc[:, 1:2] [all …]
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/MBS_Interface/ |
H A D | element.h | 422 virtual int LTG(int iloc) const {return ltg.Get(iloc);} in LTG() argument 423 virtual int& LTG(int iloc) {return ltg.Elem(iloc);} in LTG() argument 433 virtual int LTGdata(int iloc) const {return ltgdata.Get(iloc);} in LTGdata() argument 434 virtual int& LTGdata(int iloc) {return ltgdata.Elem(iloc);} in LTGdata() argument 506 virtual const double& XG(int iloc) const {return GetXact(ltg.Get(iloc));} in XG() argument 508 virtual double& XG(int iloc) {return GetXact(ltg(iloc));} in XG() argument 511 virtual double& XGP(int iloc) {return GetXact(ltg(iloc+SOS()));} in XGP() argument 530 virtual const double& XGD(int iloc) const {return GetDrawValue(ltg.Get(iloc));} in XGD() argument 531 virtual double& XGD(int iloc) {return GetDrawValue(ltg.Get(iloc));} in XGD() argument 539 virtual double& GetDrawValue(int iloc) {return mbs->GetDrawValue(iloc);} in GetDrawValue() argument [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexes/timedeltas/ |
H A D | test_partial_slicing.py | 14 expected = s.iloc[86:134] 18 expected = s.iloc[86:] 22 expected = s.iloc[:134] 26 assert result == s.iloc[133] 39 expected = s.iloc[0:] 43 expected = s.iloc[1000:] 47 assert result == s.iloc[1001]
|
/dports/science/erkale-pseudopotentials/erkale-870e772f09631b3dbdd99a18e4f3d4786d684a01/src/xrs/ |
H A D | xrsscf-base.cpp | 275 int iloc=0; in localize() local 276 while(iloc<nloc) { in localize() 278 int am=lval(iloc); in localize() 285 if(lval(iloc+norb)!=lval(iloc)) { in localize() 291 ixc=iloc+iorb; in localize() 294 …f\n",(int) orbidx(am),tolower(shell_types[am]),(int) i+1,dec(iloc+i,lval(iloc+i)),reig(iloc+i)/ANG… in localize() 296 …f\n",(int) orbidx(am),tolower(shell_types[am]),(int) i+1,dec(iloc+i,lval(iloc+i)),reig(iloc+i)/ANG… in localize() 300 …f\n",(int) orbidx(am),tolower(shell_types[am]),(int) i+1,dec(iloc+i,lval(iloc+i)),reig(iloc+i)/ANG… in localize() 307 iloc+=norb; in localize()
|
/dports/science/erkale/erkale-8297aefe5aac9dbbb291e04c07661f3cff94a99a/src/xrs/ |
H A D | xrsscf-base.cpp | 275 int iloc=0; in localize() local 276 while(iloc<nloc) { in localize() 278 int am=lval(iloc); in localize() 285 if(lval(iloc+norb)!=lval(iloc)) { in localize() 291 ixc=iloc+iorb; in localize() 294 …f\n",(int) orbidx(am),tolower(shell_types[am]),(int) i+1,dec(iloc+i,lval(iloc+i)),reig(iloc+i)/ANG… in localize() 296 …f\n",(int) orbidx(am),tolower(shell_types[am]),(int) i+1,dec(iloc+i,lval(iloc+i)),reig(iloc+i)/ANG… in localize() 300 …f\n",(int) orbidx(am),tolower(shell_types[am]),(int) i+1,dec(iloc+i,lval(iloc+i)),reig(iloc+i)/ANG… in localize() 307 iloc+=norb; in localize()
|
/dports/math/py-statsmodels/statsmodels-0.13.1/examples/python/ |
H A D | statespace_sarimax_stata.py | 181 fig = sm.graphics.tsa.plot_acf(data.iloc[1:]['D.ln_wpi'], lags=40, ax=axes[0]) 182 fig = sm.graphics.tsa.plot_pacf(data.iloc[1:]['D.ln_wpi'], lags=40, ax=axes[1]) 527 ax.fill_between(ci.index, ci.iloc[:, 0], ci.iloc[:, 1], color='r', alpha=0.1) 531 ax.fill_between(ci.index, ci.iloc[:, 0], ci.iloc[:, 1], color='g', alpha=0.1) 549 ci.iloc[:, 0] -= endog.loc['1977-10-01':] 550 ci.iloc[:, 1] -= endog.loc['1977-10-01':] 551 ax.fill_between(ci.index, ci.iloc[:, 0], ci.iloc[:, 1], alpha=0.1) 559 ci.iloc[:, 0] -= endog.loc['1977-10-01':] 560 ci.iloc[:, 1] -= endog.loc['1977-10-01':] 561 ax.fill_between(ci.index, ci.iloc[:, 0], ci.iloc[:, 1], color='r', alpha=0.1)
|
H A D | statespace_news.py | 104 y_pre = y.iloc[:-5] 123 y_pre.iloc[-12:].plot(figsize=(15, 3), label='Data', legend=True) 141 y_T = y_pre.iloc[-1] 158 y_update = y.iloc[-5:-4] 161 print('Forecast error: %.2f' % (y_update.iloc[0] - forecasts_pre.iloc[0])) 411 print((y_update.iloc[0] - phi_hat * y_pre.iloc[-1]).round(6)) 457 infl = np.log(levels).diff().iloc[1:] * 1200
|
/dports/math/spooles-mpich/spooles.2.2/SubMtx/src/ |
H A D | solve.c | 866 iloc = rloc + 1 ; in complex_solveDenseSubrows() 916 iloc = rloc + 1 ; in complex_solveDenseSubrows() 959 iloc = rloc + 1 ; in complex_solveDenseSubrows() 1035 iloc = rloc + 1 ; in complex_solveSparseRows() 1073 iloc = rloc + 1 ; in complex_solveSparseRows() 1104 iloc = rloc + 1 ; in complex_solveSparseRows() 1160 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1194 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1225 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1305 iloc = rloc + 1 ; in complex_solveSparseColumns() [all …]
|
/dports/math/spooles-mpich/spooles.2.2_SHARED/SubMtx/src/ |
H A D | solve.c | 866 iloc = rloc + 1 ; in complex_solveDenseSubrows() 916 iloc = rloc + 1 ; in complex_solveDenseSubrows() 959 iloc = rloc + 1 ; in complex_solveDenseSubrows() 1035 iloc = rloc + 1 ; in complex_solveSparseRows() 1073 iloc = rloc + 1 ; in complex_solveSparseRows() 1104 iloc = rloc + 1 ; in complex_solveSparseRows() 1160 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1194 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1225 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1305 iloc = rloc + 1 ; in complex_solveSparseColumns() [all …]
|
/dports/math/spooles/spooles.2.2_SHARED/SubMtx/src/ |
H A D | solve.c | 866 iloc = rloc + 1 ; in complex_solveDenseSubrows() 916 iloc = rloc + 1 ; in complex_solveDenseSubrows() 959 iloc = rloc + 1 ; in complex_solveDenseSubrows() 1035 iloc = rloc + 1 ; in complex_solveSparseRows() 1073 iloc = rloc + 1 ; in complex_solveSparseRows() 1104 iloc = rloc + 1 ; in complex_solveSparseRows() 1160 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1194 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1225 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1305 iloc = rloc + 1 ; in complex_solveSparseColumns() [all …]
|
/dports/math/spooles/spooles.2.2/SubMtx/src/ |
H A D | solve.c | 866 iloc = rloc + 1 ; in complex_solveDenseSubrows() 916 iloc = rloc + 1 ; in complex_solveDenseSubrows() 959 iloc = rloc + 1 ; in complex_solveDenseSubrows() 1035 iloc = rloc + 1 ; in complex_solveSparseRows() 1073 iloc = rloc + 1 ; in complex_solveSparseRows() 1104 iloc = rloc + 1 ; in complex_solveSparseRows() 1160 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1194 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1225 iloc = rloc + 1 ; in complex_solveDenseSubcolumns() 1305 iloc = rloc + 1 ; in complex_solveSparseColumns() [all …]
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/arima/tests/ |
H A D | test_model.py | 38 endog = dta['infl'].iloc[:50] 57 endog = dta['infl'].iloc[:50] 91 endog = dta['infl'].iloc[:50] 102 endog = dta['infl'].iloc[:50] 125 endog = dta['infl'].iloc[:50] 136 endog = dta['infl'].iloc[:100] 157 endog = dta['infl'].iloc[:100] 188 endog = dta['infl'].iloc[:50] 221 endog = dta['infl'].iloc[:50] 337 mod = ARIMA(endog.iloc[:50], exog=exog.iloc[:50], trend='c') [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/frame/methods/ |
H A D | test_head_tail.py | 15 tm.assert_equal(obj.head(), obj.iloc[:5]) 16 tm.assert_equal(obj.tail(), obj.iloc[-5:]) 19 tm.assert_equal(obj.head(0), obj.iloc[0:0]) 20 tm.assert_equal(obj.tail(0), obj.iloc[0:0]) 45 tm.assert_frame_equal(df.head(), df.iloc[:5]) 46 tm.assert_frame_equal(df.tail(), df.iloc[-5:]) 49 tm.assert_frame_equal(df.head(-1), df.iloc[:-1]) 50 tm.assert_frame_equal(df.tail(-1), df.iloc[1:])
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/frame/indexing/ |
H A D | test_getitem.py | 36 tm.assert_series_equal(ts, df.iloc[:, 0]) 42 tm.assert_series_equal(ts, df.iloc[:, 0]) 64 result = df.iloc[:, 0] 96 expected = float_frame.iloc[[0, 2], :] 136 expected = df3.iloc[[]] 140 expected = df4.iloc[[]] 144 expected = df3.iloc[[0, 1, 3]] 148 expected = df4.iloc[[0, 1, 3]] 158 expected = df3.iloc[[4]] 162 expected = df3.iloc[[]]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/groupby/ |
H A D | test_nth.py | 49 expected = df.iloc[[1, 2]].set_index("A") 52 expected = df.iloc[[1, 2]].set_index("A") 195 tm.assert_frame_equal(g.nth(1), df.iloc[[1]].set_index("A")) 236 expected = df.iloc[[-1]] 249 expected2 = s.groupby(g).apply(lambda x: x.iloc[0]) 255 v = s[g == 1].iloc[0] 256 assert expected.iloc[0] == v 257 assert expected2.iloc[0] == v 528 expected = df.iloc[expected_rows] 555 expected = df.iloc[:, expected_cols] [all …]
|