Skip to content

sc_gt

Short-circuit greater-than (scalar context).

c = sc_gt(A, B)

Scalar short-circuit > test. Companion to gt.

  • gt — Element-wise greater-than test (function form of >).
  • sc_ge — Short-circuit greater-than-or-equal (scalar context).
  • sc_lt — Short-circuit less-than (scalar context).