Divides a scalar value by a complex number and puts the result into another complex number.

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

Syntax

C#
public static void Divide(
	double s,
	Complex a,
	ref Complex result
)

Parameters

s
Type: System..::.Double
A scalar value.
a
Type: AForge.Math..::.Complex
A Complex instance.
result
Type: AForge.Math..::.Complex %
A Complex instance to hold the result.

Exceptions

ExceptionCondition
System..::.DivideByZeroExceptionCan not divide by zero.

See Also