discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a mathematical matrix class?


From: Ivan Vučica
Subject: Re: Is there a mathematical matrix class?
Date: Sun, 06 May 2018 13:50:43 +0100
User-agent: K-9 Mail for Android

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 <greg.casamento@gmail.com> 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 <dale.amon@immortaldata.net> 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  |
| amon@vnl.com    "Data Systems for Deep Space and Time"  |
+---------------------------------------------------------------+



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
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.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]