Hello all, I am working on a research project that requires a lot of matrix matrix operations (i.e. add, multiply, substract). Since I am working with the ouptuts of RFLUXMTX, I am using RMTXOP.
Since I have to do this lots of times, I designed my scripts so they are efficient. Accordingly, avoiding matrix multiplication was a priority... so I rearranged the equation: Results = DC1*sky + DC2*sky + DC3*sky + DC3*sky into Results = (DC1+DC2+DC3+DC4)*sky I thought the latter one would be much faster... but it takes double the time! Is there any reason for that? I am somehow surprised since, I understand, matrix multiplication is a O(n^3) algorithm while adding is a O(n^2) one. The DC matrices are the contribution from different windows to the workplane (using the 3-phase method... VTD) and the sky is a vector, not a matrix. Best, Germán
_______________________________________________ Radiance-dev mailing list [email protected] https://www.radiance-online.org/mailman/listinfo/radiance-dev
