functioninnerProduct
Inner product of two same length vectors
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | x1 | {1, 2, 3, 4} | Vector 1 |
| Real[size(x1, 1)] | x2 | {1, 2, 3, 4} | Vector 2 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | 0. | Result |
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | x1 | {1, 2, 3, 4} | Vector 1 |
| Real[size(x1, 1)] | x2 | {1, 2, 3, 4} | Vector 2 |
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | 0. | Result |