| NMathFunctionsAbs(DoubleVector) Method |
Creates a new vector with the same size as a given vector, whose
values are the result of applying the absolute value function to each
element of the vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector Abs(
DoubleVector v
)
Public Shared Function Abs (
v As DoubleVector
) As DoubleVector
public:
static DoubleVector^ Abs(
DoubleVector^ v
)
static member Abs :
v : DoubleVector -> DoubleVector
Parameters
- v DoubleVector
- A vector.
Return Value
DoubleVectorA new vector.
Remarks u[i] = System.Math.Abs(v[i])
See Also