1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
#ifndef ULMBLAS_CXXBLAS_LEVEL1_RSCAL_TCC
#define ULMBLAS_CXXBLAS_LEVEL1_RSCAL_TCC 1

#include <ulmblas/cxxblas/level1/rscal.h>
#include <ulmblas/impl/level1extensions/rscal.h>
#include <ulmblas/impl/level1extensions/gerscal.h>

namespace cxxblas {

template <typename IndexType, typename Alpha, typename VX>
void
rscal(IndexType      n,
      const Alpha    &alpha,
      VX             *x,
      IndexType      incX)
{
    ulmBLAS::rscal(n, alpha, x, incX);
}

template <typename IndexType, typename Alpha, typename MA>
void
gerscal(IndexType    m,
        IndexType    n,
        const Alpha  &alpha,
        MA           *A,
        IndexType    incRowA,
        IndexType    incColA)
{
    ulmBLAS::gerscal(m, n, alpha, A, incRowA, incColA);
}

// namespace cxxblas

#endif // ULMBLAS_CXXBLAS_LEVEL1_RSCAL_TCC