[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] how do you call VectorD<X> from python ?



but still something like
in c++
void do_somthing(const VectorD<4> &v);

in python
IMP::algebra::do_something(IMP::algebra::Vector4D(0,1,2,3))

does not work
does it require some special wrapping ?


On Mar 4, 2009, at 8:57 PM, Daniel Russel wrote:

Add a %template line in the algebra.i like the ones for 3and 4.



On Mar 4, 2009, at 8:55 PM, Keren Lasker <> wrote:

thanks, keren.
_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev
_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev