Skip to content

Commit

Permalink
Added a new interface for . It now takes a matrix in place of three b…
Browse files Browse the repository at this point in the history
…asis vectors.
  • Loading branch information
Gus Hart committed Feb 21, 2024
1 parent 7d23083 commit 4034526
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/MinkowskiReduction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ function minkReduce(U, V, W)
return U, V, W, i
end

""" minkReduce(M)
Find the shortest equivalent basis of that lattice formed by the columns of `M`."""
function minkReduce(M)
U,V,W = minkReduce(M[:,1],M[:,2],M[:,3])
return hcat(U,V,W)
end

"""
shortenW_in_UVW
Expand Down

0 comments on commit 4034526

Please sign in to comment.