Click or drag to resize

PrecisionAlmostEqualRelative Method

Overload List
 NameDescription
Public Extension MethodAlmostEqualRelative(Complex, Complex) Checks whether two Complex numbers are almost equal.
Public Extension MethodAlmostEqualRelative(Complex32, Complex32) Checks whether two Complex numbers are almost equal.
Public Extension MethodAlmostEqualRelative(Double, Double) Checks whether two real numbers are almost equal.
Public Extension MethodAlmostEqualRelative(Single, Single) Checks whether two real numbers are almost equal.
Public Extension MethodAlmostEqualRelative(Complex, Complex, Double) Compares two complex and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualRelative(Complex, Complex, Int32) Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Public Extension MethodAlmostEqualRelative(Complex32, Complex32, Double) Compares two complex and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualRelative(Complex32, Complex32, Int32) Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Public Extension MethodAlmostEqualRelative(Double, Double, Double) Compares two doubles and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualRelative(Double, Double, Int32) Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Public Extension MethodAlmostEqualRelative(Single, Single, Double) Compares two complex and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualRelative(Single, Single, Int32) Compares two doubles and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Public Extension MethodAlmostEqualRelativeT(MatrixT, MatrixT, Double) Compares two matrices and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualRelativeT(MatrixT, MatrixT, Int32) Compares two matrices and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Public Extension MethodAlmostEqualRelativeT(VectorT, VectorT, Double) Compares two vectors and determines if they are equal within the specified maximum error.
Public Extension MethodAlmostEqualRelativeT(VectorT, VectorT, Int32) Compares two vectors and determines if they are equal to within the specified number of decimal places or not. If the numbers are very close to zero an absolute difference is compared, otherwise the relative difference is compared.
Top
See Also