next up previous contents
Next: psb_spnrmi Infinity Up: Computational routines Previous: psb_genrm2s Generalized   Contents

psb_spnrm1 -- 1-Norm of Sparse Matrix

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


\begin{displaymath}nrm1 \leftarrow \Vert A\Vert _1 \end{displaymath}

where:
$A$
represents the global matrix $A$


Table 10: Data types
$A$ Function
Short Precision Real psb_spnrm1
Long Precision Real psb_spnrm1
Short Precision Complex psb_spnrm1
Long Precision Complex psb_spnrm1


psb_spnrm1(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 spdatapsb_Tspmat_type.
desc_a
contains data structures for communications.
Scope: local
Type: required
Intent: in.
Specified as: an object of type descdatapsb_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.


next up previous contents
Next: psb_spnrmi Infinity Up: Computational routines Previous: psb_genrm2s Generalized   Contents