trisolve.c File Reference


Detailed Description

Sparse triangular solve implementation.

This module implements the matrix type-independent version which performs error-checking of the input arguments first, and then calls the appropriate kernel implementation.

#include <oski/common.h>
#include <oski/matrix.h>

Functions

int oski_CheckArgsMatTrisolve (const oski_matrix_t T_tunable, oski_matop_t opT, oski_value_t alpha, oski_vecview_t x_view, const char *caller)
 Check argument list for a call to oski_MatTrisolve().
int oski_MatTrisolve (const oski_matrix_t T, oski_matop_t opT, oski_value_t alpha, oski_vecview_t x)
 Computes $x \leftarrow \alpha\cdot\mathrm{op}(T^{-1})x$, where $T$ is a triangular matrix.
void oski_MakeArglistMatTrisolve (oski_matop_t op, oski_value_t alpha, const oski_vecview_t x_view, oski_traceargs_MatTrisolve_t *args)
 Initialize a static argument signature for oski_MatTrisolve().


Function Documentation

int oski_CheckArgsMatTrisolve const oski_matrix_t  T_tunable,
oski_matop_t  opT,
oski_value_t  alpha,
oski_vecview_t  x_view,
const char *  caller
 

Check argument list for a call to oski_MatTrisolve().

Returns:
0 if all arguments are OK, or an error code (plus a call to the error handler) otherwise.


Generated on Wed Sep 19 16:41:23 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6