POV-Ray : Newsgroups : povray.text.scene-files : Matrix transposition macros : Matrix transposition macros Server Time
25 May 2024 11:28:38 EDT (-0400)
  Matrix transposition macros  
From: Bald Eagle
Date: 11 Mar 2016 15:50:00
Message: <web.56e32e74d6f4398c5e7df57c0@news.povray.org>
Performs matrix transposition around diagonal (/)

Second macro performs rotation around other diagonal (\), in case that's ever
needed.

Works on both square and non-square matrices.
Test code in comment block.   Uncomment to test macros - output to message
window debug stream.


Post a reply to this message


Attachments:
Download 'transpose_array.mcr.txt' (3 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.