Skip to content

Error for eigsQR #64

@GregorySchwartz

Description

@GregorySchwartz
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions