numpy and extending python with c

Uwe Schmitt uwe at rocksport.de
Fri Jan 11 10:33:48 CET 2002


les ander <les_ander at yahoo.com> wrote:
| Hi,
| i have a c program that takes in a square matrix 
| and and returns another one of the same size. However 
| i do not know how to pass the numpy matrix to a c program
| and get one back. can some one please give me a simple example.

I have no simple example, but you should study the NumPy code,
I think it's not that difficult.

Greetings, Uwe

-- 
Dr. rer. nat. Uwe Schmitt                       Uwe.Schmitt at num.uni-sb.de
Universitaet des Saarlandes                     Angewandte Mathematik
Building 36.1 Room 4.17         PO-Box 151150   D-66041 Saarbruecken
Mobile:0177/6806587    Fax:+49(0)681/302-4435   Office:+49(0)681/302-2468



More information about the Python-list mailing list