Cove - A Practical Quantum Computer Programming Framework
AbsoluteValue Method
Return the absolute value of the complex number, defined by (a^2 + b^2)^(1/2). Since i^2 = 1, there will be no imaginary component. The absolute value is also known as the modulus. Reference: J. Stewart, Calculus, 3 ed. Pacific Grove, CA: Brooks/Cole Publishing Company, 1995.
Declaration Syntax
C#Visual BasicVisual C++
public double AbsoluteValue()
Public Function AbsoluteValue As Double
double AbsoluteValue()
Return Value
The absolute value of the complex number

Assembly: Cove.ClassicalUtilities (Module: Cove.ClassicalUtilities) Version: (