Click or drag to resize

DateVectorFilterMap Method

Creates a new vector by filtering and mapping at the same time.

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+670447af29d7e7e825b02ff7e655ef2dc84132d2
Syntax
C#
public DateVector FilterMap(
	Func<Date, bool> predicate,
	Func<Date, Date> mapper
)

Parameters

predicate  FuncDate, Boolean
The predicate to evaluate.
mapper  FuncDate, Date
The mapping function.

Return Value

DateVector
A new vector with the filtered items.
Remarks
This method can save an intermediate buffer and one iteration.
See Also