MtxExpr.CrossCorr Method

function CrossCorr(const Vec1: TVec; const Vec2: TVec; HiLag: Integer; LoLag: Integer): Vector;

Returns cross correlation between Vec1 and Vec2.

#NameTypeDescription
1Vec1TVec
2Vec2TVec
3HiLagInteger
4LoLagInteger

Returns: Vector

Remarks:

Internally calls Vector.CrossCorr

Examples
var a,b,c: Vector;
begin
    a := [1,-2,3,4];
    b := [2,-2,3,4];
    c.CrossCorr(a,b,2,2);
end;