http://kx.com/q/state.q

Can someone explain how the scan over the state matrix (m) works in the code above? I understand the scan/iterate when applied to a arbitrary valance function, but I’m confused by  

0 m\p 

Cheers

it’s just indexing

Cheers,

  Attila

0{m[x;y]}\p