pic_scal Interface

public interface pic_scal

general interface of the BLAS SCAL routines, will call SSCAL, DSCAL, CSCAL, ZSCAL

Usage: call pic_scal(x, [optional] alpha)

where x is the input vector, alpha is the scaling factor. The vector x must be an allocatable array, we deduce the shape from it. The scaling factor alpha is 1.0 by default.

Calls

interface~~pic_scal~~CallsGraph interface~pic_scal pic_scal proc~pic_cscal pic_cscal interface~pic_scal->proc~pic_cscal proc~pic_dscal pic_dscal interface~pic_scal->proc~pic_dscal proc~pic_sscal pic_sscal interface~pic_scal->proc~pic_sscal proc~pic_zscal pic_zscal interface~pic_scal->proc~pic_zscal interface~blas_scal blas_scal proc~pic_cscal->interface~blas_scal proc~pic_dscal->interface~blas_scal proc~pic_sscal->interface~blas_scal proc~pic_zscal->interface~blas_scal

Module Procedures

private subroutine pic_sscal(x, alpha)

interface for single precision scaling

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(inout) :: x(:)
real(kind=sp), intent(in), optional :: alpha

private subroutine pic_dscal(x, alpha)

interface for double precision scaling

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout) :: x(:)
real(kind=dp), intent(in), optional :: alpha

private subroutine pic_cscal(x, alpha)

interface for single precision complex scaling

Arguments

Type IntentOptional Attributes Name
complex(kind=sp), intent(inout) :: x(:)
complex(kind=sp), intent(in), optional :: alpha

private subroutine pic_zscal(x, alpha)

interface for double precision complex scaling

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(inout) :: x(:)
complex(kind=dp), intent(in), optional :: alpha