complex::m_im

ClassName

complex

AccessType

public

Name

m_im

Declaration

double m_im

Remark

Examples

EX1

void    complex_imaginary_part()
{
    complex        cc(4.5, 7.8);
    
    out_double("imaginary part = ", cc.m_im);  // shoulde be 7.8
}

Description

the property representing the imaginary part of the complex value.

header to Include

origin.h

See Also

Reference