/dports/biology/tRNAscan-SE/tRNAscan-SE-2.0/src/ |
H A D | scorestack.c | 120 if (hstack == NULL) hstack = init_hitstack(); in ReportScanHit() 141 free_hitstack(hstack); in ReportScanHit() 142 hstack = NULL; in ReportScanHit() 149 hstack = init_hitstack(); in ReportScanHit() 196 struct hitstack_s *hstack; in init_hitstack() local 200 hstack->nxt = NULL; in init_hitstack() 201 return hstack; in init_hitstack() 218 new->nxt = hstack->nxt; in push_hitstack() 219 hstack->nxt = new; in push_hitstack() 232 hstack->nxt = old->nxt; in pop_hitstack() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/ |
H A D | halfedgeds_connected_components.h | 32 std::vector< Halfedge_handle> hstack; in halfedgeds_connected_components() local 33 hstack.reserve( hds.size_of_halfedges() + 3/ 4); in halfedgeds_connected_components() 37 hstack.clear(); in halfedgeds_connected_components() 38 hstack.push_back( scan); in halfedgeds_connected_components() 39 while ( ! hstack.empty()) { in halfedgeds_connected_components() 40 Halfedge_handle h = hstack.back(); in halfedgeds_connected_components() 41 hstack.pop_back(); in halfedgeds_connected_components() 44 hstack.push_back( h->next()); in halfedgeds_connected_components() 45 hstack.push_back( h->opposite()); in halfedgeds_connected_components()
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/tests/results/ |
H A D | results_ar.py | 104 self.FVOLSn200start200 = np.hstack((fv[200-9:], pv[:101-9])) 108 self.FVOLSn100start325 = np.hstack((fv[-1], pv)) 110 self.FVOLSn301start9 = np.hstack((fv, pv[:2])) 114 self.FVOLSn4start312 = np.hstack((fv[-1], pv[:8])) 116 self.FVOLSn15start312 = np.hstack((fv[-1], pv[:19])) 158 self.FVOLSn200start200 = np.hstack((fv[200-9:], pv[:101-9])) 162 self.FVOLSn100start325 = np.hstack((fv[-1], pv)) 164 self.FVOLSn301start9 = np.hstack((fv, pv[:2])) 168 self.FVOLSn4start312 = np.hstack((fv[-1], pv[:8])) 170 self.FVOLSn15start312 = np.hstack((fv[-1], pv[:19]))
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/tdscf/test/ |
H A D | test_tduks.py | 160 x = numpy.hstack((xa.ravel(), xb.ravel())) 161 y = numpy.hstack((ya.ravel(), yb.ravel())) 162 xy = numpy.hstack((x, y)) 190 ab12 = numpy.hstack((ab1.ravel(),ab2.ravel())) 206 x = numpy.hstack((xa.ravel(), xb.ravel())) 207 y = numpy.hstack((ya.ravel(), yb.ravel())) 208 xy = numpy.hstack((x, y)) 236 ab12 = numpy.hstack((ab1.ravel(),ab2.ravel())) 252 x = numpy.hstack((xa.ravel(), xb.ravel())) 253 y = numpy.hstack((ya.ravel(), yb.ravel())) [all …]
|
/dports/math/py-pynleq2/pysces-0.9.8/pysces/core2/ |
H A D | PyscesCore2Modules.py | 281 output = numpy.hstack((output, self.rules)) 287 output = numpy.hstack((output, self.xdata)) 545 output = numpy.hstack((self.time, self.rates)) 560 output = numpy.hstack((self.time, self.rules)) 612 output = numpy.hstack((output,sp)) 614 output = numpy.hstack((output,ra)) 616 output = numpy.hstack((output,ru)) 618 output = numpy.hstack((output,xd)) 675 output = numpy.hstack((output, self.rates)) 678 output = numpy.hstack((output, self.rules)) [all …]
|
/dports/biology/py-PySCeS/pysces-1.0.0/pysces/core2/ |
H A D | PyscesCore2Modules.py | 622 output = numpy.hstack((output, sp)) 624 output = numpy.hstack((output, ra)) 626 output = numpy.hstack((output, ru)) 628 output = numpy.hstack((output, xd)) 685 output = numpy.hstack((output, self.rates)) 688 output = numpy.hstack((output, self.rules)) 691 output = numpy.hstack((output, self.xdata)) 712 output = numpy.hstack( 720 output = numpy.hstack( 725 output = numpy.hstack( [all …]
|
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/reductions/cone2cone/ |
H A D | exotic2common.py | 19 from cvxpy.atoms.affine.hstack import hstack 70 x_3d = hstack(x_3d) 71 y_3d = hstack(y_3d) 72 z_3d = hstack(z_3d) 73 alpha_p3d = hstack(alpha_3d)
|
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/reductions/dgp2dcp/atom_canonicalizers/ |
H A D | add_canon.py | 2 from cvxpy.atoms.affine.hstack import hstack 10 return log_sum_exp(hstack(args)), [] 19 log_sum_exp(hstack([summand[i] for summand in summands]))) 27 log_sum_exp(hstack([summand[i, j] for summand in summands])))
|
H A D | pnorm_canon.py | 1 from cvxpy.atoms.affine.hstack import hstack 15 return (1.0/p) * log_sum_exp(hstack([xi ** p for xi in x])), [] 23 rows.append((1.0/p) * log_sum_exp(hstack([xi ** p for xi in row])))
|
H A D | sum_canon.py | 1 from cvxpy.atoms.affine.hstack import hstack 22 canon = hstack(rows)
|
/dports/finance/py-quantecon/quantecon-0.5.2/quantecon/ |
H A D | dle.py | 76 uc = np.hstack((np.eye(self.nc), np.zeros((self.nc, self.ng)))) 77 ug = np.hstack((np.zeros((self.ng, self.nc)), np.eye(self.ng))) 78 phiin = np.linalg.inv(np.hstack((self.phic, self.phig))) 87 a11 = np.vstack((np.hstack((self.deltah, a1)), np.hstack( 89 self.A = np.vstack((np.hstack((a11, a12)), np.hstack( 129 self.Sk1 = np.hstack((np.zeros((self.nk, self.nh)), np.eye( 138 self.Ss = self.llambda.dot(np.hstack((np.eye(self.nh), np.zeros( 304 Ac1 = np.hstack((self.deltah, np.zeros((self.nh, self.nz)))) 305 Ac2 = np.hstack((np.zeros((self.nz, self.nh)), self.a22)) 308 Rc1 = np.hstack((self.llambda.T.dot(self.llambda), - [all …]
|
H A D | ivp.py | 51 solution = np.hstack((self.t, self.y)) 56 current_step = np.hstack((self.t, self.y)) 71 solution = np.hstack((self.t, self.y)) 76 current_step = np.hstack((self.t, self.y)) 132 rhs_ode = np.hstack((ti[:, np.newaxis], rhs_ode)) 236 interp_traj = np.hstack((ti[:, np.newaxis], np.array(out).T))
|
/dports/science/py-obspy/obspy-1.2.2/obspy/signal/ |
H A D | cpxtrace.py | 106 anorm_add = np.hstack( 120 a_win_add = np.hstack( 171 centroid_add = np.hstack( 217 f_add = np.hstack( 224 h_add = np.hstack( 235 omega_add = np.hstack( 247 f_add = np.hstack( 254 h_add = np.hstack( 285 a_win_add = np.hstack( 296 sigma_add = np.hstack( [all …]
|
/dports/science/py-nilearn/nilearn-0.8.1/nilearn/_utils/ |
H A D | segmentation.py | 53 edges = np.hstack((edges_deep, edges_right, edges_down)) 85 i_indices = np.hstack((edges[0], edges[1])) 86 j_indices = np.hstack((edges[1], edges[0])) 87 data = np.hstack((-weights, -weights)) 92 (np.hstack((data, connect)), (np.hstack((i_indices, diag)), 93 np.hstack((j_indices, diag)))), 132 mask0 = np.hstack((mask[:, :, :-1].ravel(), mask[:, :-1].ravel(), 134 mask1 = np.hstack((mask[:, :, 1:].ravel(), mask[:, 1:].ravel(),
|
/dports/biology/py-scikit-bio/scikit-bio-0.5.6/skbio/stats/ordination/ |
H A D | _canonical_correspondence_analysis.py | 205 features_scores = np.hstack((V, V_res)) 206 sample_scores = np.hstack((F, F_res)) 207 sample_constraints = np.hstack((Z_scaling1, F_res)) 209 features_scores = np.hstack((F_hat, F_hat_res)) 210 sample_scores = np.hstack((V_hat, V_hat_res)) 211 sample_constraints = np.hstack((Z_scaling2, V_hat_res))
|
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/atoms/affine/ |
H A D | bmat.py | 17 from cvxpy.atoms.affine.hstack import hstack 37 row_blocks = [hstack(blocks) for blocks in block_lists]
|
/dports/science/py-veusz/veusz-veusz-3.3.1/veusz/widgets/ |
H A D | axisfunction.py | 69 xvals = N.hstack(( mint, xvals[xvals > mint] )) 71 xvals = N.hstack(( xvals[xvals < maxt], maxt )) 389 linkpixcoords = N.hstack((mintpix, linkpixcoords[sel])) 391 fraccoords = N.hstack((frac, fraccoords[sel])) 396 linkpixcoords = N.hstack((linkpixcoords[sel], maxtpix)) 398 fraccoords = N.hstack((fraccoords[sel], frac)) 451 fraccoords = N.hstack( (minfrac, fraccoords[sel]) ) 452 tvals = N.hstack( (mint, tvals[sel]) ) 456 fraccoords = N.hstack( (fraccoords[sel], maxfrac) ) 457 tvals = N.hstack( (tvals[sel], maxt) ) [all …]
|
/dports/math/faiss/faiss-1.7.1/contrib/ |
H A D | exhaustive_search.py | 92 return lims, np.hstack(D_res), np.hstack(I_res) 140 D = [(np.hstack(i) if i != [] else empty_D) for i in D] 141 I = [(np.hstack(i) if i != [] else empty_I) for i in I] 146 return lims, np.hstack(D), np.hstack(I) 175 alldis = np.hstack([dis for _, dis, _ in res_batches]) 255 nres = np.hstack([nres_i for nres_i, dis_i, ids_i in res_batches]) 256 dis = np.hstack([dis_i for nres_i, dis_i, ids_i in res_batches]) 257 ids = np.hstack([ids_i for nres_i, dis_i, ids_i in res_batches])
|
/dports/science/py-pyscf/pyscf-2.0.1/examples/ao2mo/ |
H A D | 11-ump2.py | 25 o = numpy.hstack((mo_coeff[0][:,mo_occ[0]>0] ,mo_coeff[1][:,mo_occ[1]>0])) 26 v = numpy.hstack((mo_coeff[0][:,mo_occ[0]==0],mo_coeff[1][:,mo_occ[1]==0])) 27 eo = numpy.hstack((mo_energy[0][mo_occ[0]>0] ,mo_energy[1][mo_occ[1]>0])) 28 ev = numpy.hstack((mo_energy[0][mo_occ[0]==0],mo_energy[1][mo_occ[1]==0]))
|
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/data/tests/ |
H A D | test_owmelt.py | 361 np.hstack((out.X, np.atleast_2d(out.Y).T)), 372 np.hstack((out.X, np.atleast_2d(out.Y).T)), 383 np.hstack((out.X, np.atleast_2d(out.Y).T)), 394 np.hstack((out.X, np.atleast_2d(out.Y).T)), 411 np.hstack((out.X, np.atleast_2d(out.Y).T)), 420 np.hstack((out.X, np.atleast_2d(out.Y).T)), 429 np.hstack((out.X, np.atleast_2d(out.Y).T)), 438 np.hstack((out.X, np.atleast_2d(out.Y).T)), 452 np.hstack((out.X, np.atleast_2d(out.Y).T)), 464 np.hstack((out.X, np.atleast_2d(out.Y).T)), [all …]
|
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/reductions/dcp2cone/atom_canonicalizers/ |
H A D | quad_over_lin_canon.py | 17 from cvxpy.atoms.affine.hstack import hstack 33 X=hstack([y-t, 2*x.flatten()]), axis=0
|
/dports/math/py-osqp/osqp-0.6.2.post0/module/tests/ |
H A D | multithread_test.py | 31 sparse.hstack([Ad, -sparse.eye(m)]), 32 sparse.hstack([sparse.eye(n), sparse.csc_matrix((n, m))])], format='csc') 33 l = np.hstack([b, np.zeros(n)]) 34 u = np.hstack([b, np.ones(n)])
|
/dports/math/py-numpoly/numpoly-1.2.3/numpoly/array_function/ |
H A D | hstack.py | 12 @implements(numpy.hstack) 13 def hstack(tup: Sequence[PolyLike]) -> ndpoly: function 48 coefficients = [numpy.hstack([array.values[key] for array in arrays])
|
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/gym/pybullet_envs/minitaur/envs_v2/env_wrappers/ |
H A D | pmtg_inplace_wrapper_env.py | 64 action_low = np.hstack( 66 action_high = np.hstack( 78 lower_bound = np.hstack((lower_bound, [-1.] * 2 * _NUM_LEGS)) 79 upper_bound = np.hstack((upper_bound, [1.] * 2 * _NUM_LEGS)) 87 observation["tg_inplace"] = np.hstack( 91 return np.hstack(
|
/dports/math/osqp/osqp-0.6.2/docs/examples/ |
H A D | svm.rst | 42 b = np.hstack([np.ones(N), -np.ones(N)]) 53 q = np.hstack([np.zeros(n), gamma*np.ones(m)]) 55 sparse.hstack([sparse.diags(b).dot(Ad), -Im]), 56 sparse.hstack([sparse.csc_matrix((m, n)), Im]) 58 l = np.hstack([-np.inf*np.ones(m), np.zeros(m)]) 59 u = np.hstack([-np.ones(m), np.inf*np.ones(m)]) 123 b = np.hstack([np.ones(N), -np.ones(N)])
|