TSparseMtx.Max Method

function Max: double; overload;

Maximum of all non-zero elements.

Returns: double

Examples
var a: Matrix;
    b: double;
begin
    a := [[1,2],[3,4]];
    b := a.Max; // b = 4
end;
See Also: TSparseMtx.Min, TSparseMtx.Maxc