Expand description
Vectorized arithmetic, comparison, logical, range, membership, and matrix multiplication operators. All functions are pure β they operate on values without needing interpreter state.
FunctionsΒ§
- eval_
arith π - eval_
binary π - eval_
compare π - eval_
in_ πop - eval_
logical_ πvec - eval_
matmul π - Matrix multiplication using ndarray
- eval_
range π - eval_
raw_ πbitwise - Bitwise &/| for raw vectors β returns raw
- eval_
unary π - list_
to_ πcharacter - Coerce a list to a character vector by extracting each elementβs string
representation. Used for comparison operators on lists (e.g.
lapply(x, class) == "NULL"). - op_
symbol π - Map a BinaryOp to its R symbol name for S3 dispatch.
- propagate_
attrs π - Copy attributes (dim, dimnames, names, class) from the longer operand to the arithmetic result. Rβs rule: attrs come from the first operand if lengths are equal, otherwise from the longer one.