AutoMovie API
    Preparing search index...

    Function physicalPrincipalAxes

    • The principal moments and axes of a symmetric 3x3 inertia tensor, by a Jacobi diagonalization of the tensor divided by its largest entry, so the stopping criterion compares dimensionless numbers at any SI scale.

      The moments come back in ascending order with their axes as a right-handed rotation from the principal frame to the tensor's frame. The input rows are modified in place.

      Parameters

      • tensor: number[][]

        Three rows of three finite numbers, symmetric, kg m² or any one unit; modified in place.

      Returns IAutoMoviePrincipalTensorFrame

      The ascending principal moments in the tensor's unit and the rotation whose columns are their axes.

      When every entry is zero.