1
      2
      3
      4
      5
<doc  6
      7
      8
      9
     10
     11
     12

     13
<doc 14
     15
     16
     17
     18
     19
     20
     21
     22
     23

     24
     25
     26
     27
     28
     29
#ifndef ULMBLAS_CXXBLAS_LEVEL1_SWAP_H
#define ULMBLAS_CXXBLAS_LEVEL1_SWAP_H 1

namespace cxxblas {

template <typename IndexType, typename VX, typename VY>
    void
    swap(IndexType      n,
         VX             *x,
         IndexType      incX,
         VY             *y,
         IndexType      incY);

template <typename IndexType, typename MX, typename MY>
    void
    geswap(IndexType      m,
           IndexType      n,
           const MX       *X,
           IndexType      incRowX,
           IndexType      incColX,
           MY             *Y,
           IndexType      incRowY,
           IndexType      incColY);

// namespace cxxblas

#include <ulmblas/cxxblas/level1/swap.tcc>

#endif // ULMBLAS_CXXBLAS_LEVEL1_SWAP_H