| Vector4FAbsolute Method (Vector4F) |
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 Vector4F Absolute(
Vector4F vector
)
Public Shared Function Absolute (
vector As Vector4F
) As Vector4F
public:
static Vector4F Absolute(
Vector4F vector
)
static member Absolute :
vector : Vector4F -> Vector4F
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector4F
The vector.
Return Value
Type:
Vector4FA 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