From: Robert L. <rh...@as...> - 2006-01-06 00:03:13
|
I just went back to last months's thread on this topic, and decided that I didn't know what the final decision was. It ends with Marcelo saying "Oh, sorry, I miss the last part" in one message followed by a C++ suggestion and "I forgot, another solution" followed by a SWIG solution in another. Both appear to supercede his summary in a still earlier message. Can someone provide a complete example of this "double porting" approach to numPy and C/C++ data types? It seems as if it'd be generally useful. Ideal would be a small, complete example, rather than just the SWIG snippets. Bill Spotz kindly pointed me at his Epetra code that started this, but I don't think that the released version has implemented the discussion on this list (and it's a biggish piece of code that I'd have to digest). Yes, I could do this myself with some agony, and I probably shall if no-one on the list has it near the tips of their fingers. Robert |