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