You are here:
Symbol Reference >
clMtxVec Namespace
>
Classes
>
TOpenCLMtxVec Class
>
public
>
Abs Method
>
TOpenCLMtxVec.Abs Method ()
MtxVec VCL
TOpenCLMtxVec.Abs Method ()
TOpenCLMtxVec Class
|
TOpenCLMtxVec Members
|
clMtxVec 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:
TOpenCLVector
; c: double;
begin
CreateIt
(a); a.CopyCplxFromArray(TSingleArray.Create(1,-2,3,4)); a.Abs;
FreeIt
(a);
end
;
Examples on GitHub
Group
Abs Method
Links
TOpenCLMtxVec Class
,
TOpenCLMtxVec Members
,
clMtxVec 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!