Strassen's algorithm: Difference between revisions

Content added Content deleted
m (below -> until reaching)
Line 303: Line 303:


""" For pretty printing: change matrix to integer if it is within 0.00000001 of an integer """
""" For pretty printing: change matrix to integer if it is within 0.00000001 of an integer """
const intprint(s, mat) = println(s, map(x -> Int(round(x, digits=8)), mat)')
intprint(s, mat) = println(s, map(x -> Int(round(x, digits=8)), mat)')


intprint("Regular multiply: ", A' * B')
intprint("Regular multiply: ", A' * B')