POV-Ray : Newsgroups : povray.text.scene-files : Matrix transposition macros Server Time
28 Mar 2024 10:48:15 EDT (-0400)
  Matrix transposition macros (Message 1 to 1 of 1)  
From: Bald Eagle
Subject: Matrix transposition macros
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.