Re: speeding up wrapper for "new" datatype



On Apr 12, 6:37 pm, "Thomas M. Hermann" <tmh.pub...@xxxxxxxxx> wrote:
On Apr 12, 9:44 am, Tamas K Papp <tkp...@xxxxxxxxx> wrote:

I was cleaning up code that interfaces to BLAS/LAPACK/UMFPack
libraries, and it occured to me that I could unify the interface for
various special matrices using CLOS.  The idea is that I create a
matrix class, and specialize that as needed, including dense matrices
which are really just wrappers around 2d arrays.

Tamas,

I've already started a library that does this, but it isn't public.
I'd like to collaborate on this with you, please send me an email and
I will send you my latest documentation. I've sent a copy of the
document to Liam Healy, the maintainer of GSLL, to get his thoughts.
My basic idea is to define the interface, create a reference
implementation entirely in CL and then generate backends to the
foreign functions.

I don't know what you've been using for unit testing, but Liam and I
have been collaborating on floating point extensions to lisp-unit.
They are publicly available at:

http://repo.or.cz/w/lisp-unit.git

Looking forward to working with you on this.

I've got some similar code for lisp-matrix (on github) which starts to
generalize the framework there for symmetric matrices, and there are a
few other specialized types I'll be working on as I need them (have
the statistical modeling framework to perfect, and the types appear as
needed).

Have to admit that I'm using LIFT with some numerical equality
extensions, and am looking at wrapping the GSLL stuff as well (since
for me, it's one of the "big 4", i.e. Tamas' lisp-centric work, rif's
foriegn storage work, and matlisp-gui-alikes being the other 3 that
I'd like to unify).

Of course, I've got my own work, a lisp-centric R replacement with
roots in LispStat, which is driving my numeric needs, so the numerics
are coming slower than I'd like.
.



Relevant Pages

  • Re: speeding up wrapper for "new" datatype
    ... libraries, and it occured to me that I could unify the interface for ... various special matrices using CLOS. ... I will send you my latest documentation. ... My basic idea is to define the interface, ...
    (comp.lang.lisp)
  • Re: Variable uses a type not supported in Visual Basic (Error 458)
    ... > Microsoft Visual Basic for Applications Software Development Kit ... > interface in a Visual Basic class, ... > generate libraries that use a Visual Basic- or Visual Basic for ... > Rebuild your type library by pressing CTRL+F7 or selecting Compile ...
    (microsoft.public.vb.bugs)
  • Re: Recommendations for JavaScript drop-down menu code
    ... to not having a long enough history working with browsers to ... Obviously these individuals are not aware that there code has these issues following from their inexperience, but now your project manager cannot solve his problem by just using a library unless he has someone who knows the issues themselves and so can point out which libraries properly handle them and which doe not. ... interface and a base implementation of that interface. ... but it is still important that the interface design stage takes into account the need to accommodate the whole range of possible implementations of the interface. ...
    (comp.lang.javascript)
  • Re: TrueCrypt 4.0 Out
    ... >> Again you show that you know very little about information security. ... > If you don't understand the code enough to change a calling interface ... reasons for not making changes to this code unless this cannot be avoided. ... I can certainly now see why you mistkenly think that libraries are ...
    (sci.crypt)
  • Re: Recommendations for JavaScript drop-down menu code
    ... rare browsers may not be considered a wise ... for all the standard Java libraries, ... interface and a base implementation of that interface. ... implementations that are employed in the context, ...
    (comp.lang.javascript)