dot#
- AnsMat.dot(obj)[source]#
Perform the matrix multiplication by another vector or matrix.
- Parameters:
- obj
ansys.mapdl.math.AnsVec
oransys.mapdl.math.AnsMat
Ansys object.
- obj
- Returns:
Examples
Multiplication of a matrix and vector.
>>> m1 = mm.rand(10, 10) >>> v1 = mm.rand(10) >>> v2 = m1.dot(v1) >>> assert np.allclose(m1.asarray() @ v1.asarray(), v2)