Re: [C++-sig] Python converters for raw pointers: request for help

2009-10-25 Thread Randolph Fritz
Do you want to return an opaque type, would you like to expose some of the mat's methods in Python, or would you perhaps like to convert a numpy Matrix to a PETSc mat? These all take different approaches. Could you perhaps give an example of some of the Python code you would like to write? -- Ran

Re: [C++-sig] Python converters for raw pointers: request for help

2009-10-25 Thread Randolph Fritz
Additional thought. Take a look at: & see if it helps clarify some of the problems. -- Randolph Fritz design machine group, architecture department, university of washington rfr...@u.washington.edu -or- rfritz...@