Version 1.0.1

Code Download

  • Single
  • Double
  • Single Complex
  • Double Complex

MC77 Sparse unsymmetric matrix: calculate scaling factors

This subroutine calculates scaling factors for a sparse symmetric or unsymmetric matrix A = {aij}m×n to make the p-norms of all the rows and columns be approximately equal to 1. In the symmetric case, the scaling is symmetric. The matrix may be stored by columns, in the cooordinate format, or as a packed dense matrix. If mn, it uses the -norm. Otherwise, the user may choose any p-norm, with p 1.