C# 클래스 Yeppp.Math

파일 보기 프로젝트 열기: DanWBR/dwsim3

공개 메소드들

메소드 설명
Cos_V64f_V64f ( double x, double y, int length ) : void

Computes cosine on an array of double precision (64-bit) floating-point elements.

Cos_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void

Computes cosine on double precision (64-bit) floating-point elements.

EvaluatePolynomial_V32fV32f_V32f ( float coef, float x, float y, int coefCount, int length ) : void

Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.

EvaluatePolynomial_V32fV32f_V32f ( float coefArray, int coefOffset, float xArray, int xOffset, float yArray, int yOffset, int coefCount, int length ) : void

Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.

EvaluatePolynomial_V64fV64f_V64f ( double coef, double x, double y, int coefCount, int length ) : void

Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.

EvaluatePolynomial_V64fV64f_V64f ( double coefArray, int coefOffset, double xArray, int xOffset, double yArray, int yOffset, int coefCount, int length ) : void

Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.

Exp_V64f_V64f ( double x, double y, int length ) : void

Computes base-e exponent on an array of double precision (64-bit) floating-point elements.

Exp_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void

Computes exponent on double precision (64-bit) floating-point elements.

Log_V64f_V64f ( double x, double y, int length ) : void

Computes natural logarithm on an array of double precision (64-bit) floating-point elements.

Log_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void

Computes natural logarithm on double precision (64-bit) floating-point elements.

Sin_V64f_V64f ( double x, double y, int length ) : void

Computes sine on an array of double precision (64-bit) floating-point elements.

Sin_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void

Computes sine on double precision (64-bit) floating-point elements.

Tan_V64f_V64f ( double x, double y, int length ) : void

Computes tangent on an array of double precision (64-bit) floating-point elements.

Tan_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void

Computes tangent on double precision (64-bit) floating-point elements.

비공개 메소드들

메소드 설명
Bind ( NativeLibrary nativeLibrary ) : void
Unbind ( ) : void
yepMath_Cos_V64f_V64f ( double x, double y, System length ) : Status
yepMath_EvaluatePolynomial_V32fV32f_V32f ( float coef, float x, float y, System coefCount, System length ) : Status
yepMath_EvaluatePolynomial_V64fV64f_V64f ( double coef, double x, double y, System coefCount, System length ) : Status
yepMath_Exp_V64f_V64f ( double x, double y, System length ) : Status
yepMath_Log_V64f_V64f ( double x, double y, System length ) : Status
yepMath_Sin_V64f_V64f ( double x, double y, System length ) : Status
yepMath_Tan_V64f_V64f ( double x, double y, System length ) : Status

메소드 상세

Cos_V64f_V64f() 공개 정적인 메소드

Computes cosine on an array of double precision (64-bit) floating-point elements.
If x or y is null. If x or y is not naturally aligned. If length is negative.
public static Cos_V64f_V64f ( double x, double y, int length ) : void
x double Pointer to the array of elements on which cosine will be computed.
y double Pointer the array where the computed cosines will be stored.
length int Length of the arrays specified by x and y.
리턴 void

Cos_V64f_V64f() 공개 정적인 메소드

Computes cosine on double precision (64-bit) floating-point elements.
If xArray or yArray is null. If xArray or yArray is not naturally aligned. If length is negative. If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
public static Cos_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void
xArray double Input array.
xOffset int Offset of the first element in xArray.
yArray double Output array.
yOffset int Offset of the first element in yArray.
length int The length of the subarrays to be used in computation.
리턴 void

EvaluatePolynomial_V32fV32f_V32f() 공개 정적인 메소드

Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.
If coef, x or y is null. If coef, x or y is not naturally aligned. If coefCount or length is negative or coefCount is zero.
public static EvaluatePolynomial_V32fV32f_V32f ( float coef, float x, float y, int coefCount, int length ) : void
coef float Pointer to the array of polynomial coefficients.
x float Pointer to the array of elements on which the polynomial will be evaluated.
y float Pointer the array where the result of polynomial evaluation will be stored.
coefCount int Number of polynomial coefficients. Should equal the polynomial degree plus one.
length int Length of the arrays specified by x and y.
리턴 void

EvaluatePolynomial_V32fV32f_V32f() 공개 정적인 메소드

Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements.
If coefArray, xArray or yArray is null. If coefArray, xArray or yArray is not naturally aligned. If coefCount or length is negative or coefCount is zero. If coefOffset is negative, coefOffset + coefCount exceeds the length of coefArray, xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, coefCount is negative, or length is negative.
public static EvaluatePolynomial_V32fV32f_V32f ( float coefArray, int coefOffset, float xArray, int xOffset, float yArray, int yOffset, int coefCount, int length ) : void
coefArray float Array of polynomial coefficients.
coefOffset int Offset of the first element in yArray.
xArray float Array of elements on which the polynomial will be evaluated.
xOffset int Offset of the first element in xArray.
yArray float Array where the result of polynomial evaluation will be stored.
yOffset int Offset of the first element in yArray.
coefCount int The length of the slice of coef to be used in computation.
length int The length of the slice of xArray and yArray to use in computation.
리턴 void

EvaluatePolynomial_V64fV64f_V64f() 공개 정적인 메소드

Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.
If coef, x or y is null. If coef, x or y is not naturally aligned. If coefCount or length is negative or coefCount is zero.
public static EvaluatePolynomial_V64fV64f_V64f ( double coef, double x, double y, int coefCount, int length ) : void
coef double Pointer to the array of polynomial coefficients.
x double Pointer to the array of elements on which the polynomial will be evaluated.
y double Pointer the array where the result of polynomial evaluation will be stored.
coefCount int Number of polynomial coefficients. Should equal the polynomial degree plus one.
length int Length of the arrays specified by x and y.
리턴 void

EvaluatePolynomial_V64fV64f_V64f() 공개 정적인 메소드

Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements.
If coefArray, xArray or yArray is null. If coefArray, xArray or yArray is not naturally aligned. If coefCount or length is negative or coefCount is zero. If coefOffset is negative, coefOffset + coefCount exceeds the length of coefArray, xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, coefCount is negative, or length is negative.
public static EvaluatePolynomial_V64fV64f_V64f ( double coefArray, int coefOffset, double xArray, int xOffset, double yArray, int yOffset, int coefCount, int length ) : void
coefArray double Array of polynomial coefficients.
coefOffset int Offset of the first element in yArray.
xArray double Array of elements on which the polynomial will be evaluated.
xOffset int Offset of the first element in xArray.
yArray double Array where the result of polynomial evaluation will be stored.
yOffset int Offset of the first element in yArray.
coefCount int The length of the slice of coef to be used in computation.
length int The length of the slice of xArray and yArray to use in computation.
리턴 void

Exp_V64f_V64f() 공개 정적인 메소드

Computes base-e exponent on an array of double precision (64-bit) floating-point elements.
If x or y is null. If x or y is not naturally aligned. If length is negative.
public static Exp_V64f_V64f ( double x, double y, int length ) : void
x double Pointer to the array of elements on which exponent will be computed.
y double Pointer the array where the computed exponents will be stored.
length int Length of the arrays specified by x and y.
리턴 void

Exp_V64f_V64f() 공개 정적인 메소드

Computes exponent on double precision (64-bit) floating-point elements.
If xArray or yArray is null. If xArray or yArray is not naturally aligned. If length is negative. If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
public static Exp_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void
xArray double Input array.
xOffset int Offset of the first element in xArray.
yArray double Output array.
yOffset int Offset of the first element in yArray.
length int Length of the subarrays to be used in computation.
리턴 void

Log_V64f_V64f() 공개 정적인 메소드

Computes natural logarithm on an array of double precision (64-bit) floating-point elements.
If x or y is null. If x or y is not naturally aligned. If length is negative.
public static Log_V64f_V64f ( double x, double y, int length ) : void
x double Pointer to the array of elements on which logarithm will be computed.
y double Pointer the array where the computed logarithms will be stored.
length int Length of the arrays specified by x and y.
리턴 void

Log_V64f_V64f() 공개 정적인 메소드

Computes natural logarithm on double precision (64-bit) floating-point elements.
If xArray or yArray is null. If xArray or yArray is not naturally aligned. If length is negative. If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
public static Log_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void
xArray double Input array.
xOffset int Offset of the first element in xArray.
yArray double Output array.
yOffset int Offset of the first element in yArray.
length int The length of the subarrays to be used in computation.
리턴 void

Sin_V64f_V64f() 공개 정적인 메소드

Computes sine on an array of double precision (64-bit) floating-point elements.
If x or y is null. If x or y is not naturally aligned. If length is negative.
public static Sin_V64f_V64f ( double x, double y, int length ) : void
x double Pointer to the array of elements on which sine will be computed.
y double Pointer the array where the computed sines will be stored.
length int Length of the arrays specified by x and y.
리턴 void

Sin_V64f_V64f() 공개 정적인 메소드

Computes sine on double precision (64-bit) floating-point elements.
If xArray or yArray is null. If xArray or yArray is not naturally aligned. If length is negative. If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
public static Sin_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void
xArray double Input array.
xOffset int Offset of the first element in xArray.
yArray double Output array.
yOffset int Offset of the first element in yArray.
length int The length of the subarrays to be used in computation.
리턴 void

Tan_V64f_V64f() 공개 정적인 메소드

Computes tangent on an array of double precision (64-bit) floating-point elements.
If x or y is null. If x or y is not naturally aligned. If length is negative.
public static Tan_V64f_V64f ( double x, double y, int length ) : void
x double Pointer to the array of elements on which tangent will be computed.
y double Pointer the array where the computed tangents will be stored.
length int Length of the arrays specified by x and y.
리턴 void

Tan_V64f_V64f() 공개 정적인 메소드

Computes tangent on double precision (64-bit) floating-point elements.
If xArray or yArray is null. If xArray or yArray is not naturally aligned. If length is negative. If xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
public static Tan_V64f_V64f ( double xArray, int xOffset, double yArray, int yOffset, int length ) : void
xArray double Input array.
xOffset int Offset of the first element in xArray.
yArray double Output array.
yOffset int Offset of the first element in yArray.
length int The length of the slices of xArray and yArray to use in computation.
리턴 void