Matrix inversion tool
Evgeniy Ginzburg
nad.oby at gmail.com
Mon Aug 10 06:44:18 IDT 2015
On Aug 9, 2015 20:15, "Matan Ziv-Av" <matan at svgalib.org> wrote:
>
> On Sun, 9 Aug 2015, Shachar Shemesh wrote:
>
>> I should point out that the simplified matrix I was using to prove to
myself that the idea has merit is 20x20 (inversed using state of the art in
the vi text editing front). The code
>> I'll actually have to run will be 273x273. The Matrix itself is
sparsish, so it's really not that bad. Still, to prove things are working
I'll have to (probably pre-calculate) several
>> thousand such matrices.
>>
>> In fact, one of my problems in using tools such as Mathematica and
friends is that I don't want to hand code the Matrix to be inversed.
>
>
> GAP (and similarly SAGE, maxima) can be scripted.
>
> You do not give your exact setup, but if you can write the matrices to a
text file in any format, you can read it in GAP. If you can output to the
same format as I posted, you do not even need to write any program in GAP
to read it.
>
Not being connected to the field of applied mathematics can only recommend
solutions observed.
There is vast amount of code already written for LinAlg.
in python you can use numpy.
In C(++) any BLAS library have all you need.
OpenBLAS seems more effective.
If yo need to manipulate matrices "en masse" strongly suggested to use GPU.
Both OpenCL and CUDA are good.
Best Regards, Evgeniy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150810/2e9cb7c0/attachment-0001.html>
More information about the Linux-il
mailing list