The first \((i+1)\) elements of the \(i\)th basis vector are given by
\(\sin\theta_i\prod_{j=1}^{i-1}\cos\theta_j\), \(\sin\theta_i\sin\theta_1 \prod_{j=2}^{i-1}\cos\theta_j\),
\(\sin\theta_i\sin\theta_2 \prod_{j=3}^{i-1}\cos\theta_j\), \(\dots\), \(\sin\theta_i\sin\theta_{i-1}\), \(-\cos\theta_i\), respectively.
The rest elements (if any) of the \(i\)th basis vector are all zero.