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: 5.1.0.0
Syntax
| C# |
|---|
public static FloatComplexVector Cos( FloatComplexVector v ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Cos ( _ v As FloatComplexVector _ ) As FloatComplexVector |
| Visual C++ |
|---|
public: static FloatComplexVector^ Cos( FloatComplexVector^ v ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.FloatComplexVector
A vector.
Return Value
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])