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