You are here:
Symbol Reference >
clMtxExpr Namespace
>
Classes
>
clVector Record
>
public
>
Abs Method
>
clVector.Abs Method ()
MtxVec VCL
clVector.Abs Method ()
clVector Record
|
clVector Members
|
clMtxExpr Namespace
|
Abs Method
|
Example
|
See Also
Collapse All
Absolute values.
Pascal
function
Abs
:
TOpenCLMtxVec
;
overload
;
Description
Calculate the absolute value of all calling object elemets in-place.
See Also
Mag
Example
var
A,B:
clVector
;
begin
A.CopyFromArray(TSingleArray.Create(1,-2,3,4)); B.Abs(A);
// B = [1,2,3,4]
end
;
Examples on GitHub
Group
Abs Method
Links
clVector Record
,
clVector Members
,
clMtxExpr Namespace
,
Abs Method
,
Example
,
See Also
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic?
Send feedback!