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