[ 
https://issues.apache.org/jira/browse/MATH-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706067#comment-13706067
 ] 

Ajo Fod commented on MATH-995:
------------------------------

I like the plots ... does explain what is happening. 

However, if the IterativeGaussLegendreIntegrator is retained in the codebase, 
I'd suggest at the very least reporting on the non-convergence of the 
integration process or throwing an exception when the integration does'nt 
converge. Otherwise, any user of the code is likely to have to deal with 
expensive debugging session ... not good for confidence.
                
> Adaptive division of segments in Quadrature  Legendre-Gauss
> -----------------------------------------------------------
>
>                 Key: MATH-995
>                 URL: https://issues.apache.org/jira/browse/MATH-995
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Ajo Fod
>         Attachments: gaussian__sigma_1000.png, gaussian__sigma_1000_zoom.png, 
> gaussian__sigma_1.png, patch-code, patch-code, patch-code, patch-test
>
>
> I think the existing Legendre-Gauss object fails for certain integrals. An 
> example of failure and a solution that divides segments based on error is 
> provided. Please let me know if I'm not using the Legendre-Gauss object 
> correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to