/dports/math/py-sympy/sympy-1.9/sympy/matrices/expressions/ |
H A D | slice.py | 52 rowslice = property(lambda self: self.args[1]) variable in MatrixSlice 55 def __new__(cls, parent, rowslice, colslice): argument 56 rowslice = normalize(rowslice, parent.shape[0]) 58 if not (len(rowslice) == len(colslice) == 3): 60 if ((0 > rowslice[0]) == True or 71 rows = self.rowslice[1] - self.rowslice[0] 72 rows = rows if self.rowslice[2] == 1 else floor(rows/self.rowslice[2]) 78 return self.parent._entry(i*self.rowslice[2] + self.rowslice[0], 84 return self.rowslice == self.colslice 101 def mat_slice_of_slice(parent, rowslice, colslice): argument [all …]
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/matrices/expressions/ |
H A D | slice.py | 56 rowslice = property(lambda self: self.args[1]) variable in MatrixSlice 59 def __new__(cls, parent, rowslice, colslice): argument 60 rowslice = normalize(rowslice, parent.shape[0]) 62 if true in (0 > rowslice[0], parent.shape[0] < rowslice[1], 66 return mat_slice_of_slice(parent, rowslice, colslice) 71 rows = self.rowslice[1] - self.rowslice[0] 72 rows = rows if self.rowslice[2] == 1 else floor(rows/self.rowslice[2]) 78 return self.parent._entry(i*self.rowslice[2] + self.rowslice[0], 83 return self.rowslice == self.colslice 99 def mat_slice_of_slice(parent, rowslice, colslice): argument [all …]
|
/dports/devel/py-curtsies/curtsies-0.3.10/curtsies/ |
H A D | formatstringarray.py | 90 return self.rows[rowslice] 124 rowslice, colslice = slicetuple, slice(None) 134 rowslice, colslice = slicetuple 140 rowslice = normalize_slice(sys.maxsize, rowslice) 159 if slicesize(rowslice) != len(value): 163 rowslice 166 self.rows[: rowslice.start] 173 + self.rows[rowslice.stop :] 186 rowslice.stop - rowslice.start, 194 self.rows[: rowslice.start] [all …]
|
/dports/textproc/py-petl/petl-1.7.4/examples/transform/ |
H A D | basics.py | 105 table2 = etl.rowslice(table1, 2) 107 table3 = etl.rowslice(table1, 1, 4) 109 table4 = etl.rowslice(table1, 0, 5, 2)
|
/dports/textproc/py-petl/petl-1.7.4/petl/test/transform/ |
H A D | test_basics.py | 6 from petl.transform.basics import cut, cat, addfield, rowslice, head, tail, \ 415 result = rowslice(table, 2) 421 result = rowslice(table, 1, 2) 426 result = rowslice(table, 1, 5, 2) 436 actual = rowslice(table, 1, 2)
|
/dports/math/pari/pari-2.13.3/src/basemath/ |
H A D | Flv.c | 58 GEN B1 = rowslice(B, 1, 1); in Flm_rsolve_upper_2() 59 GEN B2 = rowslice(B, 2, 2); in Flm_rsolve_upper_2() 80 B2 = rowslice(B, n1 + 1, n); in Flm_rsolve_upper_pre() 82 U12 = rowslice(U2, 1, n1); in Flm_rsolve_upper_pre() 83 B1 = rowslice(B, 1, n1); in Flm_rsolve_upper_pre() 122 U12 = rowslice(U2, 1, n1); in Flm_lsolve_upper_pre() 159 L11 = rowslice(L1, 1, m1); in Flm_rsolve_lower_unit_pre() 161 A1 = rowslice(A, 1, m1); in Flm_rsolve_lower_unit_pre() 264 A1 = rowslice(A, 1, m1); in Flm_CUP_pre() 633 C2 = rowslice(C, i, i); in Flm_deplin_echelon() [all …]
|
H A D | qfsolve.c | 419 *B = rowslice(G2, 1, d); in blocks4() 420 *C = rowslice(G2, d+1, n); in blocks4() 1028 K = ker(rowslice(solG1,n+1,n+2)); in qfsolve_i() 1029 solG1 = RgM_mul(rowslice(solG1,1,n), K); in qfsolve_i() 1037 K = ker(rowslice(sol,n,n)); in qfsolve_i() 1038 sol = RgM_mul(rowslice(sol,1,n-1), K); in qfsolve_i()
|
H A D | alglin1.c | 777 X = rowslice(x, 1, nA); in gen_matinvimage() 884 GEN B1 = rowslice(B, 1, 1); in gen_rsolve_upper_2() 907 U12 = rowslice(U2, 1, n1); in gen_rsolve_upper() 909 B1 = rowslice(B, 1, n1); in gen_rsolve_upper() 948 U12 = rowslice(U2, 1, n1); in gen_lsolve_upper() 985 L11 = rowslice(L1, 1, m1); in gen_rsolve_lower_unit() 987 A1 = rowslice(A, 1, m1); in gen_rsolve_lower_unit() 1030 L11 = rowslice(L1, 1, m1); in gen_lsolve_lower_unit() 1101 A1 = rowslice(A, 1, m1); in gen_CUP() 1294 C2 = rowslice(C, i, i); in gen_deplin_echelon() [all …]
|
H A D | bnfunits.c | 162 U1 = rowslice(U,1, lS-1); in bnfsunit_i() 163 U2 = rowslice(U,lS, lg(M)-1); /* (M | cyc) [U1; U2] = 0 */ in bnfsunit_i()
|
H A D | buch2.c | 2948 d = det2(rowslice(vecslice(Im_mdet, 2, RU), 2, RU)); in compute_multiple_of_R() 2956 L = RgM_mul(rowslice(L,2,RU), Ar); /* approximate rational entries */ in compute_multiple_of_R() 3255 R = det( rowslice(real_i(mun), 1, lgcols(mun)-2) ); in get_regulator() 3927 E = RgM_ZM_mul(embs, rowslice(C, RU+1, nbrows(C))); in Buchall_param() 4039 if (flag) A = rowslice(A, 1, RU); in Buchall_param() 4111 CU = ZM_mul(rowslice(c, RU+1, nbrows(c)), U); in Buchall_param() 4119 if (flag) SUnits = mkvec4(SUnits, CU, rowslice(Ce, RU+1, nbrows(Ce)), in Buchall_param() 4123 if (flag) Ce = rowslice(Ce, 1, RU); in Buchall_param()
|
H A D | bb_hnf.c | 916 if (n2>n) U = rowslice(U, n2-n+1, n2); in gen_inv() 1122 K = rowslice(K,1,n); in matsolvemod_finite()
|
H A D | bnflog.c | 141 U0 = rowslice(U0,1,lS-1); /* restrict to 'S' part */ in CL_prime()
|
H A D | hnf_snf.c | 603 *pdep = rowslice(x, 1, n); in mathnfspec() 604 return n? rowslice(x, n+1, k-1): x; /* H */ in mathnfspec() 649 *ptdep = rowslice(extramat, 1, nlze); in hnfadd_i() 650 matb = rowslice(extramat, nlze+1, lig); in hnfadd_i()
|
H A D | buch3.c | 55 w = rowslice(Flm_inv(v,2), t+1, r1); /* H*w*z = proj of z on H // sgn(U) */ in bnfnarrow() 71 U0 = rowslice(u, 1, l-1); in bnfnarrow() 72 Uoo = ZM_mul(H, rowslice(u, l, nbrows(u))); in bnfnarrow() 1316 U = rowslice(U, 1, l-1); in bnrchar_i()
|
/dports/math/py-sympy/sympy-1.9/sympy/printing/ |
H A D | theanocode.py | 200 rowslice = self._print(slice(*expr.rowslice), **kwargs) 202 return parent[rowslice, colslice]
|
H A D | aesaracode.py | 200 rowslice = self._print(slice(*expr.rowslice), **kwargs) 202 return parent[rowslice, colslice]
|
H A D | julia.py | 381 strslice(expr.rowslice, expr.parent.shape[0]) + ',' +
|
H A D | octave.py | 374 strslice(expr.rowslice, expr.parent.shape[0]) + ', ' +
|
/dports/textproc/py-petl/petl-1.7.4/petl/transform/ |
H A D | basics.py | 656 def rowslice(table, *sliceargs): function 712 Table.rowslice = rowslice 767 return rowslice(table, n)
|
H A D | __init__.py | 4 addfield, addfieldusingcontext, addrownumbers, addcolumn, rowslice, head, \
|
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/data/ |
H A D | owtable.py | 129 def setRowSlice(self, rowslice): argument 130 if rowslice.step is not None and rowslice.step != 1: 133 if self.__rowslice != rowslice: 135 self.__rowslice = rowslice
|
/dports/devel/py-frictionless/frictionless-4.18.2/frictionless/steps/ |
H A D | row.py | 118 resource.data = table.rowslice(start, stop, step)
|
/dports/textproc/py-petl/petl-1.7.4/docs/ |
H A D | transform.rst | 15 .. autofunction:: petl.transform.basics.rowslice
|
/dports/math/py-Diofant/Diofant-0.13.0/diofant/printing/ |
H A D | octave.py | 318 strslice(expr.rowslice, expr.parent.shape[0]) + ', ' +
|
H A D | str.py | 220 strslice(expr.rowslice) + ', ' +
|