function Abs(const X: TOpenCLValue): TOpenCLValue;
Absolute values of X.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculate the absolute value of X.
Examples
var a,b: clValue;
begin
b.Copy(-0.5);
a.Abs(b);
end;
See Also: clValue.Mag