ShearingMatrix
ShearingMatrix[θ,v,n]
gives the matrix corresponding to shearing by θ radians along the direction of the vector v, and normal to the vector n.
Details
- ShearingMatrix gives matrices corresponding to shearing with the origin kept fixed.
- ShearingMatrix gives matrices with determinant 1, corresponding to area- or volume-preserving transformations.
- In 2D, ShearingMatrix turns rectangles into parallelograms. ShearingMatrix[θ,{1,0},{0,1}] effectively slants by angle θ to the right.
- In 3D, ShearingMatrix does the analog of shearing a deck of cards by angle θ in the direction v, with the cards being oriented so as to have normal vector n.
Examples
open allclose allBasic Examples (2)
Scope (5)
Applications (2)
Properties & Relations (4)
The determinant of a shearing matrix is 1; hence it preserves areas and volumes:
The inverse of ShearingMatrix[θ,v,n] is given by ShearingMatrix[-θ,v,n]:
The inverse of ShearingMatrix[θ,v,n] is also given by ShearingMatrix[θ,-v,n]:
The power of a shearing matrix is again a shearing matrix with the same and :
Possible Issues (3)
Text
Wolfram Research (2007), ShearingMatrix, Wolfram Language function, https://reference.wolfram.com/language/ref/ShearingMatrix.html.
CMS
Wolfram Language. 2007. "ShearingMatrix." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ShearingMatrix.html.
APA
Wolfram Language. (2007). ShearingMatrix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ShearingMatrix.html