Skip to content

Instantly share code, notes, and snippets.

@mschauer
Created December 5, 2017 13:12
Show Gist options
  • Select an option

  • Save mschauer/83d40650c5d6900feb027d7d07e03ed8 to your computer and use it in GitHub Desktop.

Select an option

Save mschauer/83d40650c5d6900feb027d7d07e03ed8 to your computer and use it in GitHub Desktop.
Improper rotation in SVD
julia> U, D, V = svd([0.359981 0.154162 0.169217; 0.154162 0.462971 0.159141; 0.169217 0.159141 0.492675])
([-0.49062 -1.23189e-5 0.871374; -0.58683 -0.739224 -0.330421; -0.644144 0.673459 -0.362671], [0.766542, 0.31799, 0.231094], [-0.49062 -1.23189e-5 0.871374; -0.58683 -0.739224 -0.330421; -0.644144 0.673459 -0.362671])
julia> det(U)
-0.9999999999999994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment