dot#

MapdlMath.dot(vec_a, vec_b)[source]#

Dot product between two ANSYS vector objects.

Parameters:
vec_aansys.mapdl.math.AnsVec

Ansys vector object.

vec_bansys.mapdl.math.AnsVec

Ansys vector object.

Returns:
float

Dot product between the two vectors.

Examples

>>> v = mm.ones(10)
>>> w = mm.ones(10)
>>> v.dot(w)