T3Tangent.stack_tangents#
- static t3toolbox.manifold.T3Tangent.stack_tangents(tree)#
def stack_tangents(tree) -> 'T3Tangent':
Stack a
K-shaped tree of tangents (sharing one frame) into a tangent-stacked T3Tangent.Inverse of
unstack_tangents(). Requires every leaf to be at the same frame (the same-frame numerical check, as incorewise_inner()/__add__()): the tangents being stacked must live in the same tangent space. The first leaf’s frame is reused and the variations are stacked over the new outer tangent stackK.- Return type: