complex::Conjugate

Description

it returns the complex conjugate of the value

Syntax

complex Conjugate( )

Parameters

Return

The complex conjugate

Examples

EX1

void    complex_Conjugate()
{
    complex        cc(1.2, 3.4);
    complex        cconj = cc.Conjugate();
    
    // Display the values:
    out_complex("original value = ", cc);    // Result is "original value = 1.200000+3.400000i"
    out_complex("conjugate value = ", cconj); // Result is "conjugate value = 1.200000-3.400000i"
}

Remark

See Also

header to Include

origin.h