.. _Shape: Shape & dimensions ================================== **Synopsis**: .. code-block:: c template mini_vector get_shape(A const &); // R is the rank of A template size_t first_dim (A const & x); template size_t second_dim (A const & x); template size_t third_dim (A const & x); template size_t fourth_dim (A const & x); template size_t fifth_dim (A const & x); template size_t sixth_dim (A const & x); template size_t seventh_dim (A const & x); The shape and dimensions of any object modeling :ref:`ImmutableCuboidArray` is obtained using get_shape and xxx_dim functions : .. triqs_example:: ./shape_0.cpp