Skip to content

Commit 1f661bf

Browse files
committed
add @oyamad suggestion to mention the use of vdot
1 parent ee1f88f commit 1f661bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lectures/opt_transport.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,8 @@ total_cost = np.vdot(X, C)
685685
total_cost
686686
```
687687
688+
Here we use [np.vdot](https://numpy.org/doc/stable/reference/generated/numpy.vdot.html) for the trace inner product of X and C
689+
688690
### A Larger Application
689691
690692
Now let's try using the same package on a slightly larger application.

0 commit comments

Comments
 (0)