Tests whether two complex numbers are approximately equal given a tolerance value.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static bool ApproxEqual(
	Complex a,
	Complex b,
	double tolerance
)

Parameters

a
Type: AForge.Math..::.Complex
A Complex instance.
b
Type: AForge.Math..::.Complex
A Complex instance.
tolerance
Type: System..::.Double
The tolerance value used to test approximate equality.

Return Value

[Missing <returns> documentation for M:AForge.Math.Complex.ApproxEqual(AForge.Math.Complex,AForge.Math.Complex,System.Double)]

Remarks

The default tolerance value, which is used for the test, equals to 8.8817841970012523233891E-16.

See Also