Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Demonstration for Sage-Paris meetings

66 views
Kernel: SageMath (Development)
1+1
2
10^1000
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
H = codes.HammingCode(GF(7), 3)
H.minimum_distance()
3
H.parity_check_matrix()
3 x 57 dense matrix over Finite Field of size 7 (use the '.str()' method to see the entries)
%display latex
H.parity_check_matrix()
G = graphs.PetersenGraph() G
Image in a Jupyter notebook
H.minimum_distance??
S = H.dual_code()
S.minimum_distance??
MixedIntegerLinearProgram?