|
Outer
Compute the outer product of two matrices or two vectors.
matrix matrix::Outer(
|
Parameters
b
[in] Matrix.
Return Value
Matrix.
Note
The outer product, like the Kronecker product, is also a block matrix (and vector) multiplication.
A simple algorithm for the outer product of two matrices in MQL5:
matrix MatrixOuter(const matrix& matrix_a, const matrix& matrix_b)
|
MQL5 example:
vector vector_a={0,1,2,3,4,5};
|
Python example:
import numpy as np
|