Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/src/sage/coding/all.py
8815 views
1
from sage.misc.lazy_import import lazy_import
2
3
from ag_code import ag_code
4
5
from code_constructions import (permutation_action,
6
walsh_matrix,cyclotomic_cosets)
7
8
from sage.misc.superseded import deprecated_callable_import
9
deprecated_callable_import(15445,
10
'sage.coding.code_constructions',
11
globals(),
12
locals(),
13
["BinaryGolayCode",
14
"BCHCode",
15
"CyclicCode",
16
"CyclicCodeFromGeneratingPolynomial",
17
"CyclicCodeFromCheckPolynomial",
18
"DuadicCodeEvenPair",
19
"DuadicCodeOddPair",
20
"ExtendedBinaryGolayCode",
21
"ExtendedQuadraticResidueCode",
22
"ExtendedTernaryGolayCode",
23
"HammingCode",
24
"LinearCodeFromCheckMatrix",
25
"QuadraticResidueCode",
26
"QuadraticResidueCodeEvenPair",
27
"QuadraticResidueCodeOddPair",
28
"RandomLinearCode",
29
"ReedSolomonCode",
30
"TernaryGolayCode",
31
"ToricCode",
32
"TrivialCode",
33
"WalshCode"],
34
("This method soon will not be available in that "
35
"way anymore. To use it, you can now call it by "
36
"typing codes.%(name)s"))
37
38
deprecated_callable_import(15445,
39
'sage.coding.guava',
40
globals(),
41
locals(),
42
["BinaryReedMullerCode",
43
"QuasiQuadraticResidueCode",
44
"RandomLinearCodeGuava"],
45
("This method soon will not be available in that "
46
"way anymore. To use it, you can now call it by "
47
"typing codes.%(name)s"))
48
49
from code_bounds import (codesize_upper_bound,
50
dimension_upper_bound,
51
volume_hamming,
52
gilbert_lower_bound,
53
plotkin_upper_bound,
54
griesmer_upper_bound,
55
elias_upper_bound,
56
hamming_upper_bound,
57
singleton_upper_bound,
58
gv_info_rate,
59
entropy,
60
gv_bound_asymp,
61
hamming_bound_asymp,
62
singleton_bound_asymp,
63
plotkin_bound_asymp,
64
elias_bound_asymp,
65
mrrw1_bound_asymp)
66
67
from linear_code import (LinearCode, LinearCodeFromVectorSpace,
68
hamming_weight,
69
best_known_linear_code,
70
best_known_linear_code_www,
71
bounds_minimum_distance,
72
self_orthogonal_binary_codes)
73
74
from sd_codes import self_dual_codes_binary
75
76
lazy_import("sage.coding.delsarte_bounds",
77
["Krawtchouk", "delsarte_bound_hamming_space", "delsarte_bound_additive_hamming_space"])
78
79
lazy_import('sage.coding', 'codes_catalog', 'codes')
80
81