qat.core.variables.sqrt
- qat.core.variables.sqrt(number)
Square root of a (positive or complex) number
from qat.core.variables import sqrt print(sqrt(625)) print(sqrt(2j))
25.0 (1+1j)
- Parameters
number (
Variable
orArithExpression
or number) – a number (positive or complex)- Returns
square root
- Return type
ArithExpression
or number