Method Apply
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Apply(Func<float, float>)
Applies the given function to each value in this matrix.
public void Apply(Func<float, float> func)
Parameters
funcFunc<float, float>A function that takes the current value and returns the value to store in its place.
Remarks
This method modifies the matrix in place.
Exceptions
- ArgumentNullException
funcis null.