bundles / scipy latest / scipy / spatial / transform / _rotation / select_backend
function
scipy.spatial.transform._rotation:select_backend
Signature
def select_backend ( xp : ModuleType , cython_compatible : bool ) Summary
Select the backend for the given array library.
Extended Summary
We need this selection function because the Cython backend for numpy does not support quaternions of arbitrary dimensions. We therefore only use the Array API backend for numpy if we are dealing with rotations of more than one leading dimension.
Aliases
-
scipy.spatial.transform._rotation.select_backend