◐ Shell
clean mode source ↗

std::complex::real - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

T real() const;

(1)

void real( T value );

(2)

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.

1)

Retorna a parte real.

Original:

Returns the real 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 a parte real de value.

Original:

Sets the real part 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 real a

Original:

the value to set the real 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

accesses the imaginary part of the complex number
(função pública membro) [edit]