|
MatrixApplyInPlaceT Method (T, FuncT, Int32, T)
|
Note: This API is now obsolete.
Applies a function to every element of the array.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use Apply passing a result parameter instead.")]
public static T[] ApplyInPlace<T>(
this T[] vector,
Func<T, int, T> func
)
<ExtensionAttribute>
<ObsoleteAttribute("Please use Apply passing a result parameter instead.")>
Public Shared Function ApplyInPlace(Of T) (
vector As T(),
func As Func(Of T, Integer, T)
) As T()
Request Example
View SourceParameters
- vector
- Type: T
- func
- Type: SystemFuncT, Int32, T
Type Parameters
- T
Return Value
Type:
TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also