tensor.prin.dir

Syntax

l := tensor.prin.dir(t)

Get the principal values and directions of a tensor.

Returns a list that is four entries long.
• The first entry (index 1) is a vector containing the principal values (x=minimum, y=intermediate, z=maximum).
• The second entry (index 2) is a unit vector indicating the direction of of the minimum principal stress.
• The third entry (index 3) is a unit vector indicating the direction of the intermediate principal stress.
• The fourth entry (index 4) is a unit vector indicating the direction of the maximum principal stress.
Returns: l - A list of four entries containing the principal values and directions of the tensor. t - The tensor to find the principal values and directions of.