Pushes dimensions of given argument into given result vector.
For a scalar that is a no-op.
For an Eigen type those are the numbers of rows and columns.
Definition at line 20 of file dims.hpp.