Re: [eigen] sse asin implementation

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


2009/3/31 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> 2009/3/31 Rohit Garg <rpg.314@xxxxxxxxx>:
>> On Tue, Mar 31, 2009 at 8:18 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>>> What is the motivation for vectorizing asin in Eigen? Do you mean for
>>> people who want a "cwise asin" on a vector? Do you have a use case for
>>> this?
>> Yes. The page on TODO says that transendental functions could be
>> vectorized and since recently sin, cos, log, exp for floats were
>> committed, I thought that eigen could do with other transcendental
>> functions as well. I was planning to implement more transcendentals in
>> the future, but if this is not useful, please tell me.
>
> Well, the TODO only mentioned very common functions like sin, cos,
> log, exp, for which use cases abound, for example, not long ago on
> this list, Jos Vandenoever had a use case for vectorized cwise sin or
> cos on vectors.

Sorry, I was wrong: the TODO does mention asin !

Well if Gael added that function I guess he had a reason... and since
you coded it I guess it doesn't hurt to add it!

I'll leave him handle your patch !

Benoit



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/