Dew MtxVec NET
TMtx.Kron Method
Summary
The Kronecker product between two vectors.

Class
TMtx

Declaration
Function Kron(Vec1, Vec2: TVec): TMtx;

Description
Calculates the Kronecker product between Vec1 and Vec2 and stores the result in the calling matrix. The Rows, Cols and Complex properties of calling matrix are set automatically.
 See Also 
Kron 

Example 1

var A: TMtx; V1,V2: TVec; begin CreateIt(A); CreateIt(V1,V2); try 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] finally FreeIt(A); FreeIt(V1,V2); end; end;

Copyright 2008 Dew Research
http://www.dewresearch.com