The NMathFunctions type exposes the following members.

Constructors

  NameDescription
NMathFunctions
Initializes a new instance of the NMathFunctions class

Methods

  NameDescription
AbsOverloaded.
AbsSumOverloaded.
AcosOverloaded.
And
Returns the logical AND of two boolean values.
ArgOverloaded.
ArrayOfRandomNumbersOverloaded.
AsinOverloaded.
AtanOverloaded.
Atan2Overloaded.
CeilOverloaded.
ConditionNumberOverloaded.
ConjOverloaded.
ConjDotOverloaded.
ConjTransposeOverloaded.
ConjTransposeProductOverloaded.
CopyOnlyReal
Returns a copy of the input matrix only if the input matrix contains only real values (no NaN's of infinite values allowed). If the input matrix contains any non-real values an InvalidArgumentException is thrown.
CosOverloaded.
CoshOverloaded.
CrossOverloaded.
CumulativeProductOverloaded.
CumulativeSumOverloaded.
DeltaOverloaded.
DeterminantOverloaded.
DotOverloaded.
DoubleNormalRandomMatrix
Creates a matrix of normally distributed random numbers.
DoubleNormalRandomVector
Creates a vector of normally distributed random numbers.
DoubleRandomMatrix
Creates a matrix of uniformly distributed random numbers.
DoubleRandomVector
Creates a vextor of uniformly distributed random numbers.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EstimateConditionNumberOverloaded.
ExpOverloaded.
ExpmOverloaded.
FastMatrixCopy
Copies a matrix WITH COMPACT STRIDE to the indicated matrix.
FastMatrixDivide
Fast elementwise matrix division. All matrices must have the same size.
FastMatrixMultiply
Fast elementwise marix product. All matrices must have the same number of rows and columns.
FastMatrixSubract
Fast elementwise matrix subtraction. All matrices must have the same size.
FillArrayWithNormalRandomNumbers
Fills the given array with normally distributed random numbers.
FillArrayWithRandomNumbersOverloaded.
FloorOverloaded.
FrobeniusNorm
Calculates the Frobenius norm.
FrobNormDiffSqr
Calculates the square of the Frobenius norm of the difference between two matrices.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetProjectionMatrix
Calculates the projection matrix.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ImagOverloaded.
InverseOverloaded.
KthSmallestValue<(Of <(T>)>)
Finds the Kth smallest value in the given array. k starts with 0, so with k = 0, the smallest value is returned, k returns the second smallest value, and so forth.
LogOverloaded.
Log10Overloaded.
MaxAbs1IndexOverloaded.
MaxAbs1ValueOverloaded.
MaxAbsIndexOverloaded.
MaxAbsValueOverloaded.
MaxIndexOverloaded.
MaxValueOverloaded.
MeanOverloaded.
MedianOverloaded.
MinAbs1IndexOverloaded.
MinAbs1ValueOverloaded.
MinAbsIndexOverloaded.
MinAbsValueOverloaded.
MinIndexOverloaded.
MinValueOverloaded.
NaNCountOverloaded.
NaNMaxIndexOverloaded.
NaNMaxValueOverloaded.
NaNMeanOverloaded.
NaNMedianOverloaded.
NaNMinIndexOverloaded.
NaNMinValueOverloaded.
NaNSortOverloaded.
NaNSumOverloaded.
NaNSumOfSquaresOverloaded.
NaNVarianceOverloaded.
Not
Returns the logical negation of a boolean value.
Or
Returns the logical OR of two boolean values.
OuterProductOverloaded.
PowOverloaded.
ProductOverloaded.
ProductPlusConst
Returns the product of the two matrices plus the constant.
ProductTransposeOverloaded.
PseudoInverseOverloaded.
RealOverloaded.
RepMatOverloaded.
RoundOverloaded.
SignOverloaded.
SinOverloaded.
SinhOverloaded.
SolveOverloaded.
SortOverloaded.
SortByColumnOverloaded.
SqrtOverloaded.
SumOverloaded.
SumOfSquaresOverloaded.
TanOverloaded.
TanhOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TraceOverloaded.
TransposeOverloaded.
TransposeProductOverloaded.
VarianceOverloaded.
Xor
Returns the exclusive-OR of two boolean values.

Fields

  NameDescription
AbsFunction
Absolute value function.
AcosFunction
Arccosine function.
AsinFunction
Arcsine function.
Atan2Function
Arctangent2 function.
AtanFunction
Arctangent function.
BooleanAndFunction
Logical AND function.
BooleanNotFunction
Logical NOT function.
BooleanOrFunction
Logical OR function.
BooleanXorFunction
Logical exclusive-OR function.
CeilFunction
Ceiling function.
CosFunction
Cosine function.
CoshFunction
Hyperbolic cosine function.
DoubleComplexAbsFunction
Absolute value function. Returns the square root of the sum of the squares of the real and imaginary parts of a complex number.
DoubleComplexArgFunction
Complex Argument function. If the polar coordinates for the complex number z are (r,theta), then this function, when applied to z will return the real number theta.
DoubleComplexConjFunction
Conjugate function. Returns the complex conjugate x - iy of the complex number x + iy.
DoubleComplexCosFunction
Cosine function.
DoubleComplexCoshFunction
Hyperbolic cosine function.
DoubleComplexExpFunction
Exponential function
DoubleComplexImagFunction
Imaginary function. Returns the imaginary part of a complex number.
DoubleComplexLogFunction
Natural logarithm function.
DoubleComplexMeanFunction
Mean function.
DoubleComplexPow2Function
Power function.
DoubleComplexPowFunction
Power function.
DoubleComplexRealFunction
Real function. Returns the real part of a complex number.
DoubleComplexSinFunction
Sine function.
DoubleComplexSinhFunction
Hyperbolic sine function.
DoubleComplexSqrtFunction
Square root function.
DoubleComplexSumFunction
Sum function.
DoubleComplexSumOfSquaresFunction
Sum of squares function.
DoubleComplexTanFunction
Tangent function.
DoubleComplexTanhFunction
Hyperbolic tangent function.
DoubleComplexVarianceFunction
Variance function.
DoubleMaxValueFunction
Maximum value.
DoubleMeanFunction
Mean function.
DoubleMedianFunction
Median function.
DoubleMinValueFunction
Minimum value.
DoubleNaNCountFunction
NaN count function.
DoubleNaNMaxValueFunction
NaN maximum value.
DoubleNaNMeanFunction
NaN mean function.
DoubleNaNMedianFunction
NaN median function.
DoubleNaNMinValueFunction
NaN minimum value.
DoubleNaNSumFunction
NaN sum function.
DoubleNaNSumOfSquaresFunction
NaN sum of squares function.
DoubleNaNVarianceFunction
NaN variance function.
DoubleSumFunction
Sum function.
DoubleSumOfSquaresFunction
Sum of squares function.
DoubleVarianceFunction
Variance function.
ExpFunction
Exponential function.
FloatAbsFunction
Absolute value function.
FloatAcosFunction
Arccosine function.
FloatAsinFunction
Arcsine function.
FloatAtan2Function
Arctangent2 function.
FloatAtanFunction
Arctangent function.
FloatCeilingFunction
Ceiling function.
FloatComplexAbsFunction
Absolute value function. Returns the square root of the sum of the squares of the real and imaginary parts of a complex number.
FloatComplexArgFunction
Complex Argument function. If the polar coordinates for the complex number z are (r,theta), then this function, when applied to z will return the real number theta.
FloatComplexConjFunction
Conjugate function. Returns the complex conjugate x - iy of the complex number x + iy.
FloatComplexCosFunction
Cosine function.
FloatComplexCoshFunction
Hyperbolic cosine function.
FloatComplexExpFunction
Exponential function.
FloatComplexImagFunction
Imaginary function. Returns the imaginary part of a complex number.
FloatComplexLogFunction
Natural logarithm function.
FloatComplexMeanFunction
Mean function.
FloatComplexPow2Function
Power function.
FloatComplexPowFunction
Power function.
FloatComplexRealFunction
Real function. Returns the real part of a complex number.
FloatComplexSinFunction
Sine function.
FloatComplexSinhFunction
Hyperbolic sine function.
FloatComplexSqrtFunction
Square root function.
FloatComplexSumFunction
Sum function.
FloatComplexSumOfSquaresFunction
Sum of squares function.
FloatComplexTanFunction
Tangent function.
FloatComplexTanhFunction
Hyperbolic tangent function.
FloatComplexVarianceFunction
Variance function.
FloatCosFunction
Cosine function.
FloatCoshFunction
Hyperbolic cosine function.
FloatExpFunction
Exponential function.
FloatFloorFunction
Floor function.
FloatLog10Function
Base-10 logarithm function.
FloatLogFunction
Natural logarithm function.
FloatMaxValueFunction
Maximum value.
FloatMeanFunction
Mean function.
FloatMedianFunction
Median function.
FloatMinValueFunction
Minimum value.
FloatNaNCountFunction
NaN count function.
FloatNaNMaxValueFunction
NaN maximum value.
FloatNaNMeanFunction
NaN mean function.
FloatNaNMedianFunction
NaN median function.
FloatNaNMinValueFunction
NaN minimum value.
FloatNaNSumFunction
NaN sum function.
FloatNaNSumOfSquaresFunction
NaN sum of squares function.
FloatNaNVarianceFunction
NaN variance function.
FloatPowFunction
Power function.
FloatRoundFunction
Rounding function.
FloatSinFunction
Sine function.
FloatSinhFunction
Hyperbolic sine function.
FloatSqrtFunction
Square root function.
FloatSumFunction
Sum function.
FloatSumOfSquaresFunction
Sum of squares function.
FloatTanFunction
Tangent function.
FloatTanhFunction
Hyperbolic tangent function.
FloatVarianceFunction
Variance function.
FloorFunction
Floor function.
Log10Function
Base-10 logarithm function.
LogFunction
Natural logarithm function.
MATRIX_MULT_CUTOFF
Cutoff point for using native optimized matrix-matrix multiplication. If the product of the number of rows and the number of columns is less than this number for both operands, the matrix multiplication is done by a simple algorithm locally. Otherwise native optimized code is invoked.
PowFunction
Power function.
RoundFunction
Rounding function.
SinFunction
Sine function.
SinhFunction
Hyperbolic sine function.
SqrtFunction
Square root function.
TanFunction
Tangent function.
TanhFunction
Hyperbolic tangent function.
VML_CUTOFF
Cutoff number for using VML functions.

Properties

  NameDescription
DoubleMachineEpsilon
The double precision machine epsilon for this machine.
FloatMachineEpsilon
The single precision machine epsilon for this machine.

See Also