Struct matrix_params

Struct Documentation

struct matrix_params

Static matrix initialization parameters.

Public Members

void (*printe)(const void *e)

For printing an element. Can be NULL. If NULL, matrix_print() is disabled.

dptr_t *elements

Pointer to application-allocated space for storing the data managed by the matrix. Ignored unless RCSW_NOALLOC_DATA is passed.

size_t elt_size

Size of elements in bytes.

uint32_t flags

Configuration flags. See matrix::flags for valid flags.

size_t n_rows

Number of rows in matrix.

size_t n_cols

Number of columns in matrix.