From: Nicolas N. <Nic...@iw...> - 2005-12-07 12:27:13
|
Cyrus Harmon <ch-...@bo...> writes: > Nicolas and Ray, > > I hope this isn't to off-topic, but I thought I'd jump in to the > middle of this conversation and point out my matrix library, clem. > It's available at http://cyrusharmon.org/cl/static/releases/ > clem-0.1.5-20051204.tar.gz . > ... > It takes a while to compile and there's probably better ways to make > this stuff go faster (define-compiler-macro maybe? more inline > functions?) ... > I've also done a little bit of work to go back and forth to matlisp. > I was rather disappointed that the state of matrix math packages on > common-lisp was that I had to write my own. I would gladly abandon > this project for an alternative, but I haven't found that yet. In the > meantime, feedback on it is greatly appreciated. In FL.MATLISP (which is my notation for "Femlisp's Matlisp replacement"), matrix class generation and method compilation happens only when necessary, so it compiles fast. You should be able to do the same. In general, I do agree with Jan Rychter that the Matlisp interface should be kept as much as possible (and I tried to do this with FL.MATLISP). It could be interesting to compare the performance of FL.MATLISP with your library. If I remember well, I did not see large differences in comparison with C (lower than a factor 2 for larger matrices). Yours, Nicolas. |