See below:
foo:{ k 1+1 }
See below:
foo:{ k 1+1 }
thanks that helps.!
You welcome my friend :-)
*prepend* the definition with k)
q)k)equal:=':
q)equal 1 1 2 3 4 4
010001b
q)k)pctile:{[p;x]x<: -1±_-p*#x}
q)pctile[.01 .5 .99] 10000?1f
0.01017335 0.503294 0.9914573