next up previous contents
Next: clean_zeros Eliminate Up: Sparse Matrix class Previous: cscnv Convert   Contents

csclip -- Reduce to a submatrix

    call a%csclip(b,info[,&
       & imin,imax,jmin,jmax,rscale,cscale])

Returns the submatrix A(imin:imax,jmin:jmax), optionally rescaling row/col indices to the range 1:imax-imin+1,1:jmax-jmin+1.

Type:
Asynchronous.
On Entry
a
the sparse matrix.
A variable of type psb_Tspmat_type.
Scope: local.
imin,imax,jmin,jmax
Minimum and maximum row and column indices.
Type: optional.
rscale,cscale
Whether to rescale row/column indices. Type: optional.
On Return
b
A copy of a submatrix of a.
A variable of type psb_Tspmat_type.
info
Return code.