Returns a Vector whose components are the absolute values of the components of another vector.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function Abs ( _ vector As Vector _ ) As Vector |
| C# |
|---|
public static Vector Abs ( Vector vector ) |
| C++ |
|---|
public: static Vector^ Abs ( Vector^ vector ) |
Parameters
- vector (Extreme.Mathematics.LinearAlgebra.Vector)
- A Vector.
Return Value
A vector whose components are the absolute values of the components of vector.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr. |