Vector.And Method

Computes the logical conjunction of two boolean vectors.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static Vector<bool> And(
	Vector<bool> left,
	Vector<bool> right
)

Parameters

left  Vector<Boolean>
The first vector.
right  Vector<Boolean>
The second vector.

Return Value

Vector<Boolean>
A vector whose elements are the conjunction ('and') of the corresponding elements of left and right.

Exceptions

ArgumentNullException

left is null.

-or-

right is null.

DimensionMismatchException

left and right do not have the same length.

See Also