Function csmatrix_entry_add
Defined in File csmatrix.h
Function Documentation
-
status_t csmatrix_entry_add(struct csmatrix *matrix, bool_t sequential_insertions, size_t row, size_t col, const void *e)
Add an entry to the matrix.
The (row, col) cannot be outside of the current dimensions of the matrix.
- Parameters:
matrix – The matrix handle.
sequential_insertions – If true, the application promises to insert an entire row sequentially. This greatly speeds up the process of insertion.
row – The row for the new entry.
col – The column for the new entry.
e – The new entry.
- Returns: