Creating an array of vectors in a line

The main issue I’m running into is being able to rotate a vector and get the position of the end of the vector instead of the beginning.

example:

. < – top of vector, I need to get this position after rotating the vector
| <-- vector
. <-- where the vector is created

I’ve searched and delved into the pvector reference and can’t seem to find an example that uses vectors for this purpose.