mfi_scal Interface

public interface mfi_scal

Generic modern interface for SCAL. Supports s, d, c, z, cs, zd. See also: sscal, dscal, cscal, zscal, csscal, zdscal.


Module Procedures

public pure subroutine mfi_sscal(a, x, incx)

Modern interface for sscal. See also: mfi_scal, f77_scal. MFI_SSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL32), intent(in) :: a
real(kind=REAL32), intent(inout) :: x(:)
integer, intent(in), optional :: incx

public pure subroutine mfi_dscal(a, x, incx)

Modern interface for dscal. See also: mfi_scal, f77_scal. MFI_DSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL64), intent(in) :: a
real(kind=REAL64), intent(inout) :: x(:)
integer, intent(in), optional :: incx

public pure subroutine mfi_cscal(a, x, incx)

Modern interface for cscal. See also: mfi_scal, f77_scal. MFI_CSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
complex(kind=REAL32), intent(in) :: a
complex(kind=REAL32), intent(inout) :: x(:)
integer, intent(in), optional :: incx

public pure subroutine mfi_zscal(a, x, incx)

Modern interface for zscal. See also: mfi_scal, f77_scal. MFI_ZSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
complex(kind=REAL64), intent(in) :: a
complex(kind=REAL64), intent(inout) :: x(:)
integer, intent(in), optional :: incx

public pure subroutine mfi_csscal(a, x, incx)

Modern interface for csscal. See also: mfi_scal, f77_scal. MFI_CSSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL32), intent(in) :: a
complex(kind=REAL32), intent(inout) :: x(:)
integer, intent(in), optional :: incx

public pure subroutine mfi_zdscal(a, x, incx)

Modern interface for zdscal. See also: mfi_scal, f77_scal. MFI_ZDSCAL scales a vector by a constant.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL64), intent(in) :: a
complex(kind=REAL64), intent(inout) :: x(:)
integer, intent(in), optional :: incx