abs
abs(t: IntTuple) -> IntTuple
Compute the absolute value of each element in an IntTuple.
This function applies the absolute value operation to each integer
in a potentially nested IntTuple structure.
Args:
- t (
IntTuple): TheIntTupleto transform.
Returns:
IntTuple: A new IntTuple with the same structure but with absolute values.