Outer
Berechnet das äußere Produkt von zwei Matrizen oder zwei Vektoren.
matrix matrix::Outer(
|
Parameter
b
[in] Matrix.
Rückgabewert
Matrix.
Hinweis
Das äußere Produkt ist wie das Kronecker-Produkt ebenfalls eine Blockmatrix- (und Vektor-) Multiplikation.
Ein einfacher Algorithmus für das äußere Produkt von zwei Matrizen in MQL5:
matrix MatrixOuter(const matrix& matrix_a, const matrix& matrix_b)
|
MQL5 Beispiel:
vector vector_a={0,1,2,3,4,5};
|
Python Beispiel:
import numpy as np
|