Examples
Basic Examples (5)
Create a Python object for the SciPy's compressed sparse row matrix:
Define a sparse matrix in Python:
Convert the Python object to SparseArray:
Display in the dense form:
Clean up by closing the Python session:
Applications (6)
The resource function ProbNumObject uses the SciPyObject configuration for sparse matrices:
Use Python's random number generator:
Create a random sparse symmetric positive definite matrix with ProbNumObject:
Convert the Python-side matrix to SparseArray:
Display in the dense form:
Clean up by closing the Python session:
Version History
-
1.1.0
– 14 February 2024
-
1.0.0
– 15 March 2022
Related Resources
Author Notes
In its current form, this function is mainly a placeholder, but it is already used in ProbNumObject.