sparsax.set_umf_cache_size¶
- sparsax.set_umf_cache_size(n)[source]¶
Set how many UMFPACK numeric factors are retained per sparsity pattern.
The UMFPACK counterpart of
set_lu_cache_size(), with the same rule: the cache is content-addressed on the COO values, so a vmapped factor-once-solve-many sweep must be able to hold one factor per batch element or it silently refactors on every call. Default 32.