You are here:
Symbol Reference >
AbstractMtxVec Namespace
>
Classes
>
TMtxVec Class
>
public
>
Find Method
>
TMtxVec.Find Method (double)
MtxVec VCL
Example
TMtxVec.Find Method (double)
var
a: TVec; ind: Integer;
begin
a := TVec.Create;
try
a.SetIt(False,[2,5,1,6]); ind := a.Find(1.0);
// returns 2 (the arrays are zero based)
finally
a.Free;
end
;
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.