AFAIR, Cocoa has an Accelerate.framework and there is OpenCL. But neither one is available for GNUstep.
I think there is also some quaternion classes in SpriteKit or SceneKit but that does not seem to be what you are looking for. And it is also not provided by GNUstep. The closest to your problem what I found by Google seems to be https://github.com/mattrajca/SparseObjects though it is a wrapper around Accelerate.framework. But it might give you a direction when writing your own Matrix class, maybe based on some C code. The transformations you mention are just loop operations over rows or columns. -- hns > Am 06.05.2018 um 14:50 schrieb Ivan Vučica <[email protected]>: > > 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] <mailto:[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] > <mailto:[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] <mailto:[email protected]> "Data Systems for Deep Space and > Time" | > +---------------------------------------------------------------+ > > > > _______________________________________________ > Discuss-gnustep mailing list > [email protected] <mailto:[email protected]> > https://lists.gnu.org/mailman/listinfo/discuss-gnustep > <https://lists.gnu.org/mailman/listinfo/discuss-gnustep> > -- > Gregory Casamento > GNUstep Lead Developer / OLC, Principal Consultant > http://www.gnustep.org <http://www.gnustep.org/> - > http://heronsperch.blogspot.com <http://heronsperch.blogspot.com/> > http://ind.ie/phoenix/ <http://ind.ie/phoenix/> > -- > Sent from my Android device with K-9 Mail. Please excuse my > brevity._______________________________________________ > Discuss-gnustep mailing list > [email protected] <mailto:[email protected]> > https://lists.gnu.org/mailman/listinfo/discuss-gnustep > <https://lists.gnu.org/mailman/listinfo/discuss-gnustep>
_______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
