football_dynamic


football_dynamic, a MATLAB code which counts the number of ways a given particular score can be achieved in football.

To be clear, this code only considers the score of one team. Moreover, in reaching a score, the sequence in which points were made is considered significant. Thus, the two sequences 6 + 3 and 3 + 6, which both achieve a score of 9, and contain the exact same values, are counted as different ways of doing so. They certainly would be experienced differently in live action.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

football_dynamic is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Programs:

football_dynamic_test

matlab_combinatorics, a MATLAB code which considers a variety of problems in combinatorics involving counting, combinations, permutations, and so on.

Source Code


Last revised on 21 September 2022.