You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Arne Ploese <ap...@gmx.de> on 2011/07/20 14:11:57 UTC

[math] class Complex enhancements

Hi, please review my latest patch for inclusion in svn
https://issues.apache.org/jira/browse/MATH-577

Basically some short hand methods with takes a double (only real part)
as parameter.

Java docs some enhancements and cleanup.

Add Complex.valueOf(double) and Complex.valueOf(double, double) that
return Complex.NaN if a Double.NaN is in any part. THis is more
consistent with Double.valueOf(double)...

Arne


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [math] class Complex enhancements

Posted by Gilles Sadowski <gi...@harfang.homelinux.org>.
Hi.

> https://issues.apache.org/jira/browse/MATH-577
> 
> Basically some short hand methods with takes a double (only real part)
> as parameter.
> 
> Java docs some enhancements and cleanup.
> 
> Add Complex.valueOf(double) and Complex.valueOf(double, double) that
> return Complex.NaN if a Double.NaN is in any part. THis is more
> consistent with Double.valueOf(double)...

As nobody came up with objections, I've committed the changes (revision
1150340). [Sorry for the big commit...]


Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org