4.10 psb_norm1 — 1-Norm of Sparse Matrix

This function computes the 1-norm of a matrix A:

nrm1 ← ∥A ∥1

where:

A
represents the global matrix A




A Function


Short Precision Real psb_spnrm1
Long Precision Real psb_spnrm1
Short Precision Complexpsb_spnrm1
Long Precision Complex psb_spnrm1



Table 10: Data types

psb_spnrm1(A, desc_a, info)  
psb_norm1(A, desc_a, info)

Type:
Synchronous.
On Entry
a
the local portion of the global sparse matrix A.
Scope: local
Type: required
Intent: in.
Specified as: an object of type psb_Tspmat_type.
desc_a
contains data structures for communications.
Scope: local
Type: required
Intent: in.
Specified as: an object of type psb_desc_type.
On Return
Function value
is the 1-norm of sparse submatrix A.
Scope: global
Specified as: a long precision real number.
info
Error code.
Scope: local
Type: required
Intent: out.
An integer value; 0 means no error has been detected.