 |
Bsoft
2.1.0
Bernard's software package
|
Go to the documentation of this file.
19 double bfloor(
double value,
int places);
20 double bround(
double value,
int places);
23 int partition(vector<double>& a,
int n,
int k);
29 double betacf(
double a,
double b,
double x);
30 double betai (
double a,
double b,
double x);
double bfloor(double value, int places)
Truncates a value to a specified number of decimal places.
double factorial(int n)
Calculates the factorial of n.
double betacf(double a, double b, double x)
Evaluates the continued fraction for the incomplete beta function.
double number_of_combinations(int n, int r)
Calculates the number of combinations of size r in set of size n.
Header file for the string class.
int partition(vector< double > &a, int n, int k)
Determines the index k'th value in the array.
long * prime_factors(long number, long &n)
Finds all the prime factor for the input number.
Header file for general utilities.
double kmeans_threshold(long n, double *v)
Finds a threshold that partitions an array into foreground and background clusters.
double fishers_z_transform(double value)
Calculates Fisher's z-transform.
double bround(double value, int places)
Rounds a value to a specified number of decimal places.
long smallest_prime(long number)
Finds the smallest prime number factor of the input number.
double betai(double a, double b, double x)
Calculates the incomplete beta function Ix(a,b).
int next_permutation(Bstring &s)
Produces the next permutation in lexical order.