bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / spatial / transform / _rigid_transform_cy / _create_transformation_matrix
cython_function_or_method
scipy.spatial.transform._rigid_transform_cy:_create_transformation_matrix
Signature
def _create_transformation_matrix(translations, rotation_matrices, single)Summary
Create a matrix from translations and rotation matrices. Parameters ---------- translations : array_like, shape (N, 3) or (3,) A stack of translation vectors. rotation_matrices : array_like, shape (N, 3, 3) or (3, 3) A stack of rotation matrices. single : bool Whether the output should be a single matrix or a stack of matrices. Returns ------- matrix : numpy.ndarray, shape (N, 4, 4) A stack of transformation matrices.
Aliases
scipy.spatial.transform._rigid_transform_cy._create_transformation_matrix