[Math] Low-discrepancy sequences

2021-05-30 Thread Gilles Sadowski
Hello.

Halton and Sobol sequences have been implemented in the "random"
package.  From Wikipedia[1]:
---CUT---
Low-discrepancy sequences are also called quasirandom sequences,
due to their common use as a replacement of uniformly distributed
random numbers. The "quasi" modifier is used to denote more clearly
that the values of a low-discrepancy sequence are neither random nor
pseudorandom.
---CUT---

TL;DR;
I propose to create an interface "LowDiscrepancySequence" to properly
represents the concept (as opposed to "RandomVectorGenerator").

Regards,
Gilles

[1] https://en.wikipedia.org/wiki/Low-discrepancy_sequence

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



Re: [VOTE] Release Apache Commons Pool 2.10.0 based on RC1

2021-05-30 Thread Matt Sicker
+1

Signatures are good on everything. Spot checks on basic release stuff
are all good (license, notice, rat check etc.). Built and tested fine
on the following (Java 11, 15, 16):

Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/maven/3.8.1/libexec
Java version: 16.0.1, vendor: Microsoft, runtime:
/Library/Java/JavaVirtualMachines/microsoft-16.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.3", arch: "x86_64", family: "mac"

Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/maven/3.8.1/libexec
Java version: 15.0.2, vendor: N/A, runtime:
/usr/local/Cellar/openjdk/15.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.3.1", arch: "x86_64", family: "mac"

Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/maven/3.8.1/libexec
Java version: 11.0.10, vendor: Oracle Corporation, runtime:
/usr/local/Cellar/openjdk@11/11.0.10/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.3.1", arch: "x86_64", family: "mac"

Notes:
- There are some error logs output in later versions about cglib:
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1
(file:/Users/matt/.m2/repository/cglib/cglib/3.3.0/cglib-3.3.0.jar) to
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of
net.sf.cglib.core.ReflectUtils$1

On Fri, 28 May 2021 at 16:04, Gary Gregory  wrote:
>
> We have added two enhancements since Apache Commons Pool 2.9.0 was
> released, so I would like to release Apache Commons Pool 2.10.0.
>
> Apache Commons Pool 2.10.0 RC1 is available for review here:
> https://dist.apache.org/repos/dist/dev/commons/pool/2.10.0-RC1 (svn
> revision 47956)
>
> The Git tag commons-pool-2.10.0-RC1 commit for this RC is
> 48c289d95c2374ee11e3276a8bcb93b7f99015be which you can browse here:
>
> https://gitbox.apache.org/repos/asf?p=commons-pool.git;a=commit;h=48c289d95c2374ee11e3276a8bcb93b7f99015be
> You may checkout this tag using:
> git clone https://gitbox.apache.org/repos/asf/commons-pool.git --branch
> commons-pool-2.10.0-RC1 commons-pool-2.10.0-RC1
>
> Maven artifacts are here:
>
> https://repository.apache.org/content/repositories/orgapachecommons-1549/org/apache/commons/commons-pool2/2.10.0/
>
> These are the artifacts and their hashes:
>
> #Release SHA-512s
> #Fri May 28 16:51:08 EDT 2021
> commons-pool2-2.10.0-bin.tar.gz=850ea4765b913aab37fbafff938568f9c0415ad0add4f4894873a2caeb3286ed6293ee6cd477f39c5b22c52514abca799504cad3b74ed78d7de9550af48fb6e4
> commons-pool2-2.10.0-bin.zip=fd411668de81ab686e35901cddd849f6517bdabb7b449d736aee174263184ff2b9da551d4940ecf4ff58168eb86f69b4ce98c4ccc9e5efead9b0bf9a13cb3c0e
> commons-pool2-2.10.0-javadoc.jar=4804de4692de627ba3129f01937c4c9ceb85676ec807d12ce99670e341b43a170d2ba7f508389f31b877215d118acdb38a5342d984d981704503fb70501ab8d8
> commons-pool2-2.10.0-sources.jar=ab3a8e93d39899be06805f72411dc36da98f1195a5468bae76e14509975dd482287ed41af6469487745b62d4280f50f4890bcaca2e990ae69957ecf66ae81eac
> commons-pool2-2.10.0-src.tar.gz=dcfdd6ebfcd40a712cc765d4aa7888674dc7c9c0635ee716471c1c833b8704d182b632c700881cd903a7c58b9d0adfddfde9f9b40acdf143668c18f3fde61ac7
> commons-pool2-2.10.0-src.zip=fe4dec5d15b5a8d2ba979548ab0650097789ed3b9009b24aaa6ee7b68deda0cc16b517379b493767ebfcc7a970843b7adc9de02c796401451f30260b46435331
> commons-pool2-2.10.0-test-sources.jar=f7d1c5f7bad1b853cd755402bcc1c4c0fcf153897bdac3427e0918f351984bf33a045b813653240ff66d06885b4e933b2154b2bdf0c709b37380bf8998c9a9d0
> commons-pool2-2.10.0-tests.jar=37f6dcef0ac12d4bad10e571c43f96129f573678d48b94174fef1f8c745c4c58ae73118f2f60e5a83c70c3580cf6b3185e2d7dc363cdf636482b3cd0c67b4602
>
> I have tested this with 'mvn -V -Prelease -Ptest-deploy -P jacoco -P
> japicmp clean package site deploy' using:
>
> Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
> Maven home: /usr/local/Cellar/maven/3.8.1/libexec
> Java version: 1.8.0_292, vendor: AdoptOpenJDK, runtime:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
>
> Details of changes since 2.9.0 are in the release notes:
>
> https://dist.apache.org/repos/dist/dev/commons/pool/2.10.0-RC1/RELEASE-NOTES.txt
>
> https://dist.apache.org/repos/dist/dev/commons/pool/2.10.0-RC1/site/changes-report.html
>
> Site:
>
> https://dist.apache.org/repos/dist/dev/commons/pool/2.10.0-RC1/site/index.html
> (note some *relative* links are broken and the 2.10.0 directories are
> not yet created - these will be OK once the site is deployed.)
>
> JApiCmp Report (compared to 2.9.0):
>
> 

[Math][Request for review] MATH-1592

2021-05-30 Thread Samy Badjoudj

Hi,

As part of modularization coming,

https://issues.apache.org/jira/browse/MATH-1592

https://github.com/apache/commons-math/pull/186

The idea there, is that TransformerMap in descriptive statistics, will 
not be part of the api anymore for a clear separation of concerns.

Caller will perform transformations on its side if needed.

Thanks

Kind regards


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



[Math][Request for review] MATH-1468

2021-05-30 Thread Samy Badjoudj

Hi,

As part of modularization coming,

https://issues.apache.org/jira/browse/MATH-1468

https://github.com/apache/commons-math/pull/185

Decimal64 and Decimal64Field should not be part of the public API, and 
go along with the tests they are us in.


Thanks

Kind regards


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



Re: [Math] Setup SonarCloud

2021-05-30 Thread Alex Herbert
On Sun, 30 May 2021 at 06:53, Alex Herbert  wrote:

> They need to have an authorisation token.
>
> All the jobs for RNG, Numbers and Geometry use a token from my authorised
> login. I will look into setting it up for math.
>

I created a new token and re-ran the job. It has the same error. So I think
that the copy from the Geometry set-up did copy the authorisation token.

I think that the project must be created in Sonarcloud. In the Jenkins
build configuration, Maven is run with the property:

-Dsonar.projectKey=commons-math

So the commons-math project should exist under the Apache Software
Foundation organisation (which is where my login authorisation token can
send analysis reports). There are 2 projects already in Sonar for
commons-math under private individuals. I assume that we can create an
official one under Apache.

I do not have permissions to create a new analysis project (when I try to
create one under the Apache organisation). So this is a job for INFRA.
Ticket created here:

https://issues.apache.org/jira/browse/INFRA-21932

Alex