POV-Ray : Newsgroups : povray.text.scene-files : Matrix transposition macros Server Time: 16 Dec 2018 23:12:56 GMT
  Matrix transposition macros (Message 1 to 1 of 1)  
From: Bald Eagle
Subject: Matrix transposition macros
Date: 11 Mar 2016 20: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-2008 Persistence of Vision Raytracer Pty. Ltd.