Skip to content

Commit 2432e33

Browse files
committed
Fix typo in docstring of matvec and vecmat
1 parent 8c50aff commit 2432e33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/dpnp_iface_linearalgebra.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ def matvec(
956956
matrix-vector product is defined as:
957957
958958
.. math::
959-
\mathbf{A} \cdot \mathbf{b} = \sum_{i=0}^{n-1} A_{ij}v_j
959+
\mathbf{A} \cdot \mathbf{v} = \sum_{j=0}^{n-1} A_{ij} v_j
960960
961961
where the sum is over the last dimensions in `x1` and `x2` (unless `axes`
962962
is specified). (For a matrix-vector product with the vector conjugated,
@@ -1457,7 +1457,7 @@ def vecmat(
14571457
is defined as:
14581458
14591459
.. math::
1460-
\mathbf{b} \cdot \mathbf{A} = \sum_{i=0}^{n-1} \overline{v_i}A_{ij}
1460+
\mathbf{v} \cdot \mathbf{A} = \sum_{i=0}^{n-1} \overline{v_i}A_{ij}
14611461
14621462
where the sum is over the last dimension of `x1` and the one-but-last
14631463
dimensions in `x2` (unless `axes` is specified) and where

0 commit comments

Comments
 (0)