Vector.And Method

Computes the logical conjunction of two boolean vectors.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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

ArgumentNullExceptionleft is null

-or-

right is null

DimensionMismatchExceptionleft and right do not have the same length.

See Also