Can I use something like a[-1] to get the last element of a?
a[-1]
Nope - for performance reasons this will not be supported.