You are here:
Symbol Reference >
clMtxVec Namespace
>
Classes
>
TOpenCLMtxVec Class
>
public
>
ThresholdLT Method
>
TOpenCLMtxVec.ThresholdLT Method (double, double)
MtxVec VCL
Example
TOpenCLMtxVec.ThresholdLT Method (double, double)
var
a:
TOpenCLVector
;
begin
CreateIt
(a);
try
a.CopyCplxFromArray(TSingleArray.Create(2,0.1,3,4)); a.ThresholdLT(2.3,1.5);
// a = [1.5,1.5,3,4]
finally
FreeIt
(a);
end
;
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.