Applies a function to each value of this vector and replaces the value with its result.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic void MapInplace(
Func<T, T> f,
Zeros zeros = Zeros.AllowSkip
)
Parameters
- f FuncT, T
- The mapping function.
- zeros Zeros (Optional)
- Specifies whether zero values may be skipped.
See Also