Skip to content

Commit fba2e60

Browse files
committed
DOC: fix typo in documentation of vecmat
The body of the summary uses the symbol v to reference the `x1` parameter, however in the displayed math, b is used instead. This commit changes b to v in the displayed math for concistency.
1 parent 005ce76 commit fba2e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/code_generators/ufunc_docstrings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3030,7 +3030,7 @@ def add_newdoc(place, name, doc):
30303030
vector-matrix product is defined as:
30313031
30323032
.. math::
3033-
\\mathbf{b} \\cdot \\mathbf{A} = \\sum_{i=0}^{n-1} \\overline{v_i}A_{ij}
3033+
\\mathbf{v} \\cdot \\mathbf{A} = \\sum_{i=0}^{n-1} \\overline{v_i}A_{ij}
30343034
30353035
where the sum is over the last dimension of ``x1`` and the one-but-last
30363036
dimensions in ``x2`` (unless `axes` is specified) and where

0 commit comments

Comments
 (0)