Operation | Syntax | Function |
---|---|---|
Addition | a + b | add(a, b) |
Subtraction | a - b | sub(a, b) |
Multiplication | a * b | mul(a, b) |
Division | a / b | truediv(a, b) |
Concatenation | seq1 + seq2 | concat(seq1, seq2) |
Floor Division | a // b | floordiv(a, b) |
Modulo | a % b | mod(a, b) |
Exponentiation | a ** b | pow(a, b) |
Unary Negation | - a | neg(a) |
Matrix Multiplication | a @ b | matmul(a, b) |