Skip to content

Commit

Permalink
Fix CI failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
houkensjtu committed May 10, 2023
1 parent 4c39ef1 commit 6b76dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lang/articles/math/linear_solver.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def compute_matrix_vector(v:ti.template(), mv:ti.template()):
mv[i] = 2 * v[i]
```
In this case, `compute_matrix_vector` kernel accepts an input vector `v` and calculates the corresponding matrix-vector product `mv`. It is mathematically equal to a matrice whose diagonal elements are all 2. In the case of `n=4`, the equivalent matrice `A` is:
```python
```python cont
# >>>> Matrix A:
# [2, 0, 0, 0]
# [0, 2, 0, 0]
Expand Down

0 comments on commit 6b76dae

Please sign in to comment.