oski_matVBR_t Struct Reference
#include <format.h>
Detailed Description
Variable block row (VBR) format.
Variable block row (VBR) format generalizes block compressed sparse row (BCSR) by allowing block rows and columns to have variable sizes.
An
matrix
stored in VBR format is partitioned into
block rows and
block columns and then stored into six arrays:
- brow[0:
] stores the starting positions in
of each block row. More specifically, the
block row starts at row brow[
] of
, ends at brow[
]-1, and brow[
] =
. - bcol[0:
] stores the block column positions. - val[0:
] stores the non-zero values, block-by-block, with blocks laid out by row. - val_ptr[0:
] stores starting offsets of each block within val. The
block starts at position val_ptr[
] in the array val. The last element val_ptr[0:
] =
. - ind[0:
] stores the block column indices. The
block begins at column bcol[ind[
M
I^{{th}}
I
|
Data Fields |
oski_index_t | mb |
| No.
|
oski_index_t | nb |
| No.
|
oski_index_t * | brow |
| Block row starting indices.
|
oski_index_t * | bcol |
| Block column starting indices.
|
oski_value_t * | val |
| Non-zero values.
|
oski_index_t * | valptr |
| Block value pointers.
|
oski_index_t * | ind |
| Block column indices.
|
oski_index_t * | ptr |
| Block row pointers.
|
Field Documentation
|
No.
of block rows, . |
|
No.
of block columns, . |
The documentation for this struct was generated from the following file:
Generated on Wed Sep 19 16:41:23 2007 for BeBOP Optimized Sparse Kernel Interface Library by
1.4.6