#include <assert.h>
#include <stdio.h>
#include <oski/config.h>
#include <oski/common.h>
#include <oski/matrix.h>
#include <oski/getset.h>
#include <oski/CSR/format.h>
#include <oski/MBCSR/module.h>
Defines | |
#define | STORE_NORMAL 0 |
#define | STORE_CONJ 1 |
#define | STORE_SYMM 2 |
#define | STORE_HERM 3 |
Functions | |
static const oski_value_t * | GetBlockDiagEntryRaw (const oski_submatMBCSR_t *A, oski_index_t i, oski_index_t j) |
Returns a pointer to an entry in the diagonal block. | |
static const oski_value_t * | GetSubmatEntryRaw (const oski_submatMBCSR_t *A, oski_index_t i, oski_index_t j) |
Returns a pointer to an entry in an MBCSR submatrix, or NULL if no explicitly stored entry exists. | |
static int | GetBCSREntryRaw (const oski_matBCSR_t *A, oski_index_t i, oski_index_t j, oski_value_t *p_value) |
Returns an element from a given BCSR submatrix. | |
static int | SetBCSREntryRaw (oski_matBCSR_t *A, oski_index_t i, oski_index_t j, oski_value_t new_value) |
Sets an element from a given BCSR submatrix. | |
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_matMBCSR_t *A, oski_index_t i0, oski_index_t j0, oski_value_t new_val, int store_mode) |
int | oski_SetMatReprEntry (void *mat, const oski_matcommon_t *props, oski_index_t row, oski_index_t col, oski_value_t new_val) |
|
Returns an element from a given BCSR submatrix.
|
|
Returns a pointer to an entry in the diagonal block.
|
|
Returns a pointer to an entry in an MBCSR submatrix, or NULL if no explicitly stored entry exists.
|
|
|
|
Sets an element from a given BCSR submatrix.
|