Vector.CountTrue Method
Returns the number of elements in a boolean vector
that are true.
DefinitionPermalink
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
The number of elements in values that are true.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
public static int CountTrue(
this Vector<bool> values
)
ParametersPermalink
Return ValuePermalink
Int32The number of elements in values that are true.