Skip to content
This repository was archived by the owner on Feb 18, 2020. It is now read-only.

Commit 9bed151

Browse files
Documentation update for CArray::inner
1 parent 39933a0 commit 9bed151

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

docs/routines/ma_products.md

+20-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ echo CArray::vdot($a, $b);
3838

3939
## matmul
4040
```php
41-
public static matmul($x1, $x2) : CArray
41+
public static matmul($a, $b) : CArray
4242
```
4343
> Matrix product of two arrays.
4444
@@ -64,4 +64,22 @@ echo CArray::matmul($a, $b);
6464
```
6565
[[ 12 9 ]
6666
[ 32 17 ]]
67-
```
67+
```
68+
69+
---
70+
71+
## inner
72+
```php
73+
public static inner($a, $b) : CArray
74+
```
75+
> Inner product of two arrays.
76+
77+
##### Parameters
78+
79+
`CArray|Array` **$a** Input array.
80+
81+
`CArray|Array` **$b** Input array.
82+
83+
##### Returns
84+
85+
`CArray` Inner product of the input arrays.

0 commit comments

Comments
 (0)