Skip to content
Quantoros

If only the spectral condition number is needed, must you compute full singular vectors?

MathematicsLevel: IntermediateRank and spectral numerics

If only the spectral condition number is needed, must you compute full singular vectors?

Hints
  • The condition number uses extremes.
  • Skip unneeded outputs.

Answer

No. Singular values suffice: divide the largest by the smallest, handling zero appropriately. Avoid computing large unused vector matrices.

Source and licence: NumPy — numerical linear algebra · BSD-3-Clause · answer: Quantoros editorial

Related questions