Attempts to create an aggregator specialized to operate on values of the specified type.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public bool TrySpecialize<U>(
out IAggregator2<T> aggregator
)
Public Function TrySpecialize(Of U) (
<OutAttribute> ByRef aggregator As IAggregator2(Of T)
) As Boolean
public:
generic<typename U>
bool TrySpecialize(
[OutAttribute] IAggregator2<T>^% aggregator
)
member TrySpecialize :
aggregator : IAggregator2<'T> byref -> bool
Parameters
- aggregator
- Type: Extreme.DataAnalysisIAggregator2T
On return, the specialized aggregator.
Type Parameters
- U
- The type to specialize for.
Return Value
Type:
Boolean if a specialized aggregator was created;
otherwise
.
Reference