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

Gilles commented on MATH-994:
-----------------------------

The patch only contains the unit test, not the "main" code.

A few remarks:
* Do not include "@author" tags.
* (IIUC your contribution), a unit test should show how it solves a failure of 
the current implementation of "IterativeLegendreGaussIntegrator". This would 
help decide whether the new feature could be merged with existing code.
* Please avoid leaving "System.out" statements (or comment them out) in Junit 
methods.
* Do not use Java assertions ("assert") within Junit tests; you should "import" 
the "org.junit.Assert" class, and call its methods ("assertEquals", 
"assertTrue", etc.).
* Note that there is a "Gaussian" class (in package 
"org.apache.commons.math3.analysis.function") which you might use instead of 
redefining it the test class.

                
> Could we have an infinite integral class?
> -----------------------------------------
>
>                 Key: MATH-994
>                 URL: https://issues.apache.org/jira/browse/MATH-994
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Ajo Fod
>         Attachments: patch
>
>
> I'd like to be able to integrate functions from 0 to infinity. This can be 
> accomplished by mapping the function to the [-1,1] line and doing away with 
> the infinities.

--
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