Method | Description | |
---|---|---|
AsymptFactorial ( double x ) : double | ||
AsymptFactorial ( int x ) : string | ||
AsymptSwingingFactorial ( double x ) : double | ||
BitCount ( int w ) : int |
Bit count
|
|
BitLength ( byte b ) : int | ||
BitLength ( int w ) : int |
Calculates the bit length of an integer.
|
|
CeilLog2 ( int n ) : int |
Ceiling of the binary logarithm.
|
|
ClearOpCounter ( ) : void | ||
ExactDecimalDigitsPerMillisecond ( int n, long ms ) : long | ||
Exp ( double x ) : string | ||
Factorial ( int n ) : Sharith.Arithmetic.XInt | ||
FloorLog2 ( int n ) : int |
Floor of the binary logarithm.
|
|
FloorSqrt ( int n ) : int |
Floor of the square root.
|
|
GetOpCounts ( ) : long[] | ||
Log2 ( double value ) : double |
Logarithm to base 10. Logarithm to base 2.
|
|
OmegaSwingHighBound ( int n ) : int | ||
PiHighBound ( long n ) : int |
High bound for number of primes not exeeding n.
|
|
Product ( Sharith.Arithmetic.XInt a ) : Sharith.Arithmetic.XInt | ||
Product ( Sharith.Arithmetic.XInt a, int start, int len ) : Sharith.Arithmetic.XInt | ||
Product ( int a ) : Sharith.Arithmetic.XInt | ||
Product ( int a, int start, int length ) : Sharith.Arithmetic.XInt | ||
Product ( int a, int start, int length, int increment ) : Sharith.Arithmetic.XInt | ||
Product ( long a ) : Sharith.Arithmetic.XInt | ||
Product ( long a, int len ) : Sharith.Arithmetic.XInt | ||
RecProduct ( long s, int n, int m ) : Sharith.Arithmetic.XInt | ||
Sqrt ( int n ) : int |
Berechnung der groessten Zahl, deren Quadrat n nicht uebersteigt.
|
Method | Description | |
---|---|---|
BigRecProduct ( Sharith.Arithmetic.XInt s, int n, int m ) : Sharith.Arithmetic.XInt |
public static AsymptFactorial ( double x ) : double | ||
x | double | |
return | double |
public static AsymptFactorial ( int x ) : string | ||
x | int | |
return | string |
public static AsymptSwingingFactorial ( double x ) : double | ||
x | double | |
return | double |
public static ExactDecimalDigitsPerMillisecond ( int n, long ms ) : long | ||
n | int | |
ms | long | |
return | long |
public static Factorial ( int n ) : Sharith.Arithmetic.XInt | ||
n | int | |
return | Sharith.Arithmetic.XInt |
public static OmegaSwingHighBound ( int n ) : int | ||
n | int | |
return | int |
public static Product ( Sharith.Arithmetic.XInt a ) : Sharith.Arithmetic.XInt | ||
a | Sharith.Arithmetic.XInt | |
return | Sharith.Arithmetic.XInt |
public static Product ( Sharith.Arithmetic.XInt a, int start, int len ) : Sharith.Arithmetic.XInt | ||
a | Sharith.Arithmetic.XInt | |
start | int | |
len | int | |
return | Sharith.Arithmetic.XInt |
public static Product ( int a ) : Sharith.Arithmetic.XInt | ||
a | int | |
return | Sharith.Arithmetic.XInt |
public static Product ( int a, int start, int length ) : Sharith.Arithmetic.XInt | ||
a | int | |
start | int | |
length | int | |
return | Sharith.Arithmetic.XInt |
public static Product ( int a, int start, int length, int increment ) : Sharith.Arithmetic.XInt | ||
a | int | |
start | int | |
length | int | |
increment | int | |
return | Sharith.Arithmetic.XInt |
public static Product ( long a ) : Sharith.Arithmetic.XInt | ||
a | long | |
return | Sharith.Arithmetic.XInt |
public static Product ( long a, int len ) : Sharith.Arithmetic.XInt | ||
a | long | |
len | int | |
return | Sharith.Arithmetic.XInt |
public static RecProduct ( long s, int n, int m ) : Sharith.Arithmetic.XInt | ||
s | long | |
n | int | |
m | int | |
return | Sharith.Arithmetic.XInt |