ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
rho.php
Go to the documentation of this file.
1
<?
php
2
10
namespace
Complex
;
11
20
if
(!function_exists(__NAMESPACE__ .
'\\rho'
)) {
21
function
rho($complex): float
22
{
23
$complex = Complex::validateComplexArgument($complex);
24
25
return \sqrt(
26
($complex->getReal() * $complex->getReal()) +
27
($complex->getImaginary() * $complex->getImaginary())
28
);
29
}
30
}
Complex
php
libs
composer
vendor
markbaker
complex
classes
src
functions
rho.php
Generated on Thu Jan 30 2025 19:01:20 for ILIAS by
1.8.13 (using
Doxyfile
)