You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
clVector Structure
>
clVector Methods
>
Abs Method
>
clVector.Abs Method ()
Dew Math for .NET
clVector.Abs Method ()
clVector Structure
clVector Members
Dew.Math Namespace
Abs Method
Example
See Also
Collapse All
Absolute values.
Syntax
C#
Visual Basic
public
TOpenCLMtxVec
Abs
();
Public
Function
Abs
()
As
TOpenCLMtxVec
Remarks
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;
Group
Abs Method
Links
clVector Structure
,
clVector Members
,
Dew.Math Namespace
,
Abs Method
,
Example
,
See Also
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home
What do you think about this topic?
Send feedback!