import type { numarraymatrix } from "../types"; /** * Greater than or equal comparison X >= Y. * * Compares two inputs element-wise, returning true where elements in X are greater than or equal to corresponding elements in Y. * * @param x First operand for comparison * @param y Second operand for comparison * @returns The result of the comparison * @throws If the input dimensions do not agree or if no arguments are provided * * @example Comparison between two numbers * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(ge(5, 5), true); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(ge(5, [5, 6, 3]), [true, false, true]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(ge(5, [[5, 6], [3, 5]]), [[true, false], [true, true]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(ge([5, 6, 3], 5), [true, true, false]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(ge([[5, 6], [3, 5]], 5), [[true, true], [false, true]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(ge([5, 6, 3], [2, 6, 0]), [true, true, true]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(ge([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[true, true], [false, false]]); * ``` */ export default function ge(x: numarraymatrix, y: numarraymatrix): boolean | boolean[] | boolean[][]; //# sourceMappingURL=ge.d.ts.map