public class LogFaculty extends Object
Modifier and Type | Field and Description |
---|---|
private double[] |
logfac
array to store log(0!)
|
Constructor and Description |
---|
LogFaculty(int n_max)
Constructor to precompute log(0!)
|
Modifier and Type | Method and Description |
---|---|
double |
getLogFaculty(int n)
log(n!)
|
double |
getLogFacultyFraction(int n1,
int n2)
log(n1!
|
int |
getMaxN() |
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.