Macaulay2 » Documentation
Packages » NAGtypes :: isGEQ
next | previous | forward | backward | up | index | toc

# isGEQ -- compare two points

- Usage:
    `b = isGEQ(x,y)`
- Inputs:
  - x, a pointor a list of complex (floating point) numbers
  - y, a pointor a list of complex (floating point) numbers
- Optional inputs:
  - Tolerance => ..., default value .000001, the tolerance of a numerical computation
- Outputs:
  - b, tells if x is (approximately) greater or equal than y

## Description

The inputs are lists of complex numbers, the order is (approximately) lexicographic: regard each complex n-vector as real 2n-vector, for the corresponding coordinates a and b (of two real 2n-vectors) a < b if b-a is larger than Tolerance.

    i1 : isGEQ({1,1,1},{1,0,2})

    o1 = true

    i2 : isGEQ({1,1e-7},{1, 0})

    o2 = true

## See also

- areEqual -- determine if solutions are equal

## Ways to use isGEQ:

- `isGEQ(AbstractPoint,AbstractPoint)`
- `isGEQ(List,List)`

## For the programmer

The object isGEQ is a method function with options.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/NAGtypes/doc-NAGtypes.m2:184:0.