spset
Set non-zeros entries of sparse matrix
Syntax
spset(sp, values)
Arguments
- sp
real, complex sparse matrix
- values
new values of non-zeros entries.
Description
spset is used to update all non-zeros entries of sparse matrix. The size of the values array must be equal to
nnz(sp).
![]() | This function modifies the first input variable ( |
History
| Versão | Descrição |
| 2026.0.0 | spset introduction. |
| Report an issue | ||
| << spget | Sparse Matrix Conversion | Sparse Jacobian computation >> |
