trisolve.h File Reference


Detailed Description

Sparse triangular solve implementation.

#include <oski/matmult.h>

Go to the source code of this file.

Data Structures

struct  oski_traceargs_MatTrisolve_t

Name mangling.

#define oski_MatReprTrisolve_funcpt   MANGLE_(oski_MatReprTrisolve_funcpt)
#define oski_MatTrisolve   MANGLE_(oski_MatTrisolve)
#define oski_CheckArgsMatTrisolve   MANGLE_(oski_CheckArgsMatTrisolve)
#define oski_traceargs_MatTrisolve_t   MANGLE_(oski_traceargs_MatTrisovle_t)
#define oski_MakeArglistMatTrisolve   MANGLE_(oski_MakeArglistMatTrisolve)

Tracing.

#define GET_XFLOP_MatTrisolve(args)   (2.0*((const oski_traceargs_MatTrisolve_t *)(args))->num_vecs)
 Compute the "flop factor.".
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().

Defines

#define INC_OSKI_TRISOLVE_H
 oski/trisolve.h included.

Typedefs

typedef int(* oski_MatReprTrisolve_funcpt )(const void *T, const oski_matcommon_t *props, oski_matop_t opT, oski_value_t alpha, oski_vecview_t x_view)
 Function pointer type for a matrix type-specific implementation of oski_MatTrisolve().

Functions

int oski_MatTrisolve (const oski_matrix_t T_tunable, oski_matop_t opT, oski_value_t alpha, oski_vecview_t x_view)
 Computes $x \leftarrow \alpha\cdot\mathrm{op}(T^{-1})x$, where $T$ is a triangular matrix.
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().


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