TMtx Kron(TVec Vec1, TVec Vec2)
The Kronecker product between two vectors.
Result: stored in self (calling object), returns self for chaining
Remarks:
Calculates the Kronecker product between Vec1 and Vec2 and stores the result in the calling matrix. The Dew.Math.Matrix.Rows, Dew.Math.Matrix.Cols and Dew.Math.Matrix.Complex properties of calling matrix are set automatically.
Examples
Matrix A;
Vector V1;
Vector V2;
V1.SetIt(false,new double[] {1,2,3});
V2.SetIt(false,new double[] {4,5,6});
A.Kron(V1,V2);
// A becomes:
// [4 5 6]
// [8 10 12]
// [12 15 18]
See Also: Vector.Kron