tensor.prin

Syntax

v = tensor.prin(t<,a>)

Get the principal values. If an optional array is given, it is filled with the principal axis system.

Returns:

v - principal values

Arguments:

t - tensor

a - Optional array that is filled with the principal axis system. The array must have length two or three. If the length is two, the last axis is omitted. This axis can be obtained by the cross product of the first two axes.