◐ Shell
clean mode source ↗

std::complex::imag - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

T imag() const;

(1)

void imag( T value );

(2)

Acessa a parte imaginária do número complexo.

Original:

Accesses the imaginary part of the complex number.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

1)

Devolve a parte imaginária.

Original:

Returns the imaginary part.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

Define o imaginário real para value.

Original:

Sets the real imaginary to value.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

value -

o valor a definir a parte imaginária para

Original:

the value to set the imaginary part to

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Veja também

acessa a parte real do número complexo

Original:

accesses the real part of the complex number

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(função pública membro) [edit]