We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
"SparseArray"::[type,rank]
represents a sparse array composite type with elements of specified type and rank.
DetailsSparseArray properties may be used within CompiledCodeFunction:
This is equivalent to the "Density" property:
The function uses real arithmetic so that it works even when the total number of elements is too large for a machine-sized integer:
Neat Examples (1)Compute a power series of a sparse matrix:
This is equivalent to computing the square of a matrix:
Generate coefficients of the exponential function and use them to compute a matrix exponential:
The MatrixExp function is a better way to compute the exponential, but the power series result was close:
HistoryIntroduced in 2021 (13.0)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4