|
|
|
@ -257,7 +257,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_csput_a(nz,ia,ja,val,a,imin,imax,jmin,jmax,info,gtl)
|
|
|
|
module subroutine psb_d_base_csput_a(nz,ia,ja,val,a,imin,imax,jmin,jmax,info,gtl)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: val(:)
|
|
|
|
real(psb_dpk_), intent(in) :: val(:)
|
|
|
|
@ -268,7 +268,7 @@ module psb_d_base_mat_mod
|
|
|
|
end interface
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_csput_v(nz,ia,ja,val,a,imin,imax,jmin,jmax,info,gtl)
|
|
|
|
module subroutine psb_d_base_csput_v(nz,ia,ja,val,a,imin,imax,jmin,jmax,info,gtl)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_, psb_d_base_vect_type,&
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_, psb_d_base_vect_type,&
|
|
|
|
& psb_i_base_vect_type
|
|
|
|
& psb_i_base_vect_type
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
@ -313,7 +313,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_csgetrow(imin,imax,a,nz,ia,ja,val,info,&
|
|
|
|
module subroutine psb_d_base_csgetrow(imin,imax,a,nz,ia,ja,val,info,&
|
|
|
|
& jmin,jmax,iren,append,nzin,rscale,cscale)
|
|
|
|
& jmin,jmax,iren,append,nzin,rscale,cscale)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
@ -352,7 +352,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_csgetblk(imin,imax,a,b,info,&
|
|
|
|
module subroutine psb_d_base_csgetblk(imin,imax,a,b,info,&
|
|
|
|
& jmin,jmax,iren,append,rscale,cscale)
|
|
|
|
& jmin,jmax,iren,append,rscale,cscale)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
@ -390,7 +390,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_csclip(a,b,info,&
|
|
|
|
module subroutine psb_d_base_csclip(a,b,info,&
|
|
|
|
& imin,imax,jmin,jmax,rscale,cscale)
|
|
|
|
& imin,imax,jmin,jmax,rscale,cscale)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
@ -430,7 +430,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_tril(a,b,info,diag,imin,imax,&
|
|
|
|
module subroutine psb_d_base_tril(a,b,info,diag,imin,imax,&
|
|
|
|
& jmin,jmax,rscale,cscale)
|
|
|
|
& jmin,jmax,rscale,cscale)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
@ -471,7 +471,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_triu(a,b,info,diag,imin,imax,&
|
|
|
|
module subroutine psb_d_base_triu(a,b,info,diag,imin,imax,&
|
|
|
|
& jmin,jmax,rscale,cscale)
|
|
|
|
& jmin,jmax,rscale,cscale)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
@ -494,7 +494,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code.
|
|
|
|
!! \param info return code.
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_get_diag(a,d,info)
|
|
|
|
module subroutine psb_d_base_get_diag(a,d,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -513,7 +513,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_mold(a,b,info)
|
|
|
|
module subroutine psb_d_base_mold(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_long_int_k_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_long_int_k_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout), allocatable :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout), allocatable :: b
|
|
|
|
@ -535,7 +535,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_clone(a,b, info)
|
|
|
|
module subroutine psb_d_base_clone(a,b, info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_long_int_k_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_long_int_k_
|
|
|
|
implicit none
|
|
|
|
implicit none
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
@ -554,7 +554,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! This is needed e.g. when scaling
|
|
|
|
!! This is needed e.g. when scaling
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_make_nonunit(a)
|
|
|
|
module subroutine psb_d_base_make_nonunit(a)
|
|
|
|
import :: psb_d_base_sparse_mat
|
|
|
|
import :: psb_d_base_sparse_mat
|
|
|
|
implicit none
|
|
|
|
implicit none
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
@ -571,7 +571,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_cp_to_coo(a,b,info)
|
|
|
|
module subroutine psb_d_base_cp_to_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
@ -588,7 +588,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_cp_from_coo(a,b,info)
|
|
|
|
module subroutine psb_d_base_cp_from_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: b
|
|
|
|
@ -606,7 +606,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_cp_to_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_base_cp_to_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
@ -624,7 +624,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_cp_from_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_base_cp_from_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: b
|
|
|
|
@ -641,7 +641,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_mv_to_coo(a,b,info)
|
|
|
|
module subroutine psb_d_base_mv_to_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
@ -658,7 +658,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_mv_from_coo(a,b,info)
|
|
|
|
module subroutine psb_d_base_mv_from_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
@ -676,7 +676,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_mv_to_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_base_mv_to_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
@ -694,7 +694,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_mv_from_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_base_mv_from_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
@ -711,7 +711,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param b The output variable
|
|
|
|
!! \param b The output variable
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_transp_2mat(a,b)
|
|
|
|
module subroutine psb_d_base_transp_2mat(a,b)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_base_sparse_mat), intent(out) :: b
|
|
|
|
class(psb_base_sparse_mat), intent(out) :: b
|
|
|
|
@ -727,7 +727,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param b The output variable
|
|
|
|
!! \param b The output variable
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_transc_2mat(a,b)
|
|
|
|
module subroutine psb_d_base_transc_2mat(a,b)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_base_sparse_mat), intent(out) :: b
|
|
|
|
class(psb_base_sparse_mat), intent(out) :: b
|
|
|
|
@ -742,7 +742,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! In-place version.
|
|
|
|
!! In-place version.
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_transp_1mat(a)
|
|
|
|
module subroutine psb_d_base_transp_1mat(a)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
end subroutine psb_d_base_transp_1mat
|
|
|
|
end subroutine psb_d_base_transp_1mat
|
|
|
|
@ -756,7 +756,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! In-place version.
|
|
|
|
!! In-place version.
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_transc_1mat(a)
|
|
|
|
module subroutine psb_d_base_transc_1mat(a)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
end subroutine psb_d_base_transc_1mat
|
|
|
|
end subroutine psb_d_base_transc_1mat
|
|
|
|
@ -781,7 +781,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_csmm(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_base_csmm(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
@ -809,7 +809,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_csmv(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_base_csmv(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
@ -844,7 +844,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_vect_mv(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_base_vect_mv(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_, psb_d_base_vect_type
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_, psb_d_base_vect_type
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta
|
|
|
|
@ -876,7 +876,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_inner_cssm(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_base_inner_cssm(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
@ -911,7 +911,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_inner_cssv(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_base_inner_cssv(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
@ -946,7 +946,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! or its conjugate transpose (C)
|
|
|
|
!! or its conjugate transpose (C)
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_inner_vect_sv(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_base_inner_vect_sv(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_, psb_d_base_vect_type
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_, psb_d_base_vect_type
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta
|
|
|
|
@ -978,7 +978,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_cssm(alpha,a,x,beta,y,info,trans,scale,d)
|
|
|
|
module subroutine psb_d_base_cssm(alpha,a,x,beta,y,info,trans,scale,d)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
@ -1011,7 +1011,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_cssv(alpha,a,x,beta,y,info,trans,scale,d)
|
|
|
|
module subroutine psb_d_base_cssv(alpha,a,x,beta,y,info,trans,scale,d)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
@ -1045,7 +1045,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_vect_cssv(alpha,a,x,beta,y,info,trans,scale,d)
|
|
|
|
module subroutine psb_d_base_vect_cssv(alpha,a,x,beta,y,info,trans,scale,d)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_,psb_d_base_vect_type
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_,psb_d_base_vect_type
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta
|
|
|
|
@ -1065,7 +1065,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param info return code
|
|
|
|
!! \param info return code
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_scals(d,a,info)
|
|
|
|
module subroutine psb_d_base_scals(d,a,info)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: d
|
|
|
|
real(psb_dpk_), intent(in) :: d
|
|
|
|
@ -1083,7 +1083,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param side [L] Scale on the Left (rows) or on the Right (columns)
|
|
|
|
!! \param side [L] Scale on the Left (rows) or on the Right (columns)
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_scal(d,a,info,side)
|
|
|
|
module subroutine psb_d_base_scal(d,a,info,side)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: d(:)
|
|
|
|
real(psb_dpk_), intent(in) :: d(:)
|
|
|
|
@ -1099,7 +1099,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
function psb_d_base_maxval(a) result(res)
|
|
|
|
module function psb_d_base_maxval(a) result(res)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
@ -1114,7 +1114,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
function psb_d_base_csnmi(a) result(res)
|
|
|
|
module function psb_d_base_csnmi(a) result(res)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
@ -1129,7 +1129,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
function psb_d_base_csnm1(a) result(res)
|
|
|
|
module function psb_d_base_csnm1(a) result(res)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
@ -1145,7 +1145,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_rowsum(d,a)
|
|
|
|
module subroutine psb_d_base_rowsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1159,7 +1159,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param d(:) The output row sums
|
|
|
|
!! \param d(:) The output row sums
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_arwsum(d,a)
|
|
|
|
module subroutine psb_d_base_arwsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1175,7 +1175,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_colsum(d,a)
|
|
|
|
module subroutine psb_d_base_colsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1189,7 +1189,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \param d(:) The output col sums
|
|
|
|
!! \param d(:) The output col sums
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_base_aclsum(d,a)
|
|
|
|
module subroutine psb_d_base_aclsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_base_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1209,7 +1209,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \see psb_base_mat_mod::psb_base_reallocate_nz
|
|
|
|
!! \see psb_base_mat_mod::psb_base_reallocate_nz
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_reallocate_nz(nz,a)
|
|
|
|
module subroutine psb_d_coo_reallocate_nz(nz,a)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
integer(psb_ipk_), intent(in) :: nz
|
|
|
|
integer(psb_ipk_), intent(in) :: nz
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
@ -1222,7 +1222,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \see psb_base_mat_mod::psb_base_reinit
|
|
|
|
!! \see psb_base_mat_mod::psb_base_reinit
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_reinit(a,clear)
|
|
|
|
module subroutine psb_d_coo_reinit(a,clear)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
logical, intent(in), optional :: clear
|
|
|
|
logical, intent(in), optional :: clear
|
|
|
|
@ -1234,7 +1234,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \see psb_base_mat_mod::psb_base_trim
|
|
|
|
!! \see psb_base_mat_mod::psb_base_trim
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_trim(a)
|
|
|
|
module subroutine psb_d_coo_trim(a)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
end subroutine psb_d_coo_trim
|
|
|
|
end subroutine psb_d_coo_trim
|
|
|
|
@ -1246,7 +1246,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \see psb_base_mat_mod::psb_base_allocate_mnnz
|
|
|
|
!! \see psb_base_mat_mod::psb_base_allocate_mnnz
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_allocate_mnnz(m,n,a,nz)
|
|
|
|
module subroutine psb_d_coo_allocate_mnnz(m,n,a,nz)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
integer(psb_ipk_), intent(in) :: m,n
|
|
|
|
integer(psb_ipk_), intent(in) :: m,n
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
@ -1258,7 +1258,7 @@ module psb_d_base_mat_mod
|
|
|
|
!> \memberof psb_d_coo_sparse_mat
|
|
|
|
!> \memberof psb_d_coo_sparse_mat
|
|
|
|
!| \see psb_base_mat_mod::psb_base_mold
|
|
|
|
!| \see psb_base_mat_mod::psb_base_mold
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_mold(a,b,info)
|
|
|
|
module subroutine psb_d_coo_mold(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat, psb_long_int_k_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat, psb_long_int_k_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout), allocatable :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout), allocatable :: b
|
|
|
|
@ -1280,7 +1280,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_print(iout,a,iv,head,ivr,ivc)
|
|
|
|
module subroutine psb_d_coo_print(iout,a,iv,head,ivr,ivc)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
integer(psb_ipk_), intent(in) :: iout
|
|
|
|
integer(psb_ipk_), intent(in) :: iout
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
@ -1301,7 +1301,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
function psb_d_coo_get_nz_row(idx,a) result(res)
|
|
|
|
module function psb_d_coo_get_nz_row(idx,a) result(res)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
integer(psb_ipk_), intent(in) :: idx
|
|
|
|
integer(psb_ipk_), intent(in) :: idx
|
|
|
|
@ -1311,7 +1311,7 @@ module psb_d_base_mat_mod
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!> Funtion: fix_coo_inner
|
|
|
|
!> Function: fix_coo_inner
|
|
|
|
!! \brief Make sure the entries are sorted and duplicates are handled.
|
|
|
|
!! \brief Make sure the entries are sorted and duplicates are handled.
|
|
|
|
!! Used internally by fix_coo
|
|
|
|
!! Used internally by fix_coo
|
|
|
|
!! \param nzin Number of entries on input to be handled
|
|
|
|
!! \param nzin Number of entries on input to be handled
|
|
|
|
@ -1325,7 +1325,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_fix_coo_inner(nr,nc,nzin,dupl,ia,ja,val,nzout,info,idir)
|
|
|
|
module subroutine psb_d_fix_coo_inner(nr,nc,nzin,dupl,ia,ja,val,nzout,info,idir)
|
|
|
|
import :: psb_ipk_, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_dpk_
|
|
|
|
integer(psb_ipk_), intent(in) :: nr,nc,nzin,dupl
|
|
|
|
integer(psb_ipk_), intent(in) :: nr,nc,nzin,dupl
|
|
|
|
integer(psb_ipk_), intent(inout) :: ia(:), ja(:)
|
|
|
|
integer(psb_ipk_), intent(inout) :: ia(:), ja(:)
|
|
|
|
@ -1344,7 +1344,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_fix_coo(a,info,idir)
|
|
|
|
module subroutine psb_d_fix_coo(a,info,idir)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
integer(psb_ipk_), intent(out) :: info
|
|
|
|
@ -1356,7 +1356,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_to_coo
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_to_coo
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_cp_coo_to_coo(a,b,info)
|
|
|
|
module subroutine psb_d_cp_coo_to_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
@ -1368,7 +1368,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_from_coo
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_from_coo
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_cp_coo_from_coo(a,b,info)
|
|
|
|
module subroutine psb_d_cp_coo_from_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: b
|
|
|
|
@ -1381,7 +1381,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_from_coo
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_from_coo
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_cp_coo_to_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_cp_coo_to_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
@ -1394,7 +1394,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_from_fmt
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cp_from_fmt
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_cp_coo_from_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_cp_coo_from_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(in) :: b
|
|
|
|
@ -1406,7 +1406,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_to_coo
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_to_coo
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_mv_coo_to_coo(a,b,info)
|
|
|
|
module subroutine psb_d_mv_coo_to_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
@ -1418,7 +1418,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_from_coo
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_from_coo
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_mv_coo_from_coo(a,b,info)
|
|
|
|
module subroutine psb_d_mv_coo_from_coo(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
@ -1430,7 +1430,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_to_fmt
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_to_fmt
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_mv_coo_to_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_mv_coo_to_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
@ -1442,7 +1442,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_from_fmt
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_mv_from_fmt
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_mv_coo_from_fmt(a,b,info)
|
|
|
|
module subroutine psb_d_mv_coo_from_fmt(a,b,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_d_base_sparse_mat
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
class(psb_d_base_sparse_mat), intent(inout) :: b
|
|
|
|
@ -1451,7 +1451,7 @@ module psb_d_base_mat_mod
|
|
|
|
end interface
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_cp_from(a,b)
|
|
|
|
module subroutine psb_d_coo_cp_from(a,b)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
type(psb_d_coo_sparse_mat), intent(in) :: b
|
|
|
|
type(psb_d_coo_sparse_mat), intent(in) :: b
|
|
|
|
@ -1459,7 +1459,7 @@ module psb_d_base_mat_mod
|
|
|
|
end interface
|
|
|
|
end interface
|
|
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_mv_from(a,b)
|
|
|
|
module subroutine psb_d_coo_mv_from(a,b)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
type(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
type(psb_d_coo_sparse_mat), intent(inout) :: b
|
|
|
|
@ -1484,7 +1484,7 @@ module psb_d_base_mat_mod
|
|
|
|
!!
|
|
|
|
!!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_csput_a(nz,ia,ja,val,a,imin,imax,jmin,jmax,info,gtl)
|
|
|
|
module subroutine psb_d_coo_csput_a(nz,ia,ja,val,a,imin,imax,jmin,jmax,info,gtl)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: val(:)
|
|
|
|
real(psb_dpk_), intent(in) :: val(:)
|
|
|
|
@ -1499,7 +1499,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_base_mat_mod::psb_base_csgetptn
|
|
|
|
!! \see psb_base_mat_mod::psb_base_csgetptn
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_csgetptn(imin,imax,a,nz,ia,ja,info,&
|
|
|
|
module subroutine psb_d_coo_csgetptn(imin,imax,a,nz,ia,ja,info,&
|
|
|
|
& jmin,jmax,iren,append,nzin,rscale,cscale)
|
|
|
|
& jmin,jmax,iren,append,nzin,rscale,cscale)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
@ -1518,7 +1518,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csgetrow
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csgetrow
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_csgetrow(imin,imax,a,nz,ia,ja,val,info,&
|
|
|
|
module subroutine psb_d_coo_csgetrow(imin,imax,a,nz,ia,ja,val,info,&
|
|
|
|
& jmin,jmax,iren,append,nzin,rscale,cscale)
|
|
|
|
& jmin,jmax,iren,append,nzin,rscale,cscale)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
@ -1538,7 +1538,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cssv
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cssv
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_cssv(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_coo_cssv(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
@ -1551,7 +1551,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cssm
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_cssm
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_cssm(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_coo_cssm(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
@ -1565,7 +1565,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csmv
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csmv
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_csmv(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_coo_csmv(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:)
|
|
|
|
@ -1579,7 +1579,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csmm
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csmm
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_csmm(alpha,a,x,beta,y,info,trans)
|
|
|
|
module subroutine psb_d_coo_csmm(alpha,a,x,beta,y,info,trans)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
real(psb_dpk_), intent(in) :: alpha, beta, x(:,:)
|
|
|
|
@ -1594,7 +1594,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_maxval
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_maxval
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
function psb_d_coo_maxval(a) result(res)
|
|
|
|
module function psb_d_coo_maxval(a) result(res)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
@ -1605,7 +1605,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csnmi
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csnmi
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
function psb_d_coo_csnmi(a) result(res)
|
|
|
|
module function psb_d_coo_csnmi(a) result(res)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
@ -1616,7 +1616,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csnm1
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_csnm1
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
function psb_d_coo_csnm1(a) result(res)
|
|
|
|
module function psb_d_coo_csnm1(a) result(res)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
real(psb_dpk_) :: res
|
|
|
|
@ -1627,7 +1627,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_rowsum
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_rowsum
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_rowsum(d,a)
|
|
|
|
module subroutine psb_d_coo_rowsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1637,7 +1637,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_arwsum
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_arwsum
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_arwsum(d,a)
|
|
|
|
module subroutine psb_d_coo_arwsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1648,7 +1648,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_colsum
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_colsum
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_colsum(d,a)
|
|
|
|
module subroutine psb_d_coo_colsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1659,7 +1659,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_aclsum
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_aclsum
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_aclsum(d,a)
|
|
|
|
module subroutine psb_d_coo_aclsum(d,a)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1670,7 +1670,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_get_diag
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_get_diag
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_get_diag(a,d,info)
|
|
|
|
module subroutine psb_d_coo_get_diag(a,d,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(in) :: a
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
real(psb_dpk_), intent(out) :: d(:)
|
|
|
|
@ -1682,7 +1682,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_scal
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_scal
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_scal(d,a,info,side)
|
|
|
|
module subroutine psb_d_coo_scal(d,a,info,side)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: d(:)
|
|
|
|
real(psb_dpk_), intent(in) :: d(:)
|
|
|
|
@ -1695,7 +1695,7 @@ module psb_d_base_mat_mod
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \memberof psb_d_coo_sparse_mat
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_scals
|
|
|
|
!! \see psb_d_base_mat_mod::psb_d_base_scals
|
|
|
|
interface
|
|
|
|
interface
|
|
|
|
subroutine psb_d_coo_scals(d,a,info)
|
|
|
|
module subroutine psb_d_coo_scals(d,a,info)
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
import :: psb_ipk_, psb_d_coo_sparse_mat, psb_dpk_
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
class(psb_d_coo_sparse_mat), intent(inout) :: a
|
|
|
|
real(psb_dpk_), intent(in) :: d
|
|
|
|
real(psb_dpk_), intent(in) :: d
|
|
|
|
|