You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Samy Badjoudj <sa...@gmail.com> on 2021/06/01 05:28:19 UTC

[MATH] (MATH-1597) Low-discrepancy sequence

Hi Gilles,

Following up the discussion on
https://issues.apache.org/jira/browse/MATH-1597

* My suggestion was for "skip" to be similar to "jump" (i.e. it would
return a "SkippableSequence")... *

Yes will improve the API design.

I tried it by returning the LowerDiscrepencySequence so we do not end up in
a cul de sac.
So the caller will have its next vector that way

double[] currentVector = generator.skipTo(5).get();

The PR is updated, please let me know your thoughts

Thanks

Re: [MATH] (MATH-1597) Low-discrepancy sequence

Posted by Gilles Sadowski <gi...@gmail.com>.
Hi.

Le mar. 1 juin 2021 à 07:28, Samy Badjoudj <sa...@gmail.com> a écrit :
>
> Hi Gilles,
>
> Following up the discussion on
> https://issues.apache.org/jira/browse/MATH-1597
>
> * My suggestion was for "skip" to be similar to "jump" (i.e. it would
> return a "SkippableSequence")... *
>
> Yes will improve the API design.

But the PR does not implement the suggestion...

[Branch "modularized_master" is now stale; please use "master".]

>
> I tried it by returning the LowerDiscrepencySequence so we do not end up in
> a cul de sac.
> So the caller will have its next vector that way
>
> double[] currentVector = generator.skipTo(5).get();
>
> The PR is updated, please let me know your thoughts

You might want to take on the issues which I've mentioned
on the *other* thread.

Regards,
Gilles

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