BeBOP: pOSKI  v1.0.0
parallel Optimized Sparse Kernel Interface library
 All Files Functions Variables
Functions
poski_Matrix_getset.c File Reference

Get/Set values routines in Matrix Handler's modules. More...

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <poski/poski_threadcommon.h>
#include <poski/poski_matrixcommon.h>
#include <poski/poski_partition.h>
#include <poski/poski_partitioncommon.h>
#include <poski/poski_malloc.h>
#include <poski/poski_print.h>

Functions

static int poski_Check_partitionNum (poski_mat_t A_tunable, poski_int_t row, poski_int_t col)
 [library's internal use] Check the partition of the specified matrix element.
static int SetMatEntry (const oski_matspecific_t *mat, const oski_matcommon_t *props, poski_int_t row, poski_int_t col, poski_value_t new_val)
 [library's internal use] Change the value of the specified matrix element.
static int GetMatEntry (const oski_matspecific_t *mat, const oski_matcommon_t *props, poski_int_t row, poski_int_t col, poski_value_t *p_aij)
 [library's internal use] Returns the value of the specified matrix element in A(row,col).
static int poski_SetMatSubset_ArrayAll (poski_mat_t A_tunable, const int numRows, const int numCols, const poski_value_t *__restrict vals, const int rowStride, const int colStride, const poski_int_t *__restrict rows, const poski_int_t *__restrict cols)
 [library's internal use] Set a subset of non-zero values as a clique or indexed list.
static int poski_GetMatSubset_ArrayAll (poski_mat_t A_tunable, const int numRows, const int numCols, poski_value_t *vals, const int rowStride, const int colStride, const poski_int_t *__restrict rows, const poski_int_t *__restrict cols)
 [library's internal use] Get a subset of values as a clique or indexed list.

Detailed Description

Get/Set values routines in Matrix Handler's modules.

This module implements the routines to get/set values in matrix handler's modules.

Attention:
These routines are usually for the library's internal use and should not normally be called directly by users.
Called by poski_MatrixHandler.c

Also, refer