commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Lelopath" <jda...@gmail.com>
Subject [math] BrentSolver exception
Date Tue, 06 May 2008 19:58:42 GMT
I'm getting this exception:
STDERR: java.lang.IllegalArgumentException: Function values at
endpoints do not have different signs.  Endpoints:
[-100000.0,1.7976931348623157E308]  Values: [0.0,-101945.04630982173]
May 6, 2008 1:53:04 PM
STDERR: 	at org.apache.commons.math.analysis.BrentSolver.solve(BrentSolver.java:99)
May 6, 2008 1:53:04 PM
STDERR: 	at org.apache.commons.math.analysis.BrentSolver.solve(BrentSolver.java:62)

Why is having function values that don't have different signs a bad thing?

(Though it does appear that they do have different signs
[0.0,-101945.04630982173] if 0.0 is considered positive)

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


Mime
View raw message