[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSOC 16, Improvements to sqrtm,logm and funm
From: |
PhilipNienhuis |
Subject: |
Re: GSOC 16, Improvements to sqrtm,logm and funm |
Date: |
Sun, 20 Mar 2016 12:53:34 -0700 (PDT) |
Mudit Sharma wrote
> <snip>
> As pointed out that JIT compiler is unavailable for Octave, so funm
> needs to be written in C++.
> <snip>
> * Write funm in C++, rewrite sqrtm in C++ and since scripts are slow
> rewrite expm and logm in C++ ( scripts supplied earlier in this mail)
PMFJI
A cleverly vectorized .m file shouldn't be much slower than a function file
in C++ but is usually much easier to maintain. In addition Octave has many
ready-baked linear-algebra functions; please avoid reinventing the wheel but
rather use existing code as much as possible.
Better first write/complete the functions in m-file format, use the profiler
to find the time-consuming parts, then first rewrite those bottlenecks in
C++.
Just my .02 $c
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/Re-GSOC-16-Improvements-to-sqrtm-logm-and-funm-tp4675180p4675683.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- Re: GSOC 16, Improvements to sqrtm,logm and funm, Marco Caliari, 2016/03/03
- Re: GSOC 16, Improvements to sqrtm,logm and funm, Mudit Sharma, 2016/03/09
- Re: GSOC 16, Improvements to sqrtm,logm and funm, Jordi Gutiérrez Hermoso, 2016/03/10
- Re: GSOC 16, Improvements to sqrtm,logm and funm, Mudit Sharma, 2016/03/11
- Re: GSOC 16, Improvements to sqrtm,logm and funm, Jordi Gutiérrez Hermoso, 2016/03/17
- Re: GSOC 16, Improvements to sqrtm,logm and funm, Mudit Sharma, 2016/03/20
- Re: GSOC 16, Improvements to sqrtm,logm and funm,
PhilipNienhuis <=
- Re: GSOC 16, Improvements to sqrtm,logm and funm, Mudit Sharma, 2016/03/22
GSOC 16, Improvements to sqrtm,logm and funm, amr mohamed, 2016/03/11