TRANSPOSE(3G)

πŸ“¦
version 1.0~svn33624 Β· 4 versions
, in ubuntu jammy, ubuntu noble

πŸ’– TRANSPOSE (3G) πŸ’–

okay bestie, we're in the 3G corner of the manual (that's the OpenGL Shading Language zone, iykyk) and today's main character is transpose. let's get into it ✨


🌸 NAME 🌸

transpose β€” calculate the transpose of a matrix


πŸ¦‹ DECLARATION πŸ¦‹

here's every single glow-up in the family, float and double, square and not-square, no cap:

mat2 transpose(mat2 m);

mat3 transpose(mat3 m);

mat4 transpose(mat4 m);

mat2x3 transpose(mat3x2 m);

mat2x4 transpose(mat4x2 m);

mat3x2 transpose(mat2x3 m);

mat3x4 transpose(mat4x3 m);

mat4x2 transpose(mat2x4 m);

mat4x3 transpose(mat3x4 m);

dmat2 transpose(dmat2 m);

dmat3 transpose(dmat3 m);

dmat4 transpose(dmat4 m);

dmat2x3 transpose(dmat3x2 m);

dmat2x4 transpose(dmat4x2 m);

dmat3x2 transpose(dmat2x3 m);

dmat3x4 transpose(dmat4x3 m);

dmat4x2 transpose(dmat2x4 m);

dmat4x3 transpose(dmat3x4 m);

πŸŽ€ PARAMETERS πŸŽ€

  • m β€” the matrix you want transposed. that's it, that's the whole vibe. you hand it a matrix, it does the thing πŸ’…

✨ DESCRIPTION ✨

transpose returns the transpose of the matrix m. literally the most chill function in the whole spec, she just flips it and hands it back 🫢


πŸ‘‘ VERSION SUPPORT πŸ‘‘

okay so this is where it gets a lil detail-heavy but we're not skipping ANYTHING, so here's the whole grid broken out. the column you'd be reading is which OpenGL Shading Language version supports it:

transpose (float) 🌈

  • 1.10 β€” - (not here yet, she's still getting ready)
  • 1.20 β€” βœ”
  • 1.30 β€” βœ”
  • 1.40 β€” βœ”
  • 1.50 β€” βœ”
  • 3.30 β€” βœ”
  • 4.00 β€” βœ”
  • 4.10 β€” βœ”
  • 4.20 β€” βœ”
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”

transpose (double) πŸ’œ

  • 1.10 β€” -
  • 1.20 β€” -
  • 1.30 β€” -
  • 1.40 β€” -
  • 1.50 β€” -
  • 3.30 β€” -
  • 4.00 β€” βœ”
  • 4.10 β€” βœ”
  • 4.20 β€” βœ”
  • 4.30 β€” βœ”
  • 4.40 β€” βœ”
  • 4.50 β€” βœ”
so like. the float version showed up in 1.20 and never left. the double version lowkey ghosted us until 4.00, and then it was here to STAY. iconic behavior honestly πŸ’€

🧚 SEE ALSO 🧚

  • determinant()
  • inverse()

Copyright Β© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.


Copyright Β© 2011-2014 Khronos Group


and that's the whole page, fr fr πŸ’– source situation: [FIXME: source], dated 01/03/2018, filed under TRANSPOSE(3G). go transpose something pretty, you absolute queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from