Skip to content

Commit

Permalink
test change
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsokol committed Jun 24, 2024
1 parent 00b8f8b commit 0afaa8b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions examples/sparse_finch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,15 @@
"X = sparse.random((100, 5), density=0.08)\n",
"X = sparse.asarray(X, format=\"csc\")\n",
"\n",
"X_X = sparse.permute_dims(X, (1, 0)) @ X\n",
"\n",
"X_X = sparse.permute_dims(X, (1, 0)) @ X"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"X_X = sparse.asarray(X_X, format=\"csc\") # move back from dense to CSC format\n",
"\n",
"inverted = splin.inv(X_X) # dispatching to scipy.sparse.sparray\n",
Expand Down

0 comments on commit 0afaa8b

Please sign in to comment.