[PyGiNaC-users] indexed objects
Status: Alpha
Brought to you by:
jbrandmeyer
From: Ondrej C. <ond...@gm...> - 2005-04-28 15:14:14
|
Hello, I would like to implement indexed objects, because I need them. But I have some problems with boost.python. I would like to use basic::get_free_indices, which returns std::vector<ex>, so I would like to implicitly convert std::vector<ex> to python list. I found vector_wrapper in cctbx: http://cvs.sourceforge.net/viewcvs.py/*checkout*/cctbx/scitbx/include/scitb= x/stl /vector_wrapper.h?rev=3D1.4 but unfortunately it uses many headers from cctbx. Maybe it is easier to convert it like you do in lst.cpp? I try the latter approach. O. Certik |