BeBOP Optimized Sparse Kernel Interface Library  1.0.1h
Data Structures
format.h File Reference

Compressed sparse row data structure. More...

#include <oski/mangle.h>
#include <oski/inmatprop.h>
#include <oski/matrix.h>

Go to the source code of this file.

Data Structures

struct  oski_matCSR_t
 Compressed sparse row (CSR) format. More...

Defines

#define INC_OSKI_CSR_FORMAT_H
 oski/CSR/format.h included.
Name mangling.
#define oski_matCSR_t   MANGLE_(oski_matCSR_t)
 CSR matrix representation.
#define oski_WrapCSR_funcpt   MANGLE_(oski_wrapCSR_funcpt)
 CSR matrix representation.
#define oski_CheckCSR_funcpt   MANGLE_(oski_checkCSR_funcpt)
 CSR matrix representation.
#define oski_StreamMatRepr_funcpt   MANGLE_(oski_StreamMatRepr_funcpt)
 CSR matrix representation.
#define oski_SortIndices_funcpt   MANGLE_(oski_SortIndices_funcpt)
 CSR matrix representation.
#define oski_ExpandCSRToFull_funcpt   MANGLE_(oski_ExpandCSRToFull_funcpt)
 CSR matrix representation.
#define oski_ConditionallyExpandCSRToFull_funcpt   MANGLE_(oski_ConditionallyExpandCSRToFull_funcpt)
 CSR matrix representation.
#define oski_ChangeIndexBase_funcpt   MANGLE_(oski_ChangeIndexBase_funcpt)
 CSR matrix representation.
#define oski_TransposeCSR_funcpt   MANGLE_(oski_TransposeCSR_funcpt)
 CSR matrix representation.
#define oski_CountZeroRowsCSR_funcpt   MANGLE_(oski_CountZeroRowsCSR_funcpt)
 CSR matrix representation.

Typedefs

Methods available to external modules
typedef double(* oski_StreamMatRepr_funcpt )(const void *mat, const oski_matcommon_t *props)
 Function pointer type corresponding to oski_StreamMatRepr().
typedef oski_matCSR_t *(* oski_ExpandCSRToFull_funcpt )(const oski_matCSR_t *S, const oski_matcommon_t *props)
 Function pointer type for oski_ExpandCSRToFull().
typedef int(* oski_ConditionallyExpandCSRToFull_funcpt )(const oski_matCSR_t *S, const oski_matcommon_t *props, oski_matCSR_t **p_mat_full)
 Function pointer type for oski_ConditionallyExpandCSRToFull().
typedef void(* oski_ChangeIndexBase_funcpt )(oski_matCSR_t *A, const oski_matcommon_t *props, const oski_index_t new_base)
 Function pointer type for oski_ChangeIndexBase().
typedef int(* oski_SortIndices_funcpt )(oski_matCSR_t *A, oski_index_t m)
 Function pointer type for oski_SortIndices().
typedef oski_matCSR_t *(* oski_TransposeCSR_funcpt )(const oski_matCSR_t *A, const oski_matcommon_t *props)
 Function pointer type for oski_TransposeCSR.
typedef oski_matCSR_t *(* oski_WrapCSR_funcpt )(oski_matcommon_t *out_props, oski_index_t *Aptr, oski_index_t *Aind, oski_value_t *Aval, oski_index_t num_rows, oski_index_t num_cols, oski_inmatpropset_t *props, oski_copymode_t mode)
 Function pointer type corresponding to oski_WrapCSR()
typedef oski_index_t(* oski_CountZeroRowsCSR_funcpt )(const oski_matCSR_t *A, const oski_matcommon_t *props)
 Function pointer type corresponding to oski_CountZeroRowsCSR()

Detailed Description

Compressed sparse row data structure.

For an overview, see Compressed Sparse Row (CSR) Format.


Typedef Documentation

typedef void(* oski_ChangeIndexBase_funcpt)(oski_matCSR_t *A, const oski_matcommon_t *props, const oski_index_t new_base)

Function pointer type for oski_ChangeIndexBase().

typedef oski_index_t(* oski_CountZeroRowsCSR_funcpt)(const oski_matCSR_t *A, const oski_matcommon_t *props)

Function pointer type corresponding to oski_CountZeroRowsCSR()

See also:
oski_CountZeroRowsCSR()
typedef oski_matCSR_t*(* oski_WrapCSR_funcpt)(oski_matcommon_t *out_props, oski_index_t *Aptr, oski_index_t *Aind, oski_value_t *Aval, oski_index_t num_rows, oski_index_t num_cols, oski_inmatpropset_t *props, oski_copymode_t mode)

Function pointer type corresponding to oski_WrapCSR()

See also:
oski_WrapCSR()