Submodules

ops

Module that contains some simple linear operations to use with dicechanics.Pool

dicechanics.ops.add(a, b, /)

Same as a + b.

dicechanics.ops.ceil(x, /)

Return the ceiling of x as an Integral.

This is the smallest integer >= x.

dicechanics.ops.div(a, b, /)

Same as a / b.

dicechanics.ops.floor(x, /)

Return the floor of x as an Integral.

This is the largest integer <= x.

dicechanics.ops.floordiv(a, b, /)

Same as a // b.

dicechanics.ops.mod(a, b, /)

Same as a % b.

dicechanics.ops.mul(a, b, /)

Same as a * b.

dicechanics.ops.sub(a, b, /)

Same as a - b.