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<T>(
out IAggregator<T> aggregator
)
Public Function TrySpecialize(Of T) (
<OutAttribute> ByRef aggregator As IAggregator(Of T)
) As Boolean
public:
generic<typename T>
bool TrySpecialize(
[OutAttribute] IAggregator<T>^% aggregator
)
member TrySpecialize :
aggregator : IAggregator<'T> byref -> bool
Parameters
- aggregator
- Type: Extreme.DataAnalysisIAggregatorT
On return, the aggregator specialized for
elements of type T,
or if no specialized aggregator exists.
Type Parameters
- T
- The type to specialize for.
Return Value
Type:
Boolean if a specialized aggregator could be created;
otherwise
.
Reference