var a: TOpenCLVector;
beginCreateIt(a);
try
a.CopyFromArray(TSingleArray.Create(1,2,3,4)); // a = [1,2,3,4]
a.LogN(10.0); // log base 10, the slow way a = [Log10(1), Log10(2),...]finallyFreeIt(a);
end;
end;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.