Back to NDArray Operations
gt
Element-wise greater-than. Supports scalar broadcasting.
Syntax
gt(a: NDArray, b: NDArray) → r
Backends
TypeScriptnumwa
Description
Element-wise greater-than. Supports scalar broadcasting.
Parameters
| Name | Description |
|---|---|
| a | Left operand |
| b | Right operand |
Returns
NDArray of booleans (1.0 for true, 0.0 for false)