Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

std::complex(3) [debian man page]

std::complex< _Tp >(3cxx)												 std::complex< _Tp >(3cxx)

NAME
std::complex< _Tp > - SYNOPSIS
Public Types typedef _Tp value_type Public Member Functions constexpr complex (const _Tp &__r=_Tp(), const _Tp &__i=_Tp()) template<typename _Up > constexpr complex (const complex< _Up > &__z) constexpr complex __rep () const constexpr _Tp imag () const void imag (_Tp __val) 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 &) template<typename _Up > complex< _Tp > & operator= (const complex< _Up > &) constexpr _Tp real () const void real (_Tp __val) 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 124 of file complex. Member Typedef Documentation template<typename _Tp> typedef _Tp std::complex< _Tp >::value_type Value typedef. Definition at line 127 of file complex. Constructor &; Destructor Documentation template<typename _Tp> constexpr 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 131 of file complex. template<typename _Tp> template<typename _Up > constexpr std::complex< _Tp >::complex (const complex< _Up > &__z) [inline] Copy constructor. Definition at line 138 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 181 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 190 of file complex. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::complex< _Tp >(3cxx)

Check Out this Related Man Page

std::slice_array< _Tp >(3cxx)											     std::slice_array< _Tp >(3cxx)

NAME
std::slice_array< _Tp > - SYNOPSIS
Public Types typedef _Tp value_type Public Member Functions slice_array (const slice_array &) void operator%= (const valarray< _Tp > &) const template<class _Dom > void operator%= (const _Expr< _Dom, _Tp > &) const void operator&= (const valarray< _Tp > &) const template<class _Dom > void operator&= (const _Expr< _Dom, _Tp > &) const void operator*= (const valarray< _Tp > &) const template<class _Dom > void operator*= (const _Expr< _Dom, _Tp > &) const void operator+= (const valarray< _Tp > &) const template<class _Dom > void operator+= (const _Expr< _Dom, _Tp > &) const void operator-= (const valarray< _Tp > &) const template<class _Dom > void operator-= (const _Expr< _Dom, _Tp > &) const void operator/= (const valarray< _Tp > &) const template<class _Dom > void operator/= (const _Expr< _Dom, _Tp > &) const void operator<<= (const valarray< _Tp > &) const template<class _Dom > void operator<<= (const _Expr< _Dom, _Tp > &) const slice_array & operator= (const slice_array &) void operator= (const valarray< _Tp > &) const void operator= (const _Tp &) const template<class _Dom > void operator= (const _Expr< _Dom, _Tp > &) const void operator>>= (const valarray< _Tp > &) const template<class _Dom > void operator>>= (const _Expr< _Dom, _Tp > &) const void operator^= (const valarray< _Tp > &) const template<class _Dom > void operator^= (const _Expr< _Dom, _Tp > &) const void operator|= (const valarray< _Tp > &) const template<class _Dom > void operator|= (const _Expr< _Dom, _Tp > &) const Friends class valarray< _Tp > Detailed Description template<typename _Tp>class std::slice_array< _Tp > Reference to one-dimensional subset of an array. A slice_array is a reference to the actual elements of an array specified by a slice. The way to get a slice_array is to call operator[](slice) on a valarray. The returned slice_array then permits carrying operations out on the referenced subset of elements in the original valarray. For example, operator+=(valarray) will add values to the subset of elements in the underlying valarray this slice_array refers to. Parameters: Tp Element type. Definition at line 124 of file slice_array.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::slice_array< _Tp >(3cxx)
Man Page