geoana.spatial.vector_dot#

geoana.spatial.vector_dot(xyz, vector)#

Dot product between a vector and a set of vectors.

Where \(\mathbf{u}\) is a vector defined by the input argument vector, this method returns the dot products between \(\mathbf{u}\) and every vector supplied in the input argument xyz. I.e. for all \(\mathbf{v} \\in \mathbf{V}\), we compute:

\[\mathbf{u} \cdot \mathbf{v}\]
Parameters:
xyz(n, 3) numpy.ndarray

A set of 3D vectors

vector(3) numpy.ndarray_like

A single 3D vector

Returns:
  1. numpy.ndarray Dot products between a vector and a set of vectors.