Skip to content

Commit 0546ea6

Browse files
authored
DOC: update README.md with the recommended NumPy replacement
1 parent 35f82e1 commit 0546ea6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ to replicate manually, at least for 1D arguments:
101101
|:--------------------------|:-----------------------------|
102102
| `update_rank1(a, b, c)` | `np.outer(a, b) + c` |
103103
| `innerwt(a, b, c)` | `np.linalg.vecdot(a * b, c)` |
104-
| `quadratic_form(a, b, c`) | `a.T @ b @ c` |
104+
| `quadratic_form(a, b, c`) | `a.mT @ b @ c` |
105+
| `update_rankk(a, c)` | c + a @ a.mT` |
105106

106107
Not all of `gulinalg` is available from NumPy or is easy to replicate in pure Python. In these cases,
107108
equivalent functionality is available from SciPy starting from version 1.17, with slight API

0 commit comments

Comments
 (0)