| FloatVectorTransform(FuncSingle, Single) Method |
Modifies the elements of this vector by applying the given unary function to
each element.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatVector Transform(
Func<float, float> function
)
Public Function Transform (
function As Func(Of Single, Single)
) As FloatVector
public:
FloatVector^ Transform(
Func<float, float>^ function
)
member Transform :
function : Func<float32, float32> -> FloatVector
Parameters
- function FuncSingle, Single
- A delegate object representing a function that
takes a single float parameter and returns a float.
Return Value
FloatVectorA reference to self.
Remarks Upon exit, this[i] = function(this[i]).
See Also