python Programming Glossary: subequities
How to translate this Math Formula in Haskell or Python? (Was translated in PHP) http://stackoverflow.com/questions/8605183/how-to-translate-this-math-formula-in-haskell-or-python-was-translated-in-php stacks i 1.0 totalStacks #echo count stacks . . places. n subequities array for i 0 i count stacks i substacks array # Assume that.. stacks j # Find the subequity of the remaining players subequities i equitymatrix substacks min places count substacks for j 0.. substacks min places count substacks for j 0 j count subequities i j array_unshift subequities i j 0 # Add player i back newrow..
|