﻿ ≥ – Algosim documentation
Algosim documentation: ≥

# ≥ (greater-than or equal to)

The greater than or equal to relational operator.

## Syntax

• `a ≥ b`

• `a` and `b` are real numbers

• `u ≥ v`

• `u` and `v` are real vectors of the same dimension

• `u ≥ 0`

• `u` is a real vector

• `A ≥ B`

• `A` and `B` are real matrices of the same size

• `A ≥ 0`

• `A` is a real matrix

• `t ≥ s`

• `t` and `s` are date or datetime structures

## Description

• If `a` and `b` are real numbers, then `a ≥ b` is `true` iff `a` is greater than or equal to `b`. No epsilons are used. Hence, even if `a` and `b` are essentially equal, `a ≥ b` might be `false`. For example, `sin(π) ≥ 0` might or might not be `true`.

• If `u` and `v` are real vectors of the same dimension, then `u ≥ v` is `true` iff every component of `u` is greater than or equal to the corresponding component of `v`. No epsilons are used.

• If `u` is a real vector, then `u ≥ 0` is `true` iff `u` is non-negative, that is, iff every component of `u` is non-negative.

• If `A` and `B` are real matrices of the same size, then `A ≥ B` is `true` iff every entry of `A` is greater than or equal to the corresponding entry of `B`. No epsilons are used.

• If `A` is a real matrix, then `A ≥ 0` is `true` iff `A` is non-negative, that is, iff every entry of `A` is non-negative.

• If `t` and `s` are date or datetime structures, then `t ≥ s` is `true` iff `t` denotes the same or a later point in time than `s`.

The `≥` operator is implemented by the `GreaterThanOrEqualTo` function.

## Examples

`39/17 ≥ 381/167`
`true`
`❨❨5, 1, 2❩, ❨0, 3, 2❩❩ ≥ 0`
`true`
`tomorrow() ≥ yesterday()`
`true`