std::complex - Online Linux Manual PageSection : 3
Updated : 19 Jun 2018
Source : libstdc++
NAMEstd::complex −
SYNOPSIS
Public Typestypedef _Tp value_type
Public Member Functionsconst complex & __rep () const
template<typename _Up > complex (const complex< _Up > &__z)
complex (const _Tp &__r=_Tp(), const _Tp &__i=_Tp())
void imag (_Tp __val)
_Tp imag () const
template<typename _Up > complex< _Tp > & operator*= (const complex< _Up > &)
complex< _Tp > & operator*= (const _Tp &)
template<typename _Up > complex< _Tp > & operator+= (const complex< _Up > &)
complex< _Tp > & operator+= (const _Tp &__t)
template<typename _Up > complex< _Tp > & operator-= (const complex< _Up > &)
complex< _Tp > & operator-= (const _Tp &__t)
template<typename _Up > complex< _Tp > & operator/= (const complex< _Up > &)
complex< _Tp > & operator/= (const _Tp &)
template<typename _Up > complex< _Tp > & operator= (const complex< _Up > &)
complex< _Tp > & operator= (const _Tp &)
void real (_Tp __val)
_Tp real () const
Detailed Description
template<typename _Tp> struct std::complex< _Tp >Template to represent complex numbers. Specializations for float, double, and long double are part of the library. Results with any other type are not guaranteed. Parameters: Tp Type of real and imaginary values. Definition at line 122 of file complex.
Member Typedef Documentation
template<typename _Tp> typedef _Tp std::complex< _Tp >::value_typeValue typedef. Definition at line 125 of file complex.
Constructor & Destructor Documentation
template<typename _Tp> std::complex< _Tp >::complex (const _Tp & __r = _Tp(), const _Tp & __i = _Tp()) [inline]Default constructor. First parameter is x, second parameter is y. Unspecified parameters default to 0. Definition at line 129 of file complex.
template<typename _Tp> template<typename _Up > std::complex< _Tp >::complex (const complex< _Up > & __z) [inline]Copy constructor. Definition at line 136 of file complex.
Member Function Documentation
template<typename _Tp> complex<_Tp>& std::complex< _Tp >::operator+= (const _Tp & __t) [inline]Add t to this complex number. Definition at line 179 of file complex.
template<typename _Tp> complex<_Tp>& std::complex< _Tp >::operator-= (const _Tp & __t) [inline]Subtract t from this complex number. Definition at line 188 of file complex.
AuthorGenerated automatically by Doxygen for libstdc++ from the source code. 0
Johanes Gumabo
Data Size : 18,680 byte
man-std::complex.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 198,295
Visitor ID : :
Visitor IP : 3.138.102.163 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.