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

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

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

Functions

static void xTRSV (char uplo, char trans, char diag, oski_index_t n, const oski_value_t *restrict A, oski_index_t lda, oski_value_t *restrict x, oski_index_t incx)
 This implementation translated from the reference BLAS code available at http://netlib.org/blas/?trsv.f.
void BLAS_xTRSV (const char *uplo, const char *trans, const char *diag, const oski_index_t *n, const oski_value_t *A, const oski_index_t *lda, oski_value_t *x, const oski_index_t *incx)
 BLAS triangular solve routine, ?trsv, which computes dense triangular solve operation, $x \leftarrow \mathrm{op}(A^{-1})\cdot x$.

Detailed Description

OSKI wrapper around the dense BLAS routine, xTRSV.


Function Documentation

void BLAS_xTRSV ( const char *  shape,
const char *  op,
const char *  diag,
const oski_index_t *  n,
const oski_value_t *  A,
const oski_index_t *  lda,
oski_value_t *  x,
const oski_index_t *  incx 
)

BLAS triangular solve routine, ?trsv, which computes dense triangular solve operation, $x \leftarrow \mathrm{op}(A^{-1})\cdot x$.

Parameters:
[in]shapeLower or upper triangular ('l' or 'u').
[in]opTranspose operation ('n', 't', 'c').
[in]diagHas unit diag or not ('u', 'n').
[in]nDimension of $A$.
[in]AValues of the dense matrix $A$, in column major layout.
[in]ldaLeading dimension of A.
[in,out]xInitial right-hand side, which is overwritten by the solution on output.
[in]incxDistance between elements of x.

References xTRSV().