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

     14
<doc 15
     16
     17
     18
     19
     20
     21

     22
<doc 23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34

     35
<doc 36
     37
     38
     39
     40
     41
     42
     43
     44
     45

     46
<doc 47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60

     61
     62
     63
     64
     65
     66
#ifndef ULMBLAS_CXXBLAS_LEVEL1_COPY_H
#define ULMBLAS_CXXBLAS_LEVEL1_COPY_H 1

namespace cxxblas {

template <typename IndexType, typename TX, typename TY>
    void
    copy(IndexType    n,
         bool         conjX,
         const TX     *x,
         IndexType    incX,
         TY           *y,
         IndexType    incY);

template <typename IndexType, typename TX, typename TY>
    void
    copy(IndexType    n,
         const TX     *x,
         IndexType    incX,
         TY           *y,
         IndexType    incY);

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

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

template <typename IndexType, typename MA, typename MB>
    void
    trcopy(IndexType      m,
           IndexType      n,
           bool           lowerA,
           bool           transA,
           bool           conjA,
           bool           unitDiagA,
           const MA       *A,
           IndexType      incRowA,
           IndexType      incColA,
           MB             *B,
           IndexType      incRowB,
           IndexType      incColB);

// namespace cxxblas

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

#endif // ULMBLAS_CXXBLAS_LEVEL1_COPY_H