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 / Rotation / __bool__

function

scipy.spatial.transform._rotation:Rotation.__bool__

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

Signature

def __bool__(self) → bool

Summary

Comply with Python convention for objects to be True.

Extended Summary

Required because Rotation.__len__() is defined and not always truthy.

Aliases

  • scipy.spatial.transform.Rotation.__bool__