Mir vs. Numpy: Reworked!
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Mon Dec 7 13:54:26 UTC 2020
On Monday, 7 December 2020 at 13:48:51 UTC, jmh530 wrote:
> On Monday, 7 December 2020 at 13:41:17 UTC, Ola Fosheim Grostad
> wrote:
>> On Monday, 7 December 2020 at 13:17:47 UTC, jmh530 wrote:
>>> [snip]
>>>
>>> "no need to calculate inverse matrix" What? Since when?
>>
>> I dont know what he meant in this context, but a common
>> technique in computer graphics is to build the inverse as as
>> you apply computations.
>
> Ah, well if you have a small matrix, then it's not so hard to
> calculate the inverse anyway.
It is an optimization, maybe also for accuracy, dunno.
So, instead of ending up with a transform from coordinate system
A to B, you also get the transform from B to A for cheap. This
may matter when the next step is to go from B to C... And so on...
More information about the Digitalmars-d-announce
mailing list