A matrix grid that allows dynamic domain and range.