You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TMtxVec Class
>
TMtxVec Methods
>
Abs Method
>
TMtxVec.Abs Method ()
Dew Math for .NET
TMtxVec.Abs Method ()
TMtxVec Class
TMtxVec Members
Dew.Math Namespace
Abs Method
Example
See Also
Collapse All
Absolute values.
Syntax
C#
Visual Basic
public
TMtxVec
Abs
();
Public
Function
Abs
()
As
TMtxVec
Remarks
Calculate the absolute value of all calling object elemets in-place.
See Also
Mag
Example
using
Dew.Math
;
using
Dew.Math.Units
;
namespace
Dew.Examples() {
void
Example() {
TVec
a; MtxVec.CreateIt(
out
a);
try
{ a.SetIt(
true
,
new
double
[] {1,-2,3,4}); a.Abs();
// a = [1,2,3,4]
}
finally
{ MtxVec.FreeIt(
ref
a); } } }
Group
Abs Method
Links
TMtxVec Class
,
TMtxVec 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!