Vector.Count True Method
Returns the number of elements in a boolean vector
that are true.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The number of elements in values that are true.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static int CountTrue(
this Vector<bool> values
)
Parameters
Return Value
Int32The number of elements in values that are true.