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