#NEWLINE# def getBinIndices( self , linear_index ) : #NEWLINE# #INDENT# 'Given a linear index (integer between 0 and outdim), returns the bin\n        indices for each of the state dimensions.\n\n        ' #NEWLINE# return ( ( linear_index / self . magic_array ) % self . nbins_across_dims )