function template · 2 overloads
std::norm
- Header
<complex>- Draft
- [cmplx.over]
- Scope
std- cppreference
- std::norm
Overloads
- (1)
template<class A> requires is-arithmetic-v<A> constexpr /* implementation-defined */ norm(A x); - (2)
template<class T> constexpr T norm(const complex<T>& x);