Skip to content

Instantly share code, notes, and snippets.

@taketo1024
Last active July 6, 2021 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taketo1024/913d3705fcc8b3fa7f5384ccda3ae256 to your computer and use it in GitHub Desktop.
Save taketo1024/913d3705fcc8b3fa7f5384ccda3ae256 to your computer and use it in GitHub Desktop.
import SwmCore
import SwmKnots
import SwmKR
typealias R = RationalNumber
let b = Braid.load("5_1")!
// let b = Braid<anySize>(strands: 3, code: -1, -1, -1)
print(b)
print(b.detailDescription)
let K = b.closure
let KR = KRHomology<R>(K)
print(KR.table())
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment