|
BeBOP Optimized Sparse Kernel Interface Library
1.0.1h
|
GCSR get/set value routines. More...
#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) |
GCSR get/set value routines.
| 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.
References oski_matGCSR_t::cind, oski_matGCSR_t::ptr, oski_matGCSR_t::val, VAL_ASSIGN, and VAL_SET_ZERO.
1.7.6.1