Calculate the cross product of two three-dimensional vectors
\(\boldsymbol{a},\boldsymbol{b}\in\mathbb{R}^3\)
\[\begin{split}\text{cross}(\boldsymbol{a},\boldsymbol{b})=\begin{pmatrix}
a_2\cdot b_3-a_3\cdot b_2\\
a_3\cdot b_1-a_1\cdot b_4\\
a_1\cdot b_2-a_2\cdot b_1
\end{pmatrix}\end{split}\]
- Parameters:
- vec_alist
First vector \(\boldsymbol{a}\)
- vec_blist
Second vector \(\boldsymbol{b}\)
- Returns:
- veclist
Cross product vector