Skip to content

Commit

Permalink
Improved JavaDoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfries committed Jun 27, 2024
1 parent 17ddcd2 commit 5c42243
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Note that the acceptance rejection methods requires a two dimensional uniform random number sequence with independent components.
*
* @author Christian Fries
* @version 1.0
* @version 1.1
*/
public class AcceptanceRejectionRandomNumberGenerator implements RandomNumberGenerator1D {

Expand All @@ -28,6 +28,7 @@ public class AcceptanceRejectionRandomNumberGenerator implements RandomNumberGen
private final double acceptanceLevel;

/**
* Create a random number sequence using the given input sequence and acceptance-rejection sampling.
*
* @param uniformRandomNumberGenerator A two dimension (at least) uniform number generator (with i.i.d components). The first two components will be used.
* @param targetDensity The density f of the target distribution F.
Expand Down

0 comments on commit 5c42243

Please sign in to comment.