new method Dense.idx()