Typo in the number of functions when explaining function sets?
I think there's a typo in https://github.com/hwayne/learntla-v2/blob/master/docs/core/functions.rst?plain=1#L239
IMO it should be 3^2 = 9 functions when calculating functions mapping 2 tasks with 3 CPUs.
Thanks for bringing this up! I think the unclear bit is here:
In the prior task example,
assignmentswas always a function in the function set[Tasks -> SUBSET CPUs].
If there are 3 CPUs, then S == SUBSET CPUs would have 2^3 = 8 elements. Then #S^#Tasks = 8^2 = 64.
Would I help if I added this to the tip?
.. tip:: A function set of form
[A -> B]will have :math:\#B^{\#A}elements in it. If there were two tasks and three CPUs, that would beCardinality([Tasks -> SUBSET CPUs]) =:math:(2^3)^2 = 64possible functions.