Creates a new vector with the same size as a given vector, whose values
are the result of applying the sine 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 FloatVector Sin( FloatVector v ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Sin ( _ v As FloatVector _ ) As FloatVector |
| Visual C++ |
|---|
public: static FloatVector^ Sin( FloatVector^ v ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.FloatVector
A vector.
Return Value
A new vector with the same size as v, whose values are the result of applying the sine function to each element of v.
Remarks
u[i] = System.Math.Sin(v[i])