function Kron(const Vec1: TVec; const Vec2: TVec): TMtx;
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 Matrix.Rows, Matrix.Cols and Matrix.Complex properties of calling matrix are set automatically.
Examples
var A: Matrix;
V1,V2: Vector;
begin
V1.SetIt(False,[1,2,3]);
V2.SetIt(False,[4,5,6]);
A.Kron(V1,V2);
// A becomes:
// [4 5 6]
// [8 10 12]
// [12 15 18]
end;
See Also: Vector.Kron