C# 클래스 Sharith.MathUtils.XMath

파일 보기 프로젝트 열기: PeterLuschny/Fast-Factorial-Functions 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
BigRecProduct ( Sharith.Arithmetic.XInt s, int n, int m ) : Sharith.Arithmetic.XInt

메소드 상세

AsymptFactorial() 공개 정적인 메소드

public static AsymptFactorial ( double x ) : double
x double
리턴 double

AsymptFactorial() 공개 정적인 메소드

public static AsymptFactorial ( int x ) : string
x int
리턴 string

AsymptSwingingFactorial() 공개 정적인 메소드

public static AsymptSwingingFactorial ( double x ) : double
x double
리턴 double

BitCount() 공개 정적인 메소드

Bit count
public static BitCount ( int w ) : int
w int
리턴 int

BitLength() 공개 정적인 메소드

public static BitLength ( byte b ) : int
b byte
리턴 int

BitLength() 공개 정적인 메소드

Calculates the bit length of an integer.
public static BitLength ( int w ) : int
w int
리턴 int

CeilLog2() 공개 정적인 메소드

Ceiling of the binary logarithm.
public static CeilLog2 ( int n ) : int
n int
리턴 int

ClearOpCounter() 공개 정적인 메소드

public static ClearOpCounter ( ) : void
리턴 void

ExactDecimalDigitsPerMillisecond() 공개 정적인 메소드

public static ExactDecimalDigitsPerMillisecond ( int n, long ms ) : long
n int
ms long
리턴 long

Exp() 공개 정적인 메소드

public static Exp ( double x ) : string
x double
리턴 string

Factorial() 공개 정적인 메소드

public static Factorial ( int n ) : Sharith.Arithmetic.XInt
n int
리턴 Sharith.Arithmetic.XInt

FloorLog2() 공개 정적인 메소드

Floor of the binary logarithm.
public static FloorLog2 ( int n ) : int
n int
리턴 int

FloorSqrt() 공개 정적인 메소드

Floor of the square root.
public static FloorSqrt ( int n ) : int
n int
리턴 int

GetOpCounts() 공개 정적인 메소드

public static GetOpCounts ( ) : long[]
리턴 long[]

Log2() 공개 정적인 메소드

Logarithm to base 10. Logarithm to base 2.
public static Log2 ( double value ) : double
value double
리턴 double

OmegaSwingHighBound() 공개 정적인 메소드

public static OmegaSwingHighBound ( int n ) : int
n int
리턴 int

PiHighBound() 공개 정적인 메소드

High bound for number of primes not exeeding n.
public static PiHighBound ( long n ) : int
n long
리턴 int

Product() 공개 정적인 메소드

public static Product ( Sharith.Arithmetic.XInt a ) : Sharith.Arithmetic.XInt
a Sharith.Arithmetic.XInt
리턴 Sharith.Arithmetic.XInt

Product() 공개 정적인 메소드

public static Product ( Sharith.Arithmetic.XInt a, int start, int len ) : Sharith.Arithmetic.XInt
a Sharith.Arithmetic.XInt
start int
len int
리턴 Sharith.Arithmetic.XInt

Product() 공개 정적인 메소드

public static Product ( int a ) : Sharith.Arithmetic.XInt
a int
리턴 Sharith.Arithmetic.XInt

Product() 공개 정적인 메소드

public static Product ( int a, int start, int length ) : Sharith.Arithmetic.XInt
a int
start int
length int
리턴 Sharith.Arithmetic.XInt

Product() 공개 정적인 메소드

public static Product ( int a, int start, int length, int increment ) : Sharith.Arithmetic.XInt
a int
start int
length int
increment int
리턴 Sharith.Arithmetic.XInt

Product() 공개 정적인 메소드

public static Product ( long a ) : Sharith.Arithmetic.XInt
a long
리턴 Sharith.Arithmetic.XInt

Product() 공개 정적인 메소드

public static Product ( long a, int len ) : Sharith.Arithmetic.XInt
a long
len int
리턴 Sharith.Arithmetic.XInt

RecProduct() 공개 정적인 메소드

public static RecProduct ( long s, int n, int m ) : Sharith.Arithmetic.XInt
s long
n int
m int
리턴 Sharith.Arithmetic.XInt

Sqrt() 공개 정적인 메소드

Berechnung der groessten Zahl, deren Quadrat n nicht uebersteigt.
public static Sqrt ( int n ) : int
n int
리턴 int