From: Patrik J. <co...@fa...> - 2010-10-18 13:10:51
|
Hi Karim, AFAIK numpy is mostly written as a C extension, so maybe it would be possible to use that library and integrate support for it into your language? I have never looked at the numpy code, so I have no idea how hard that would be though. The only C library I can think of is BLAS. I guess it depends on what operations you need. cheers, /Patrik On Thu, Oct 14, 2010 at 11:48 AM, Karim Chichakly <kar...@gm...> wrote: > Hi Patrick, > > Thank you for your quick response. Yes, NumPy is just the sort of thing I > am looking for, but unfortunately I am stuck with C++ (or C). I am trying > to integrate multidimensional array support into an existing interpreted > language, so I need to modify its interpreter and runtime system to support > this. The entire system is in C++ and, unfortunately, all the C++ libraries > that I have found to do this are template-based, so only work at > compile-time. Using templates is, of course, fabulous if you know what > algorithm you are coding while in C++, but if that algorithm is not known > until run-time and can be arbitrary (as it is written in a different > Turing-complete language), the template versions do not seem to help. > > Does anyone know of a reliable package similar to NumPy available in C++ or > C? > > Thanks again, > > Karim > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Blitz-support mailing list > Bli...@li... > https://lists.sourceforge.net/lists/listinfo/blitz-support > > |