dot#
- MapdlMath.dot(vec_a, vec_b)[source]#
Dot product between two ANSYS vector objects.
- Parameters:
- vec_a
ansys.mapdl.math.AnsVec
Ansys vector object.
- vec_b
ansys.mapdl.math.AnsVec
Ansys vector object.
- vec_a
- Returns:
float
Dot product between the two vectors.
Examples
>>> v = mm.ones(10) >>> w = mm.ones(10) >>> v.dot(w)