Message Boards Message Boards

GROUPS:

Understand the ShearingMatrix

Posted 4 months ago
369 Views
|
0 Replies
|
0 Total Likes
|

Below is the official document of ShearingMatrix:

ShearingMatrix[[Theta],v,n] gives the matrix corresponding to shearing by [Theta] radians along the direction of the vector v, and normal to the vector n.

But in the following examples, I'm still confused about understanding this command:

In[47]:= ShearingMatrix[-Pi/4,{1,0},{0,1}]
ShearingMatrix[-Pi/4,{1,0},{1,1}]

Out[47]= {{1, -1}, {0, 1}}

Out[48]= {{1/2, -(1/2)}, {1/2, 3/2}}

Any comments/explanations will be appreciated.

Regards,
Zhao

POSTED BY: Hongyi Zhao
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract