# Vector.LessThanOrEqualVector.LessThanOrEqualVector.LessThanOrEqualVector.LessThanOrEqual Method

## Definition

 LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) LessThanOrEqual(Vector, Vector) Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector.

## LessThanOrEqual(Vector<Double>, Vector<Double>)LessThanOrEqual(Vector<Double>, Vector<Double>)LessThanOrEqual(Vector<Double>, Vector<Double>)LessThanOrEqual(Vector<Double>, Vector<Double>)

Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector.

``````public:
static System::Numerics::Vector<long> LessThanOrEqual(System::Numerics::Vector<double> left, System::Numerics::Vector<double> right);``````
``public static System.Numerics.Vector<long> LessThanOrEqual (System.Numerics.Vector<double> left, System.Numerics.Vector<double> right);``
``static member LessThanOrEqual : System.Numerics.Vector<double> * System.Numerics.Vector<double> -> System.Numerics.Vector<int64>``
``Public Shared Function LessThanOrEqual (left As Vector(Of Double), right As Vector(Of Double)) As Vector(Of Long)``

#### Parameters

left

The first vector to compare.

right

The second vector to compare.

#### Returns

The resulting integral vector.

## LessThanOrEqual(Vector<Int32>, Vector<Int32>)LessThanOrEqual(Vector<Int32>, Vector<Int32>)LessThanOrEqual(Vector<Int32>, Vector<Int32>)LessThanOrEqual(Vector<Int32>, Vector<Int32>)

Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector.

``````public:
static System::Numerics::Vector<int> LessThanOrEqual(System::Numerics::Vector<int> left, System::Numerics::Vector<int> right);``````
``public static System.Numerics.Vector<int> LessThanOrEqual (System.Numerics.Vector<int> left, System.Numerics.Vector<int> right);``
``static member LessThanOrEqual : System.Numerics.Vector<int> * System.Numerics.Vector<int> -> System.Numerics.Vector<int>``
``Public Shared Function LessThanOrEqual (left As Vector(Of Integer), right As Vector(Of Integer)) As Vector(Of Integer)``

#### Parameters

left

The first vector to compare.

right

The second vector to compare.

#### Returns

The resulting integral vector.

## LessThanOrEqual(Vector<Int64>, Vector<Int64>)LessThanOrEqual(Vector<Int64>, Vector<Int64>)LessThanOrEqual(Vector<Int64>, Vector<Int64>)LessThanOrEqual(Vector<Int64>, Vector<Int64>)

Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector.

``````public:
static System::Numerics::Vector<long> LessThanOrEqual(System::Numerics::Vector<long> left, System::Numerics::Vector<long> right);``````
``public static System.Numerics.Vector<long> LessThanOrEqual (System.Numerics.Vector<long> left, System.Numerics.Vector<long> right);``
``static member LessThanOrEqual : System.Numerics.Vector<int64> * System.Numerics.Vector<int64> -> System.Numerics.Vector<int64>``
``Public Shared Function LessThanOrEqual (left As Vector(Of Long), right As Vector(Of Long)) As Vector(Of Long)``

#### Parameters

left

The first vector to compare.

right

The second vector to compare.

#### Returns

The resulting long integer vector.

## LessThanOrEqual(Vector<Single>, Vector<Single>)LessThanOrEqual(Vector<Single>, Vector<Single>)LessThanOrEqual(Vector<Single>, Vector<Single>)LessThanOrEqual(Vector<Single>, Vector<Single>)

Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector.

``````public:
static System::Numerics::Vector<int> LessThanOrEqual(System::Numerics::Vector<float> left, System::Numerics::Vector<float> right);``````
``public static System.Numerics.Vector<int> LessThanOrEqual (System.Numerics.Vector<float> left, System.Numerics.Vector<float> right);``
``static member LessThanOrEqual : System.Numerics.Vector<single> * System.Numerics.Vector<single> -> System.Numerics.Vector<int>``
``Public Shared Function LessThanOrEqual (left As Vector(Of Single), right As Vector(Of Single)) As Vector(Of Integer)``

#### Parameters

left

The first vector to compare.

right

The second vector to compare.

#### Returns

The resulting integral vector.

## LessThanOrEqual<T>(Vector<T>, Vector<T>)LessThanOrEqual<T>(Vector<T>, Vector<T>)LessThanOrEqual<T>(Vector<T>, Vector<T>)LessThanOrEqual<T>(Vector<T>, Vector<T>)

Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector.

``````public:
generic <typename T>
where T : value class static System::Numerics::Vector<T> LessThanOrEqual(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);``````
``public static System.Numerics.Vector<T> LessThanOrEqual<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;``
``static member LessThanOrEqual : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)``
``Public Shared Function LessThanOrEqual(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)``

#### Type Parameters

T

The vector type. `T` can be any primitive numeric type.

#### Parameters

left
Vector<T> Vector<T> Vector<T> Vector<T>

The first vector to compare.

right
Vector<T> Vector<T> Vector<T> Vector<T>

The second vector to compare.

#### Returns

The resulting vector.