/usr/share/pyshared/sympy/polys/sparsebasic.py is in python-sympy 0.7.1.rc1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | """Basic tools for sparse polynomials in `K[x]` or `K[X]`. """
def smp_validate(f):
pass
def sup_zero():
return {}
def smp_zero(u):
return {}
def smp_one(u, K):
return {(0,)*(u+1): K.one}
def smp_from_ground(f, u, ord, K):
pass
def smp_from_dict(f, u, ord, K):
pass
def smp_from_sympy_dict(f, u, ord, K):
pass
def smp_from_dict(f, u, ord, K):
pass
def smp_from_sympy_dict(f, u, ord, K):
pass
def smp_to_ground(f, u, ord, K):
pass
def smp_to_dict(f, u, ord, K):
pass
def smp_to_sympy_dict(f, u, ord, K):
pass
def smp_to_dict(f, u, ord, K):
pass
def smp_to_sympy_dict(f, u, ord, K):
pass
def smp_set_order(f, u, ord, K):
pass
def smp_set_domain(f, u, ord, K0, K1):
pass
def smp_ground_LC(f, u, ord, K):
pass
def smp_ground_LM(f, u, ord, K):
pass
def smp_ground_LT(f, u, ord, K):
pass
def smp_ground_TC(f, u, ord, K):
pass
def smp_ground_TM(f, u, ord, K):
pass
def smp_ground_TT(f, u, ord, K):
pass
def smp_ground_EC(f, u, ord, K):
pass
def smp_ground_EM(f, u, ord, K):
pass
def smp_ground_ET(f, u, ord, K):
pass
def smp_coeffs(f, u, ord, K):
pass
def smp_monoms(f, u, ord, K):
pass
def smp_terms(f, u, ord, K):
pass
def smp_all_coeffs(f, u, ord, K):
pass
def smp_all_monoms(f, u, ord, K):
pass
def smp_all_terms(f, u, ord, K):
pass
def smp_degree(f, j, u):
pass
def smp_degrees(f, u):
pass
def smp_total_degree(f, u):
return sum(smp_degrees(f, u))
def smp_deflate(f, u, ord, K):
pass
def smp_inflate(f, M, u, ord, K):
pass
def smp_terms_gcd(f, u, ord, K):
pass
|