import type { array, matrix } from "../types"; /** * Less than comparison X < Y. * * Compares two inputs element-wise, returning true where elements in X are less than 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(lt(5, 5), false); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [5, 6, 3]), [false, true, false]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [[5, 6], [3, 5]]), [[false, true], [false, false]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], 5), [false, false, true]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [3, 5]], 5), [[false, false], [true, false]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], [2, 6, 0]), [false, false, false]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[false, false], [true, true]]); * ``` */ export default function lt(x: number, y: number): boolean; /** * Less than comparison X < Y. * * Compares two inputs element-wise, returning true where elements in X are less than 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(lt(5, 5), false); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [5, 6, 3]), [false, true, false]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [[5, 6], [3, 5]]), [[false, true], [false, false]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], 5), [false, false, true]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [3, 5]], 5), [[false, false], [true, false]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], [2, 6, 0]), [false, false, false]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[false, false], [true, true]]); * ``` */ export default function lt(x: number, y: array): boolean[]; /** * Less than comparison X < Y. * * Compares two inputs element-wise, returning true where elements in X are less than 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(lt(5, 5), false); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [5, 6, 3]), [false, true, false]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [[5, 6], [3, 5]]), [[false, true], [false, false]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], 5), [false, false, true]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [3, 5]], 5), [[false, false], [true, false]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], [2, 6, 0]), [false, false, false]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[false, false], [true, true]]); * ``` */ export default function lt(x: array, y: number): boolean[]; /** * Less than comparison X < Y. * * Compares two inputs element-wise, returning true where elements in X are less than 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(lt(5, 5), false); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [5, 6, 3]), [false, true, false]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [[5, 6], [3, 5]]), [[false, true], [false, false]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], 5), [false, false, true]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [3, 5]], 5), [[false, false], [true, false]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], [2, 6, 0]), [false, false, false]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[false, false], [true, true]]); * ``` */ export default function lt(x: array, y: array): boolean[]; /** * Less than comparison X < Y. * * Compares two inputs element-wise, returning true where elements in X are less than 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(lt(5, 5), false); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [5, 6, 3]), [false, true, false]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [[5, 6], [3, 5]]), [[false, true], [false, false]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], 5), [false, false, true]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [3, 5]], 5), [[false, false], [true, false]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], [2, 6, 0]), [false, false, false]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[false, false], [true, true]]); * ``` */ export default function lt(x: number, y: matrix): boolean[][]; /** * Less than comparison X < Y. * * Compares two inputs element-wise, returning true where elements in X are less than 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(lt(5, 5), false); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [5, 6, 3]), [false, true, false]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [[5, 6], [3, 5]]), [[false, true], [false, false]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], 5), [false, false, true]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [3, 5]], 5), [[false, false], [true, false]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], [2, 6, 0]), [false, false, false]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[false, false], [true, true]]); * ``` */ export default function lt(x: matrix, y: number): boolean[][]; /** * Less than comparison X < Y. * * Compares two inputs element-wise, returning true where elements in X are less than 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(lt(5, 5), false); * * ``` * * @example Comparison between a number and an array * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [5, 6, 3]), [false, true, false]); * * ``` * * @example Comparison between a number and a matrix * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt(5, [[5, 6], [3, 5]]), [[false, true], [false, false]]); * * ``` * * @example Comparison between an array and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], 5), [false, false, true]); * * ``` * * @example Comparison between a matrix and a number * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [3, 5]], 5), [[false, false], [true, false]]); * * ``` * * @example Comparison between two arrays * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([5, 6, 3], [2, 6, 0]), [false, false, false]); * * ``` * * @example Comparison between two matrices * ```ts * import { assertEquals } from "jsr:@std/assert"; * * assertEquals(lt([[5, 6], [-1, 2]], [[5, 6], [3, 5]]), [[false, false], [true, true]]); * ``` */ export default function lt(x: matrix, y: matrix): boolean[][]; //# sourceMappingURL=lt.d.ts.map