| NMathFunctionsCos(DoubleComplexVector) 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 DoubleComplexVector Cos(
DoubleComplexVector v
)
Public Shared Function Cos (
v As DoubleComplexVector
) As DoubleComplexVector
public:
static DoubleComplexVector^ Cos(
DoubleComplexVector^ v
)
static member Cos :
v : DoubleComplexVector -> DoubleComplexVector
Parameters
- v DoubleComplexVector
- A vector.
Return Value
DoubleComplexVector
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