We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eigvals
1 parent 0c45d0e commit 77c66a6Copy full SHA for 77c66a6
src/tensors/diagonal.jl
@@ -368,6 +368,10 @@ end
368
function LinearAlgebra.svdvals(d::DiagonalTensorMap)
369
return SectorDict(c => LinearAlgebra.svdvals(b) for (c, b) in blocks(d))
370
end
371
+function LinearAlgebra.eigvals(d::DiagonalTensorMap)
372
+ return SectorDict(c => LinearAlgebra.eigvals(b) for (c, b) in blocks(d))
373
+end
374
+
375
376
function LinearAlgebra.cond(d::DiagonalTensorMap, p::Real=2)
377
return LinearAlgebra.cond(Diagonal(d.data), p)
0 commit comments