ITensor / NDTensors.jl

A Julia package for n-dimensional sparse tensors.
Apache License 2.0
27 stars 7 forks source link

Extend Spectrum definition #28

Closed mtfishman closed 4 years ago

mtfishman commented 4 years ago

As discussed in ITensor/ITensors.jl/pull/427, it would be helpful to extend the type parametrization of Spectrum to Union{<:AbstractVector, Nothing} so that the eigs field can be nothing for cases like qr where the eigenvalues are not easy to compute.

Also, we might consider changing the name of the eigs(...) function to eigvals(...) to match Julia's eigvals function.

mtfishman commented 4 years ago

Fixed by #29.