Function matrix_access

Function Documentation

static inline void *matrix_access(const struct matrix *const matrix, size_t u, size_t v)

Access an element within a static matrix.

Parameters:
  • matrix – The matrix handle.

  • u – The row within the matrix.

  • v – The column within the matrix.

Returns:

Reference to element, or NULL if an error occurred.