Back to Sparse Matrices
spalloc
Pre-allocate an empty sparse matrix.
Syntax
spalloc(m: Int64, n: Int64, nz: Int64) → r
Backends
TypeScriptnumwa
Description
Pre-allocate an empty sparse matrix.
Returns
Examples
Try It
>> spalloc(100, 100, 500)