Click or drag to resize

NMathFunctionsCos(DoubleVector, DoubleVector) Method

Applies the cosine function to each element of the input vector and places the result in the given output vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleVector Cos(
	DoubleVector v,
	DoubleVector u
)

Parameters

v  DoubleVector
The input vector.
u  DoubleVector
The output vector.

Return Value

DoubleVector
The output vector u for convenience.
Remarks
u[i] = cos(v[i])
See Also