Arith-methods {hyperdirichlet} | R Documentation |
Methods for Arithmetic functions on hyperdirichlet objects. There are only two operations:
a+b
’
a*5
’
Both these operations result in the normalization constant becoming unknown.
No unary operations are defined.
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
.
The package delegates ‘a+b
’ to hd_add()
, which
the user should use if more control is desired.
Robin K. S. Hankin
gd(1:3,1:3) + dirichlet(1:4) dirichlet(1:4) * 10