That would be useful only if the matrix class wasn't storing individual 
matrices but a large number of them. Both for GPU and CPU uses. I don't think 
you want to iterate over an NSArray to do matrix multiplication or transposes 
individually.

As intended, GPUs and CPUs probably accelerate matrices up to 4x4, so I don't 
think they apply to a general purpose matrix either (maybe I am wrong).

It's hard to advise Dale without knowing the specific use case.

On May 6, 2018 9:22:23 AM GMT+01:00, Gregory Casamento 
<[email protected]> wrote:
>Are these the kinds of operations which would benefit from hardware
>acceleration? (I.e. utilizing the gpu?)
>
>On Sun, May 6, 2018 at 04:12 <[email protected]> wrote:
>
>> I am virtually certain the answer is no, and NSMatrix is
>> certainly not it as it's aimed at the GUI. I have a need for
>> something that allows me to have a 2D sparse array which has methods
>> like 'transpose', horizontal and vertical reflection, column and
>> row operations for swapping, inserting and deleting; swapping
>> the contents of any two locations, etc.
>>
>> It would just be incredibly useful, so much so that if it
>> does not exist, some day I will have to write one. However,
>> I'd rather not... I'm hoping someone is going to tell me
>> that Class XYZ, which says nothing about Matrices, actually
>> is one...
>>
>> --
>> +---------------------------------------------------------------+
>> |  Dale Amon         Immortal Data          |
>> |  CEO       Midland International Air and Space Port  |
>> | [email protected]    "Data Systems for Deep Space and Time"  |
>> +---------------------------------------------------------------+
>>
>>
>>
>> _______________________________________________
>> Discuss-gnustep mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>>
>-- 
>Gregory Casamento
>GNUstep Lead Developer / OLC, Principal Consultant
>http://www.gnustep.org - http://heronsperch.blogspot.com
>http://ind.ie/phoenix/

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to