Hi,
The code below provides some data used by a sudoku solution:
(http://thesweeheng.wordpress.com/2008/11/30/more-sudoku-solvers-in-k-
and-q/)
q)9 vs til 81
0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 2..
0 1 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 0..
I cannot see any reference of ‘vs’ here: https://code.kx.com/trac/wiki/Reference/vs
What does ‘vs’ do in this situation?
Also it looks like it only works with the above parameters (param1=9,
param2=0..80).
q)k)4:!16
'nyi
Is this an overload specifically for solving the 3x3 sudoku?!
Regards,
Petru
–
Submitted via Google Groups
yes. see http://groups.google.com/group/personal-kdbplus/browse\_thread/thread/e9077db4633001ee/?#9a1218445dfe9df6On Apr 28, 4:23?pm, petrum <petru.margin…> wrote:> Hi,>> The code below provides some data used by a sudoku solution:> (http://thesweeheng.wordpress.com/2008/11/30/more-sudoku-solvers-in-k-> and-q/)>> q)9 vs til 81> 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 2..> 0 1 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 0..>> I cannot see any reference of ‘vs’ here:https://code.kx.com/trac/wiki/Reference/vs> What does ‘vs’ do in this situation?>> Also it looks like it only works with the above parameters (param1=9,> param2=0..80).>> q)k)4:!16> 'nyi>> Is this an overload specifically for solving the 3x3 sudoku?!>> Regards,> Petru>> –>
Submitted via Google Groups</petru.margin…>