how do you call VectorD<X> from python ?
Add a %template line in the algebra.i like the ones for 3and 4.
On Mar 4, 2009, at 8:55 PM, Keren Lasker kerenl@salilab.org wrote:
> thanks, keren. > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
thanks 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 kerenl@salilab.org wrote: > >> thanks, keren. >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
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 kerenl@salilab.org wrote: > >> thanks, keren. >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
What is the error message?
On Mar 4, 2009, at 9:14 PM, Keren Lasker wrote:
> 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 kerenl@salilab.org wrote: >> >>> thanks, keren. >>> _______________________________________________ >>> IMP-dev mailing list >>> IMP-dev@salilab.org >>> https://salilab.org/mailman/listinfo/imp-dev >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
participants (2)
-
Daniel Russel
-
Keren Lasker