generate_numerical_rotation_matrix¶
-
dislocation_tools.backend.integral.generate_numerical_rotation_matrix(axis, angle)¶ Generate numeric rotation matrix for rotation about an axis by an angle
- Parameters
axis (array-like) – rotation axis
angle (float) – rotation angle (in the sense of the right hand rule)
- Returns
rotation_matrix – rotation matrix
- Return type
numpy.ndarray