Hi Evan,

 > Can you refresh my memory on how ViennaCL behaves with this operation:
>
> vector = vector - vector_range
>
> I would like to subtract an M < N sized vector_range from an N sized
> vector (by operating on the first M elements). Is this supported in
> 1.4.2?

Yes, this is supported. You can just use

project(x, range(a, b)) = project(y, range(c, d)) - z;

where z is some existing vector_range. Mixing of vectors with ranges and 
slices is perfectly fine and supported.

Best regards,
Karli


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to