Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is part of INSTINCT, the INS Toolkit for Integrated |
2 |
|
|
// Navigation Concepts and Training by the Institute of Navigation of |
3 |
|
|
// the University of Stuttgart, Germany. |
4 |
|
|
// |
5 |
|
|
// This Source Code Form is subject to the terms of the Mozilla Public |
6 |
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this |
7 |
|
|
// file, You can obtain one at https://mozilla.org/MPL/2.0/. |
8 |
|
|
|
9 |
|
|
#include "Cosecant.hpp" |
10 |
|
|
|
11 |
|
|
#include "Navigation/Math/Math.hpp" |
12 |
|
|
|
13 |
|
|
namespace NAV |
14 |
|
|
{ |
15 |
|
|
|
16 |
|
31113 |
double calcTropoMapFunc_cosecant(double elevation) |
17 |
|
|
{ |
18 |
|
31113 |
return math::csc(elevation); |
19 |
|
|
} |
20 |
|
|
|
21 |
|
✗ |
double calcTropoMapFunc_secant(double zenithDistance) |
22 |
|
|
{ |
23 |
|
✗ |
return math::sec(zenithDistance); |
24 |
|
|
} |
25 |
|
|
|
26 |
|
|
} // namespace NAV |
27 |
|
|
|