Stellarium 0.14.3
Main Page
Modules
Classes
Core API
File List
plugins
Satellites
src
gsatellite
mathUtils.hpp
1
/***************************************************************************
2
* Name: mathUtils.cpp
3
*
4
* Description: Mathematical utilities
5
* Implement some mathematical utilities to trigonometrical
6
* calc.
7
*
8
*
9
***************************************************************************/
10
11
/***************************************************************************
12
* Copyright (C) 2004 by J. L. Canales *
13
* ph03696@homeserver *
14
* *
15
* This program is free software; you can redistribute it and/or modify *
16
* it under the terms of the GNU General Public License as published by *
17
* the Free Software Foundation; either version 2 of the License, or *
18
* (at your option) any later version. *
19
* *
20
* This program is distributed in the hope that it will be useful, *
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
23
* GNU General Public License for more details. *
24
* *
25
* You should have received a copy of the GNU General Public License *
26
* along with this program; if not, write to the *
27
* Free Software Foundation, Inc., *
28
* 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. *
29
***************************************************************************/
30
31
#ifndef _MATHUTILS_HPP_
32
#define _MATHUTILS_HPP_ 1
33
34
37
double
AcTan
(
double
sinx,
double
cosx);
38
41
double
Sqr
(
double
arg);
42
43
44
#endif // _MATHUTILS_HPP_
Sqr
double Sqr(double arg)
Returns square of a double.
AcTan
double AcTan(double sinx, double cosx)
Four-quadrant arctan function.
Generated on Sun Mar 20 2016 15:06:43 for Stellarium by
1.8.8