This module implements the routines that allow the user to modify the non-zero values of the matrix one at a time, a clique at a time, or a diagonal at a time.
#include <oski/matrix.h>
Go to the source code of this file.
Name mangling. | |
#define | oski_GetMatEntry MANGLE_(oski_GetMatEntry) |
#define | oski_SetMatEntry MANGLE_(oski_SetMatEntry) |
#define | oski_GetMatClique MANGLE_(oski_GetMatClique) |
#define | oski_SetMatClique MANGLE_(oski_SetMatClique) |
#define | oski_GetMatDiagValues MANGLE_(oski_GetMatDiagValues) |
#define | oski_SetMatDiagValues MANGLE_(oski_SetMatDiagValues) |
#define | oski_GetMatReprEntry_funcpt MANGLE_(oski_GetMatReprEntry_funcpt) |
#define | oski_SetMatReprEntry_funcpt MANGLE_(oski_SetMatReprEntry_funcpt) |
#define | oski_GetMatReprClique_funcpt MANGLE_(oski_GetMatReprClique_funcpt) |
#define | oski_SetMatReprClique_funcpt MANGLE_(oski_SetMatReprClique_funcpt) |
#define | oski_GetMatReprDiagValues_funcpt MANGLE_(oski_GetMatReprDiagValues_funcpt) |
#define | oski_SetMatReprDiagValues_funcpt MANGLE_(oski_SetMatReprDiagValues_funcpt) |
#define | oski_GetMatReprEntry MANGLE_MOD_(oski_GetMatReprEntry) |
#define | oski_SetMatReprEntry MANGLE_MOD_(oski_SetMatReprEntry) |
#define | oski_GetMatReprClique MANGLE_MOD_(oski_GetMatReprClique) |
#define | oski_SetMatReprClique MANGLE_MOD_(oski_SetMatReprClique) |
#define | oski_GetMatReprDiagValues MANGLE_MOD_(oski_GetMatReprDiagValues) |
#define | oski_SetMatReprDiagValues MANGLE_MOD_(oski_SetMatReprDiagValues) |
Defines | |
#define | INC_OSKI_GETSET_H |
bebop/getset.h included. | |
Typedefs | |
typedef int(* | oski_GetMatReprEntry_funcpt )(const void *mat, const oski_matcommon_t *props, oski_index_t row, oski_index_t col, oski_value_t *p_value) |
Matrix type-specific implementation of oski_GetMatEntry(). | |
typedef int(* | oski_SetMatReprEntry_funcpt )(void *mat, const oski_matcommon_t *props, oski_index_t row, oski_index_t col, oski_value_t new_val) |
Matrix type-specific implementation of oski_SetMatEntry(). | |
typedef int(* | oski_GetMatReprClique_funcpt )(const void *mat, const oski_matcommon_t *props, const oski_index_t *rows, oski_index_t num_rows, const oski_index_t *cols, oski_index_t num_cols, oski_vecview_t vals) |
Matrix type-specific implementation of oski_GetMatClique(). | |
typedef int(* | oski_SetMatReprClique_funcpt )(void *mat, const oski_matcommon_t *props, const oski_index_t *rows, oski_index_t num_rows, const oski_index_t *cols, oski_index_t num_cols, const oski_vecview_t vals) |
Matrix type-specific implementation of oski_SetMatClique(). | |
typedef int(* | oski_GetMatReprDiagValues_funcpt )(const void *mat, const oski_matcommon_t *props, oski_index_t diag_num, oski_vecview_t vals) |
Matrix type-specific implementation of oski_GetMatDiagValues(). | |
typedef int(* | oski_SetMatReprDiagValues_funcpt )(void *mat, const oski_matcommon_t *props, oski_index_t diag_num, const oski_vecview_t vals) |
Matrix type-specific implementation of oski_SetMatDiagValues(). | |
Functions | |
oski_value_t | oski_GetMatEntry (const oski_matrix_t A_tunable, oski_index_t row, oski_index_t col) |
Returns the value of a matrix element. | |
int | oski_SetMatEntry (oski_matrix_t A_tunable, oski_index_t row, oski_index_t col, oski_value_t new_val) |
Changes the value of the specified matrix element. | |
int | oski_GetMatClique (const oski_matrix_t A_tunable, const oski_index_t *rows, oski_index_t num_rows, const oski_index_t *cols, oski_index_t num_cols, oski_vecview_t vals) |
Returns a block of values, defined by a clique, from a matrix. | |
int | oski_SetMatClique (oski_matrix_t A_tunable, const oski_index_t *rows, oski_index_t num_rows, const oski_index_t *cols, oski_index_t num_cols, const oski_vecview_t vals) |
Changes a block of values, defined by a clique, in a matrix. | |
int | oski_GetMatDiagValues (const oski_matrix_t A_tunable, oski_index_t diag_num, oski_vecview_t vals) |
Extract the diagonal from , that is, all entries such that . | |
int | oski_SetMatDiagValues (oski_matrix_t A_tunable, oski_index_t diag_num, const oski_vecview_t vals) |
Sets the values along diagonal from , that is, all entries such that . |