Vector.CountFalse Method

Returns the number of elements in a boolean vector that are false.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static int CountFalse(
	this Vector<bool> values
)

Parameters

values  Vector<Boolean>
A vector.

Return Value

Int32
The number of elements in values that are false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Boolean>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also