You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for bringing this up! I think the unclear bit is here:
In the prior task example, assignments was 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 be Cardinality([Tasks -> SUBSET CPUs]) = :math:(2^3)^2 = 64 possible functions.
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.The text was updated successfully, but these errors were encountered: