Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Secant |
||
9 | { |
||
10 | /** |
||
11 | * SEC. |
||
12 | * |
||
13 | * Returns the secant of an angle. |
||
14 | * |
||
15 | * @param float $angle Number |
||
16 | * |
||
17 | * @return float|string The secant of the angle |
||
18 | */ |
||
19 | 21 | public static function sec($angle) |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * SECH. |
||
32 | * |
||
33 | * Returns the hyperbolic secant of an angle. |
||
34 | * |
||
35 | * @param float $angle Number |
||
36 | * |
||
37 | * @return float|string The hyperbolic secant of the angle |
||
38 | */ |
||
39 | 19 | public static function sech($angle) |
|
50 |