Pointwise addition of dictionaries
Provides function to add dictionaries pointwise with values in a common ring and to compute linear combinations
EXAMPLES:
sage: from sage.combinat.dict_addition import dict_addition
sage: D1 = { 0:1, 1:1 }; D2 = { 0:1, 1:1 }
sage: dict_addition( [D1,D2] )
{1: 2}
Returns the pointwise addition of dictionaries with coefficients.
Parameters:  dict_iter – iterator of dictionaries with values in a common ring. 

OUTPUT:
EXAMPLES:
sage: from sage.combinat.dict_addition import dict_addition
sage: D = { 0:1, 1:1 }; D
{0: 1, 1: 1}
sage: dict_addition( D for _ in range(5) )
{0: 5, 1: 5}
sage: D1 = { 0:1, 1:1 }; D2 = { 0:1, 1:1 }
sage: dict_addition( [D1,D2] )
{1: 2}
Returns the pointwise addition of dictionaries with coefficients.
Parameters: 


OUTPUT:
EXAMPLES:
sage: from sage.combinat.dict_addition import dict_linear_combination
sage: D = { 0:1, 1:1 }; D
{0: 1, 1: 1}
sage: dict_linear_combination( (D,i) for i in range(5) )
{0: 10, 1: 10}
sage: dict_linear_combination( [(D,1),(D,1)] )
{}