dot#

NeoEuler.dot(other: Vector3d) ndarray[source]#

Return the dot products of the vectors and the other vectors.

Parameters:
other

Other vectors with a compatible shape.

Returns:
dot_products

Dot products.

Examples

>>> from orix.vector import Vector3d
>>> v = Vector3d((0, 0, 1.0))
>>> w = Vector3d(((0, 0, 0.5), (0.4, 0.6, 0)))
>>> v.dot(w)
array([0.5, 0. ])
>>> w.dot(v)
array([0.5, 0. ])