Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Matrix representation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== In 3D graphics == The choice of representation for 4Γ4 matrices commonly used in [[3D graphics]] affects the implementation of matrix/vector operations in systems with packed [[SIMD instruction]]s: === Row major === With row-major matrix order, it is easy to transform vectors using [[dot product]] operations, since the coefficients of each component are sequential in memory. Consequently, this layout may be desirable if a processor supports dot product operations natively. It is also possible to efficiently use a '3Γ4' affine transformation matrix without padding or awkward permutes. === Column major === With column-major order, a "matrix Γ vector" multiply can be implemented with vectorized [[multiply-add]] operations, if the vector's components are broadcast to each [[SIMD lane]]. It is also easy to access the [[basis vector]]s represented by a [[transformation matrix]] as individual column vectors, as these are contiguous in memory.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)