Elements.pyECSS.math_utilities.identity

Elements.pyECSS.math_utilities.identity(rank=4)[source]

generate a numpy identity matrix

Parameters

rank (int, optional) – [description], defaults to 4 for 4x4 matrix, otherwise 3 for 3x3 or 2 for 2x2