As of now, the rank one tensor does not allow to be transposed.
auto const n = extents<>{3};
auto a = tensor_dynamic{n, 1.f};
auto c = tensor_dynamic{n};
std::vector<std::size_t> pi{3};
ublas::trans( 1ul, n.data(), pi.data(), c.data(), c.strides().data(), a.data(), res.strides().data() ); // c = [0,0,0]
As of now, the rank one tensor does not allow to be transposed.