Arith-methods: Arith methods for hyperdirichlet objects
Description
Methods for Arithmetic functions on hyperdirichlet objects. There are
only two operations:
Add two of the same dimensions, as in ‘a+b’
Multiply a hyperdirichlet object by a length-one scalar, as in
‘a*5’
Both these operations result in the normalization constant becoming
unknown.
No unary operations are defined.
Arguments
Value
Arithmetic functions on hyperdirichlet objects return hyperdirichlet
objects. Multiplication operates on the powers (not parameters), thus
it is defined so that a+a = 2*a = a*2; associativity means that
a+...+a (\(n\) copies) equals n*a.