Talk:Knuth's algorithm S: Difference between revisions

Line 26:
 
::I meant 'artificial' in the requirement to create, in advance, a function taking a single parameter (i.e. introducing a First Class Function element to the task). The actual Knuth S algorithm is embodied in the BBC BASIC function <code>FNs_of_n</code> which can be called directly without any of the memory usage complications, but it takes additional parameters (the sample size and an array to hold the sample). [[User:RichardRussell|RichardRussell]] 10:14, 5 November 2012 (UTC)
 
:::Thanks for the explanation Richard. --[[User:Paddy3118|Paddy3118]] 11:23, 5 November 2012 (UTC)
Anonymous user