getset.c File Reference


Detailed Description

GCSR get/set value routines.

#include <assert.h>
#include <stdio.h>
#include <oski/config.h>
#include <oski/common.h>
#include <oski/matrix.h>
#include <oski/getset.h>
#include <oski/GCSR/module.h>

Functions

int oski_GetMatReprEntry (const void *mat, const oski_matcommon_t *props, oski_index_t row, oski_index_t col, oski_value_t *p_value)
static int SetEntry (oski_matGCSR_t *A, oski_index_t i0, oski_index_t j0, oski_value_t new_val)
 Returns 1 on success, or 0 on error.
int oski_SetMatReprEntry (void *mat, const oski_matcommon_t *props, oski_index_t row, oski_index_t col, oski_value_t new_val)


Function Documentation

static int SetEntry oski_matGCSR_t A,
oski_index_t  i0,
oski_index_t  j0,
oski_value_t  new_val
[static]
 

Returns 1 on success, or 0 on error.

Input indices (i0, j0) are 0-based.


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