Vector Class Discussion

Proposal for vector gather() method
Author: Agner Date: 2013-04-03 00:06
epsilon wrote:
I would like to propose a gather() method
There is such as function. It's called lookup<n>.
I think it can do what you are asking for. Maybe it would be useful to have a gather function with fixed indices, like this:
Vec4f x = gather<3,5,8,7>(array);
 
thread Proposal for vector gather() method new - epsilon - 2013-04-02
last replythread Proposal for vector gather() method - Agner - 2013-04-03
last replythread Proposal for vector gather() method new - epsilon - 2013-04-03
last reply Proposal for vector gather() method new - Agner - 2013-04-03