Abstract
We show that in Euclidean space and other regular metric spaces, the notions of dimensions defined by Assouad and Aikawa coincide. In addition, in more general metric spaces, we study the relationship between these two dimensions and a related codimension and give an application of the Aikawa (co)dimension for the Hardy inequalities.