[jira] [Commented] (RNG-131) TriangleSampler: Sample uniformly within a triangle

2021-04-29 Thread Alex Herbert (Jira)
[ https://issues.apache.org/jira/browse/RNG-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17335409#comment-17335409 ] Alex Herbert commented on RNG-131: -- I tried testing on a different machine. Sampling was done from random

[jira] [Commented] (RNG-131) TriangleSampler: Sample uniformly within a triangle

2021-04-28 Thread Alex Herbert (Jira)
[ https://issues.apache.org/jira/browse/RNG-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17334795#comment-17334795 ] Alex Herbert commented on RNG-131: -- I created a JMH benchmark: ||Type||Description|| |Baseline|Generate

[jira] [Commented] (RNG-131) TriangleSampler: Sample uniformly within a triangle

2021-04-28 Thread Alex Herbert (Jira)
[ https://issues.apache.org/jira/browse/RNG-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17334740#comment-17334740 ] Alex Herbert commented on RNG-131: -- Having considered this a bit more it is possible to sample from any

[jira] [Commented] (RNG-131) TriangleSampler: Sample uniformly within a triangle

2021-04-26 Thread Alex Herbert (Jira)
[ https://issues.apache.org/jira/browse/RNG-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17332482#comment-17332482 ] Alex Herbert commented on RNG-131: -- You are correct. Detection of non-finite coordinates is not enough. The

[jira] [Commented] (RNG-131) TriangleSampler: Sample uniformly within a triangle

2021-04-26 Thread Gilles Sadowski (Jira)
[ https://issues.apache.org/jira/browse/RNG-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17332054#comment-17332054 ] Gilles Sadowski commented on RNG-131: - Regarding the introduction of the {{Coordinates}} class: Is it