BeBOP Optimized Sparse Kernel Interface Library  1.0.1h
Functions
gemv.c File Reference

OSKI wrapper around the dense BLAS routine, xGEMV. More...

#include <oski/config.h>
#include <oski/common.h>
#include <oski/mangle.h>
#include <oski/blas.h>
#include <oski/blas_names.h>

Functions

static void xGEMV_Normal (oski_index_t m, oski_index_t n, oski_value_t alpha, const oski_value_t *restrict A, oski_index_t lda, const oski_value_t *restrict x, oski_index_t incx, oski_value_t *restrict y, oski_index_t incy)
static void xGEMV_Trans (oski_index_t m, oski_index_t n, oski_value_t alpha, const oski_value_t *restrict A, oski_index_t lda, const oski_value_t *restrict x, oski_index_t incx, oski_value_t *restrict y, oski_index_t incy)
void BLAS_xGEMV (const char *op, const oski_index_t *m, const oski_index_t *n, const oski_value_t *alpha, const oski_value_t *A, const oski_index_t *lda, const oski_value_t *x, const oski_index_t *incx, const oski_value_t *beta, oski_value_t *y, const oski_index_t *incy)
 BLAS matrix-vector multiply routine, ?gemv, which computes the dense matrix-vector multiply operation, $y \leftarrow \beta\cdot y + \alpha\cdot\mathrm{op}(A)\cdot x$.

Detailed Description

OSKI wrapper around the dense BLAS routine, xGEMV.

Generated by ./gen_gemv.sh on airassualt, Thu Jun 30 19:00:01 PDT 2005.


Function Documentation

void BLAS_xGEMV ( const char *  op,
const oski_index_t *  m,
const oski_index_t *  n,
const oski_value_t *  alpha,
const oski_value_t *  A,
const oski_index_t *  lda,
const oski_value_t *  x,
const oski_index_t *  incx,
const oski_value_t *  beta,
oski_value_t *  y,
const oski_index_t *  incy 
)

BLAS matrix-vector multiply routine, ?gemv, which computes the dense matrix-vector multiply operation, $y \leftarrow \beta\cdot y + \alpha\cdot\mathrm{op}(A)\cdot x$.

Parameters:
[in]opTranspose operation ('n', 't'),
[in]mNumber of rows in $A$.
[in]nNumber of columns in $A$.
[in]AArray storing $A$, in column major format.
[in]ldaLeading dimension of A.
[in]alphaScalar $\alpha$.
[in]xVector $x$.
[in]incxDistance between $x_i, x_{i+1}$ in x.
[in]betaScalar $\beta$.
[in,out]yVector $y$.
[in]incyDistance between $y_i, y_{i+1}$ in y.

References IS_VAL_ONE, IS_VAL_ZERO, and OSKI_ERR_BAD_MATOP.