| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
function Cmplx (RealPart, ImaginaryPart: Real): Complex; |
`Cmplx' makes a complex number from `RealPart' and `ImaginaryPart'.
`Cmplx' is an ISO-10206 Extended Pascal extension.
program CmplxDemo;
var
z: Complex;
x, y: Real;
begin
z := Cmplx (x, y) { z := x + iy }
end.
|
section 9.217 Re, section 9.111 Im, section 9.197 Polar, section 9.13 Arg