ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_blas::blasSWAP Interface Reference

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)
 

Detailed Description

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.

See also
pm_matrixMulAdd


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.

  1. If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
  2. If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.

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.

Author:
Amir Shahmoradi, Friday 1:54 AM, April 21, 2017, Institute for Computational Engineering and Sciences (ICES), The University of Texas, Austin, TX

Definition at line 60 of file pm_blas.F90.

Member Function/Subroutine Documentation

◆ cswap()

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.

◆ dswap()

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.

◆ sswap()

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.

◆ zswap()

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.


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