A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/complex/sqrt/ below:

function template

<complex>

std::sqrt
template<class T> complex<T> sqrt (const complex<T>& x);

Square root of complex

Returns the square root of x using the principal branch, whose cuts are along the negative real axis.

This is the complex version of the sqrt function (defined in <cmath>).



Parameters
x
Complex value.

Return value Square root of x.

See also
pow
Power of complex (function template)
log
Natural logarithm of complex (function template)
exp
Exponential of complex (function template)
sqrt (cmath)
Compute square root (function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4