[eigen] Re: Missing methods on complex Matrix/Vector/Array |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: "[eigen] mailing list" <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Re: Missing methods on complex Matrix/Vector/Array
- From: Dale Lukas Peterson <hazelnusse@xxxxxxxxx>
- Date: Wed, 19 Jun 2013 18:18:38 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=My/6LYyq2kc0emRpRgPGcWM0Hm9/q21ZrqK5Aq+2gAA=; b=qWblJSRYu3IBXIs8C535OU9Ewd/fUUTksOSg8/d3b5hQRZYdBQRKosN7NHudVz6hQl 67t4ad6Z7iXF2MfAubSp599ESJPnvR1mM+X2imzX/iXilMq3A9TKqp4CHF65p48NI6Uu 1P44rg2RUJRAaer4BnKrA/YCz773jT8G82rcRzC258DvcMwIR5Ytach2/VE8STct13Q8 4fw9bFuRpaLp7xjzzhFc80G/C/fGilU168MPnBnCSQSU1YLlv8qo5j6jw6HWXrGzGrt7 bpjLw6y3EchI/RqbAqRHMMSFKNySsqMXorgzSyvjARiijEINw73GhawW4gxoBzn1IIfl IzZA==
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