inline 1D accessor