Creates a new vector by filtering and mapping at the same time.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
Syntaxpublic NVector FilterMap(
Func<int, bool> predicate,
Func<int, int> mapper
)
Parameters
- predicate FuncInt32, Boolean
- The predicate to evaluate.
- mapper FuncInt32, Int32
- The mapping function.
Return Value
NVectorA new vector with the filtered items.
RemarksThis method can save an intermediate buffer and one iteration.
See Also