If x and y have the same class and parent, then so will the result. The merged hash table has as its keys the keys occuring in the arguments. When a key occurs in both arguments, the corresponding values are combined using the function g, which should be a function of two arguments.
This function is useful for multiplying monomials or adding polynomials.
See also combine.
Go to main index.
Go to concepts index.