This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / spatial / transform / _rotation_xp / _pow_scaled

function

scipy.spatial.transform._rotation_xp:_pow_scaled

source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/transform/_rotation_xp.py:960

Signature

def _pow_scaled(quat: Array, n: float | Array) → Array

Summary

Scale the rotation angle by n, keeping the axis fixed.

Extended Summary

Equivalent to from_rotvec(n * as_rotvec(quat)) but without building the intermediate rotation vector.

Aliases

  • scipy.spatial.transform._rotation_xp._pow_scaled