Yeppp!
 All Classes Namespaces Functions Variables Properties Pages
Static Public Member Functions | List of all members
Math Class Reference

Vector mathematical functions More...

Static Public Member Functions

static unsafe void Cos_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length)
 Computes cosine on double precision (64-bit) floating-point elements. More...
 
static unsafe void Cos_V64f_V64f (double *x, double *y, int length)
 Computes cosine on an array of double precision (64-bit) floating-point elements. More...
 
static unsafe void EvaluatePolynomial_V32fV32f_V32f (float[] coefArray, int coefOffset, float[] xArray, int xOffset, float[] yArray, int yOffset, int coefCount, int length)
 Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements. More...
 
static unsafe void EvaluatePolynomial_V64fV64f_V64f (double[] coefArray, int coefOffset, double[] xArray, int xOffset, double[] yArray, int yOffset, int coefCount, int length)
 Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements. More...
 
static unsafe void EvaluatePolynomial_V32fV32f_V32f (float *coef, float *x, float *y, int coefCount, int length)
 Evaluates polynomial with single precision (32-bit) floating-point coefficients on an array of single precision (32-bit) floating-point elements. More...
 
static unsafe void EvaluatePolynomial_V64fV64f_V64f (double *coef, double *x, double *y, int coefCount, int length)
 Evaluates polynomial with double precision (64-bit) floating-point coefficients on an array of double precision (64-bit) floating-point elements. More...
 
static unsafe void Exp_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length)
 Computes exponent on double precision (64-bit) floating-point elements. More...
 
static unsafe void Exp_V64f_V64f (double *x, double *y, int length)
 Computes base-e exponent on an array of double precision (64-bit) floating-point elements. More...
 
static unsafe void Log_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length)
 Computes natural logarithm on double precision (64-bit) floating-point elements. More...
 
static unsafe void Log_V64f_V64f (double *x, double *y, int length)
 Computes natural logarithm on an array of double precision (64-bit) floating-point elements. More...
 
static unsafe void Sin_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length)
 Computes sine on double precision (64-bit) floating-point elements. More...
 
static unsafe void Sin_V64f_V64f (double *x, double *y, int length)
 Computes sine on an array of double precision (64-bit) floating-point elements. More...
 
static unsafe void Tan_V64f_V64f (double[] xArray, int xOffset, double[] yArray, int yOffset, int length)
 Computes tangent on double precision (64-bit) floating-point elements. More...
 
static unsafe void Tan_V64f_V64f (double *x, double *y, int length)
 Computes tangent on an array of double precision (64-bit) floating-point elements. More...
 

Detailed Description

Vector mathematical functions

Member Function Documentation

static unsafe void Cos_V64f_V64f ( double[]  xArray,
int  xOffset,
double[]  yArray,
int  yOffset,
int  length 
)
inlinestatic

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

Parameters
xArrayInput array.
xOffsetOffset of the first element in xArray.
yArrayOutput array.
yOffsetOffset of the first element in yArray.
lengthThe length of the subarrays to be used in computation.
Exceptions
System.NullReferenceExceptionIf xArray or yArray is null.
System.DataMisalignedExceptionIf xArray or yArray is not naturally aligned.
System.ArgumentExceptionIf length is negative.
System.IndexOutOfRangeExceptionIf xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
static unsafe void Cos_V64f_V64f ( double *  x,
double *  y,
int  length 
)
inlinestatic

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

Parameters
xPointer to the array of elements on which cosine will be computed.
yPointer the array where the computed cosines will be stored.
lengthLength of the arrays specified by x and y.
Exceptions
System.NullReferenceExceptionIf x or y is null.
System.DataMisalignedExceptionIf x or y is not naturally aligned.
System.ArgumentExceptionIf length is negative.
static unsafe void EvaluatePolynomial_V32fV32f_V32f ( float[]  coefArray,
int  coefOffset,
float[]  xArray,
int  xOffset,
float[]  yArray,
int  yOffset,
int  coefCount,
int  length 
)
inlinestatic

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

Parameters
xArrayArray of elements on which the polynomial will be evaluated.
xOffsetOffset of the first element in xArray.
coefArrayArray of polynomial coefficients.
coefOffsetOffset of the first element in yArray.
yArrayArray where the result of polynomial evaluation will be stored.
yOffsetOffset of the first element in yArray.
coefCountThe length of the slice of coef to be used in computation.
lengthThe length of the slice of xArray and yArray to use in computation.
Exceptions
System.NullReferenceExceptionIf coefArray, xArray or yArray is null.
System.DataMisalignedExceptionIf coefArray, xArray or yArray is not naturally aligned.
System.ArgumentExceptionIf coefCount or length is negative or coefCount is zero.
System.IndexOutOfRangeExceptionIf 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.
static unsafe void EvaluatePolynomial_V64fV64f_V64f ( double[]  coefArray,
int  coefOffset,
double[]  xArray,
int  xOffset,
double[]  yArray,
int  yOffset,
int  coefCount,
int  length 
)
inlinestatic

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

Parameters
xArrayArray of elements on which the polynomial will be evaluated.
xOffsetOffset of the first element in xArray.
coefArrayArray of polynomial coefficients.
coefOffsetOffset of the first element in yArray.
yArrayArray where the result of polynomial evaluation will be stored.
yOffsetOffset of the first element in yArray.
coefCountThe length of the slice of coef to be used in computation.
lengthThe length of the slice of xArray and yArray to use in computation.
Exceptions
System.NullReferenceExceptionIf coefArray, xArray or yArray is null.
System.DataMisalignedExceptionIf coefArray, xArray or yArray is not naturally aligned.
System.ArgumentExceptionIf coefCount or length is negative or coefCount is zero.
System.IndexOutOfRangeExceptionIf 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.
static unsafe void EvaluatePolynomial_V32fV32f_V32f ( float *  coef,
float *  x,
float *  y,
int  coefCount,
int  length 
)
inlinestatic

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

Parameters
xPointer to the array of elements on which the polynomial will be evaluated.
coefPointer to the array of polynomial coefficients.
yPointer the array where the result of polynomial evaluation will be stored.
coefCountNumber of polynomial coefficients. Should equal the polynomial degree plus one.
lengthLength of the arrays specified by x and y.
Exceptions
System.NullReferenceExceptionIf coef, x or y is null.
System.DataMisalignedExceptionIf coef, x or y is not naturally aligned.
System.ArgumentExceptionIf coefCount or length is negative or coefCount is zero.
static unsafe void EvaluatePolynomial_V64fV64f_V64f ( double *  coef,
double *  x,
double *  y,
int  coefCount,
int  length 
)
inlinestatic

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

Parameters
xPointer to the array of elements on which the polynomial will be evaluated.
coefPointer to the array of polynomial coefficients.
yPointer the array where the result of polynomial evaluation will be stored.
coefCountNumber of polynomial coefficients. Should equal the polynomial degree plus one.
lengthLength of the arrays specified by x and y.
Exceptions
System.NullReferenceExceptionIf coef, x or y is null.
System.DataMisalignedExceptionIf coef, x or y is not naturally aligned.
System.ArgumentExceptionIf coefCount or length is negative or coefCount is zero.
static unsafe void Exp_V64f_V64f ( double[]  xArray,
int  xOffset,
double[]  yArray,
int  yOffset,
int  length 
)
inlinestatic

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

Parameters
xArrayInput array.
xOffsetOffset of the first element in xArray.
yArrayOutput array.
yOffsetOffset of the first element in yArray.
lengthLength of the subarrays to be used in computation.
Exceptions
System.NullReferenceExceptionIf xArray or yArray is null.
System.DataMisalignedExceptionIf xArray or yArray is not naturally aligned.
System.ArgumentExceptionIf length is negative.
System.IndexOutOfRangeExceptionIf xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
static unsafe void Exp_V64f_V64f ( double *  x,
double *  y,
int  length 
)
inlinestatic

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

Parameters
xPointer to the array of elements on which exponent will be computed.
yPointer the array where the computed exponents will be stored.
lengthLength of the arrays specified by x and y.
Exceptions
System.NullReferenceExceptionIf x or y is null.
System.DataMisalignedExceptionIf x or y is not naturally aligned.
System.ArgumentExceptionIf length is negative.
static unsafe void Log_V64f_V64f ( double[]  xArray,
int  xOffset,
double[]  yArray,
int  yOffset,
int  length 
)
inlinestatic

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

Parameters
xArrayInput array.
xOffsetOffset of the first element in xArray.
yArrayOutput array.
yOffsetOffset of the first element in yArray.
lengthThe length of the subarrays to be used in computation.
Exceptions
System.NullReferenceExceptionIf xArray or yArray is null.
System.DataMisalignedExceptionIf xArray or yArray is not naturally aligned.
System.ArgumentExceptionIf length is negative.
System.IndexOutOfRangeExceptionIf xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
static unsafe void Log_V64f_V64f ( double *  x,
double *  y,
int  length 
)
inlinestatic

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

Parameters
xPointer to the array of elements on which logarithm will be computed.
yPointer the array where the computed logarithms will be stored.
lengthLength of the arrays specified by x and y.
Exceptions
System.NullReferenceExceptionIf x or y is null.
System.DataMisalignedExceptionIf x or y is not naturally aligned.
System.ArgumentExceptionIf length is negative.
static unsafe void Sin_V64f_V64f ( double[]  xArray,
int  xOffset,
double[]  yArray,
int  yOffset,
int  length 
)
inlinestatic

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

Parameters
xArrayInput array.
xOffsetOffset of the first element in xArray.
yArrayOutput array.
yOffsetOffset of the first element in yArray.
lengthThe length of the subarrays to be used in computation.
Exceptions
System.NullReferenceExceptionIf xArray or yArray is null.
System.DataMisalignedExceptionIf xArray or yArray is not naturally aligned.
System.ArgumentExceptionIf length is negative.
System.IndexOutOfRangeExceptionIf xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
static unsafe void Sin_V64f_V64f ( double *  x,
double *  y,
int  length 
)
inlinestatic

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

Parameters
xPointer to the array of elements on which sine will be computed.
yPointer the array where the computed sines will be stored.
lengthLength of the arrays specified by x and y.
Exceptions
System.NullReferenceExceptionIf x or y is null.
System.DataMisalignedExceptionIf x or y is not naturally aligned.
System.ArgumentExceptionIf length is negative.
static unsafe void Tan_V64f_V64f ( double[]  xArray,
int  xOffset,
double[]  yArray,
int  yOffset,
int  length 
)
inlinestatic

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

Parameters
xArrayInput array.
xOffsetOffset of the first element in xArray.
yArrayOutput array.
yOffsetOffset of the first element in yArray.
lengthThe length of the slices of xArray and yArray to use in computation.
Exceptions
System.NullReferenceExceptionIf xArray or yArray is null.
System.DataMisalignedExceptionIf xArray or yArray is not naturally aligned.
System.ArgumentExceptionIf length is negative.
System.IndexOutOfRangeExceptionIf xOffset is negative, xOffset + length exceeds the length of xArray, yOffset is negative, yOffset + length exceeds the length of yArray, or length is negative.
static unsafe void Tan_V64f_V64f ( double *  x,
double *  y,
int  length 
)
inlinestatic

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

Parameters
xPointer to the array of elements on which tangent will be computed.
yPointer the array where the computed tangents will be stored.
lengthLength of the arrays specified by x and y.
Exceptions
System.NullReferenceExceptionIf x or y is null.
System.DataMisalignedExceptionIf x or y is not naturally aligned.
System.ArgumentExceptionIf length is negative.