# HG changeset patch
# User Nathann Cohen <nathann.cohen@gmail.com>
# Date 1251700235 7200
# Node ID 0dbf6b2325c5af280c127695f57481cd7dcc241c
# Parent 641cb6b921a4fae1f948ac59c13da69db6aafca9
Fixed docstring in function polynomial()
diff r 641cb6b921a4 r 0dbf6b2325c5 sage/rings/arith.py
a

b


2632  2632  
2633  2633  INPUT: 
2634  2634  
2635    An arbitrary number of integer arguments `k_1,\dots,k_n` 
2636    A list of integers `[k_1,\dots,k_n]` 
2637   
2638   OUTPUT: 
2639   
2640   Returns the integer : 
2641   
2642   .. math:: 
2643   
2644   \binom{k_1 + \cdots + k_n}{k_1, \cdots, k_n} = \frac{\left(\sum_{i=1}^n k_i\right)!}{\prod_{i=1}^n k_i!} = \prod_{i=1}^n \binom{\sum_{j=1}^i k_j}{k_i} 
 2635   An arbitrary number of integer arguments `k_1,\dots,k_n` 
 2636   A list of integers `[k_1,\dots,k_n]` 
 2637  
 2638  OUTPUT: 
 2639  
 2640  Returns the integer: 
 2641  
 2642  .. math:: 
 2643  
 2644  \binom{k_1 + \cdots + k_n}{k_1, \cdots, k_n} 
 2645  =\frac{\left(\sum_{i=1}^n k_i\right)!}{\prod_{i=1}^n k_i!} 
 2646  = \prod_{i=1}^n \binom{\sum_{j=1}^i k_j}{k_i} 
2645  2647  
2646  2648  EXAMPLES:: 
2647  2649  