next up previous contents index
Next: Function unit_vector Up: Module linearalgebra_module Previous: Function scalar_triple_product   Contents   Index

Function vector_triple_product


\begin{boxedminipage}{\textwidth}
\begin{verbatim}v = vector_triple_product(x,y,z)\end{verbatim}
\end{boxedminipage}

Return the vector triple product $\mathbf{x} \times (\mathbf{y} \times \mathbf{z})$ of the 3-vectors x, y and z.

x, y, z -- real(dp), dimension(3), intent(in)

Return value -- real(dp), dimension(3)

unit_vector function

gabor 2009-06-30