Click or drag to resize

VectorTMap Method

Overload List
 NameDescription
Public methodMap(FuncT, T, VectorT, Zeros) Applies a function to each value of this vector and replaces the value in the result vector. 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).
Public methodMapTU(FuncT, TU, Zeros) Applies a function to each value of this vector and returns the results as a new vector. 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).
Top
See Also