-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
mat = sparsifySM $ fromListDenseSM 4 [0,1,1,0, 1,0,0,0, 1,0,0,1, 0,0,1,0] :: SpMatrix Double
eigsQR 100 False mat
*** Exception: Givens : no compatible rows for indices (3,2)
eigen
in R returns:
$values
[1] 1.618034 0.618034 -0.618034 -1.618034
$vectors
[,1] [,2] [,3] [,4]
[1,] -0.601501 -0.371748 -0.371748 0.601501
[2,] -0.371748 -0.601501 0.601501 -0.371748
[3,] -0.601501 0.371748 -0.371748 -0.601501
[4,] -0.371748 0.601501 0.601501 0.371748