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