[eigen] Re: Missing methods on complex Matrix/Vector/Array

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


On Wed, Jun 19, 2013 at 5:45 PM, Dale Lukas Peterson
<hazelnusse@xxxxxxxxx> wrote:
> I was trying to take the argument of an Array of complex<double>
> types, but found that this method is not available, even though ones
> like real(), imag(), abs() are.  Is there a design reason for this, or
> does it simply just need some development time to make it happen?
>
> If there isn't a reason other than it just hasn't been implemented, I
> can try to work on this.
>
> Luke

It seems that the following functions that are overload for
std::complex types from the STL are not available as methods of Array:
arg()
norm()
conj()
polar()
cosh()
log10()
sinh()
tanh()

Also, when Array is real, the pow() method does not work for complex
powers, even though that functionality is provided by std::pow();

Luke



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