PrecisionAlmostEqual(Complex, Complex, Double) Method |
Compares two complex and determines if they are equal within
the specified maximum error.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static bool AlmostEqual(
this Complex a,
Complex b,
double maximumAbsoluteError
)
Parameters
- a Complex
- The first value.
- b Complex
- The second value.
- maximumAbsoluteError Double
- The accuracy required for being almost equal.
Return Value
BooleanTrue if both values are almost equal up to the specified maximum absolute error; otherwise false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Complex. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also