| Vector4DAbsolute Method (Vector4D) |
Returns a vector with the absolute values of the elements of the given vector.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static Vector4D Absolute(
Vector4D vector
)
Public Shared Function Absolute (
vector As Vector4D
) As Vector4D
public:
static Vector4D Absolute(
Vector4D vector
)
static member Absolute :
vector : Vector4D -> Vector4D
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector4D
The vector.
Return Value
Type:
Vector4DA vector with the absolute values of the elements of the given vector.
Remarks
The original vector is copied and then each vector element is set to its absolute value (see
Abs(Single)).
See Also