Converting array to a vector

Please provide an MWE: we don’t know what T is.