Function csmatrix_entry_set

Function Documentation

status_t csmatrix_entry_set(struct csmatrix *matrix, size_t row, size_t col, const void *e)

Set a currently existing entry in the matrix to a new value.

The (row, col) cannot be outside of the current dimensions of the matrix.

Parameters:
  • matrix – The matrix handle.

  • row – The row for the entry to set.

  • col – The column for the entry to set.

  • e – The new entry.

Returns:

status_t.