# VectorLess xy or VectorLess[{x,y}]

yields True for vectors of length n if xi<yi for all components .

xκy or VectorLess[{x,y},κ]

yields True for x and y if , where κ is a proper convex cone.

# Details  • VectorLess gives a partial ordering of elements in a vector space that is still compatible with vector space operations.
• VectorLess is typically used to specify vector inequalities for constrained optimization, inequality solving and integration.
• By using the character , entered as v< or \[VectorLess], with subscripts vector inequalities can be entered as follows:
• VectorLess[{x,y}] the standard vector inequality VectorLess[{x,y},κ] vector inequality defined by a cone κ
• xy remains unevaluated if x or y has non-numeric elements, typically gives True or False otherwise.
• When x and y are n-vectors xy yields False if xiyi for any component .
• When x is an n-vector and y is a scalar, xy yields True if xi<y for all components .
• Possible cone specifications κ in for vectors x include:
•  {"NonNegativeCone", n}  such that {"NormCone", n}  such that Norm[{x1,…,xn-1}]
• Possible cone specifications κ in for matrices x include:
•  "NonNegativeCone"  such that {"SemidefiniteCone", n} symmetric positive definite matrices • Possible cone specifications κ in for arrays x include:
•  "NonNegativeCone"  such that • For exact numeric quantities, VectorLess internally uses numerical approximations to establish numerical ordering. This process can be affected by the setting of the global variable \$MaxExtraPrecision.

# Examples

open all close all

## Basic Examples(2)

x<y yields True when xi < yi is True for all i=1,,n:

 In:= Out= x<y yields False when xi yi for any i=1,,n:

 In:= Out= Represent a vector inequality:

 In:= Out= When v is replaced by numerical vector space elements, the inequality gives True or False:

 In:= Out= In:= Out= ## Applications(1)

Introduced in 2019
(12.0)