mymesh.register.Sh2d# mymesh.register.Sh2d(sh01, sh10, reference=array([0, 0]))[source]# Generate a shearing matrix \[\begin{split}\mathbf{Sh} = \begin{bmatrix} 1 & sh_{01} & 0 \\ sh_{01} & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}\end{split}\] Parameters: sh01 (float) – Shear in the x-y direction sh10 (float) – Shear in the y-x direction Returns: sh – 3x3 scaling matrix Return type: np.ndarray