ILIAS
Release_4_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Maths.php
Go to the documentation of this file.
1
<?php
14
function
hypo
($a, $b) {
15
if
(abs($a) > abs($b)) {
16
$r = $b / $a;
17
$r = abs($a) * sqrt(1 + $r * $r);
18
}
elseif
($b != 0) {
19
$r = $a / $b;
20
$r = abs($b) * sqrt(1 + $r * $r);
21
}
else
{
22
$r = 0.0;
23
}
24
return
$r;
25
}
// function hypo()
26
27
Services
Excel
classes
PHPExcel
Shared
JAMA
utils
Maths.php
Generated on Wed Apr 27 2016 19:01:37 for ILIAS by
1.8.1.2 (using
Doxyfile
)