Binary Aggregator Group.Try Specialize Method
Returns an aggregator for the specified element type.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
true if a specialized aggregator could be created; otherwise false.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public abstract bool TrySpecialize(
Type type,
out IBinaryAggregator?? aggregator
)
Parameters
- type Type
- The desired element type.
- aggregator IBinaryAggregator
- On return, the aggregator specialized for elements of type type, or null if no specialized aggregator exists.
Return Value
Booleantrue if a specialized aggregator could be created; otherwise false.