Next: psb_spnrmi Infinity
Up: Computational routines
Previous: psb_genrm2s Generalized
Contents
This function computes the 1-norm of a matrix :
where:
- represents the global matrix
Table 10:
Data types
|
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
.
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 .
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: psb_spnrmi Infinity
Up: Computational routines
Previous: psb_genrm2s Generalized
Contents