ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Interchange the elements of vectors x
and y
.
More...
Public Member Functions | |
pure subroutine | zswap (n, x, incx, y, incy) |
pure subroutine | cswap (n, x, incx, y, incy) |
pure subroutine | dswap (n, x, incx, y, incy) |
pure subroutine | sswap (n, x, incx, y, incy) |
Interchange the elements of vectors x
and y
.
This generic interface offers a compile-time resolution to the BLAS sswap
, dswap
, cswap
, zswap
, swapping routines.
See the documentation of reference BLAS library for the definition of the input arguments.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 60 of file pm_blas.F90.
pure subroutine pm_blas::blasSWAP::cswap | ( | integer(IK), intent(in) | n, |
complex(TKG), dimension(*), intent(inout) | x, | ||
integer(IK), intent(in) | incx, | ||
complex(TKG), dimension(*), intent(inout) | y, | ||
integer(IK), intent(in) | incy | ||
) |
Definition at line 66 of file pm_blas.F90.
References pm_kind::IK, and pm_kind::RKS.
pure subroutine pm_blas::blasSWAP::dswap | ( | integer(IK), intent(in) | n, |
real(TKG), dimension(*), intent(inout) | x, | ||
integer(IK), intent(in) | incx, | ||
real(TKG), dimension(*), intent(inout) | y, | ||
integer(IK), intent(in) | incy | ||
) |
Definition at line 71 of file pm_blas.F90.
References pm_kind::IK, and pm_kind::RKD.
pure subroutine pm_blas::blasSWAP::sswap | ( | integer(IK), intent(in) | n, |
real(TKG), dimension(*), intent(inout) | x, | ||
integer(IK), intent(in) | incx, | ||
real(TKG), dimension(*), intent(inout) | y, | ||
integer(IK), intent(in) | incy | ||
) |
Definition at line 76 of file pm_blas.F90.
References pm_kind::IK, and pm_kind::RKS.
pure subroutine pm_blas::blasSWAP::zswap | ( | integer(IK), intent(in) | n, |
complex(TKG), dimension(*), intent(inout) | x, | ||
integer(IK), intent(in) | incx, | ||
complex(TKG), dimension(*), intent(inout) | y, | ||
integer(IK), intent(in) | incy | ||
) |
Definition at line 61 of file pm_blas.F90.
References pm_kind::IK, and pm_kind::RKD.