librsb  1.3
Public Member Functions
blas_sparse::uscr_insert_block Interface Reference

inserts a dense block More...

Public Member Functions

subroutine suscr_insert_block (A, val, row_stride, col_stride, i, j, istat)
 Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together. More...
 
subroutine duscr_insert_block (A, val, row_stride, col_stride, i, j, istat)
 Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together. More...
 
subroutine cuscr_insert_block (A, val, row_stride, col_stride, i, j, istat)
 Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together. More...
 
subroutine zuscr_insert_block (A, val, row_stride, col_stride, i, j, istat)
 Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together. More...
 

Detailed Description

inserts a dense block

Parameters
istatThe return code will be written to istat (this is a Fortran routine): either 0 (success) or -1 (failure).

Member Function/Subroutine Documentation

◆ cuscr_insert_block()

subroutine blas_sparse::uscr_insert_block::cuscr_insert_block ( integer  A,
complex(kind(1.e0)), dimension (:)  val,
integer(kind=rsb_blas_idx_kind row_stride,
integer(kind=rsb_blas_idx_kind col_stride,
integer(kind=rsb_blas_idx_kind i,
integer(kind=rsb_blas_idx_kind j,
integer(kind=rsb_blas_ist_kind), intent(out)  istat 
)

Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together.

Parameters
AA valid matrix handle.
valArray of values.
row_stride,col_strideRow and column strides in accessing val.
i,jBlock row/column indices.
Warning
Signature of this routine for Fortran does not agree to the standard. This shall be corrected in a future release.
See also
BLAS_cuscr_block_begin, BLAS_cuscr_block_begin, BLAS_duscr_block_begin, BLAS_zuscr_block_begin, BLAS_cuscr_begin, BLAS_suscr_begin, BLAS_duscr_begin, BLAS_zuscr_begin.
Returns
On success, 0 is returned; on error, -1.
Parameters
istatThe return code will be written to istat (this is a Fortran routine): either 0 (success) or -1 (failure).

◆ duscr_insert_block()

subroutine blas_sparse::uscr_insert_block::duscr_insert_block ( integer  A,
real(kind(1.d0)), dimension (:)  val,
integer(kind=rsb_blas_idx_kind row_stride,
integer(kind=rsb_blas_idx_kind col_stride,
integer(kind=rsb_blas_idx_kind i,
integer(kind=rsb_blas_idx_kind j,
integer(kind=rsb_blas_ist_kind), intent(out)  istat 
)

Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together.

Parameters
AA valid matrix handle.
valArray of values.
row_stride,col_strideRow and column strides in accessing val.
i,jBlock row/column indices.
Warning
Signature of this routine for Fortran does not agree to the standard. This shall be corrected in a future release.
See also
BLAS_cuscr_block_begin, BLAS_cuscr_block_begin, BLAS_duscr_block_begin, BLAS_zuscr_block_begin, BLAS_cuscr_begin, BLAS_suscr_begin, BLAS_duscr_begin, BLAS_zuscr_begin.
Returns
On success, 0 is returned; on error, -1.
Parameters
istatThe return code will be written to istat (this is a Fortran routine): either 0 (success) or -1 (failure).

◆ suscr_insert_block()

subroutine blas_sparse::uscr_insert_block::suscr_insert_block ( integer  A,
real(kind(1.e0)), dimension (:)  val,
integer(kind=rsb_blas_idx_kind row_stride,
integer(kind=rsb_blas_idx_kind col_stride,
integer(kind=rsb_blas_idx_kind i,
integer(kind=rsb_blas_idx_kind j,
integer(kind=rsb_blas_ist_kind), intent(out)  istat 
)

Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together.

Parameters
AA valid matrix handle.
valArray of values.
row_stride,col_strideRow and column strides in accessing val.
i,jBlock row/column indices.
Warning
Signature of this routine for Fortran does not agree to the standard. This shall be corrected in a future release.
See also
BLAS_cuscr_block_begin, BLAS_cuscr_block_begin, BLAS_duscr_block_begin, BLAS_zuscr_block_begin, BLAS_cuscr_begin, BLAS_suscr_begin, BLAS_duscr_begin, BLAS_zuscr_begin.
Returns
On success, 0 is returned; on error, -1.
Parameters
istatThe return code will be written to istat (this is a Fortran routine): either 0 (success) or -1 (failure).

◆ zuscr_insert_block()

subroutine blas_sparse::uscr_insert_block::zuscr_insert_block ( integer  A,
complex(kind(1.d0)), dimension (:)  val,
integer(kind=rsb_blas_idx_kind row_stride,
integer(kind=rsb_blas_idx_kind col_stride,
integer(kind=rsb_blas_idx_kind i,
integer(kind=rsb_blas_idx_kind j,
integer(kind=rsb_blas_ist_kind), intent(out)  istat 
)

Inserts a whole block in a matrix, assuming it is in build state. The block size is assumed to be the one specified when calling the (type) corresponding matrix blocked begin function. If not called a blocked begin function, will assume 1x1 (that is, no) blocking. By default, duplicate entries will be summed together.

Parameters
AA valid matrix handle.
valArray of values.
row_stride,col_strideRow and column strides in accessing val.
i,jBlock row/column indices.
Warning
Signature of this routine for Fortran does not agree to the standard. This shall be corrected in a future release.
See also
BLAS_cuscr_block_begin, BLAS_cuscr_block_begin, BLAS_duscr_block_begin, BLAS_zuscr_block_begin, BLAS_cuscr_begin, BLAS_suscr_begin, BLAS_duscr_begin, BLAS_zuscr_begin.
Returns
On success, 0 is returned; on error, -1.
Parameters
istatThe return code will be written to istat (this is a Fortran routine): either 0 (success) or -1 (failure).

The documentation for this interface was generated from the following file: