forked from yuangu/sxtwl_cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSSQ.h
More file actions
38 lines (32 loc) · 651 Bytes
/
SSQ.h
File metadata and controls
38 lines (32 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
#include <vector>
#include <string>
typedef enum
{
QType, //气
SType //朔
} QSType;
class SSQ
{
public:
SSQ();
~SSQ();
int calc(long double jd, QSType type);
//较高精度气;
long double qi_high(long double);
//较高精度朔
long double so_high(long double);
long double so_low(long double W);
long double qi_low(long double W);
void calcY(int jd);
std::string jieya(std::string s);
std::vector<long double>* suoKB;
std::vector<long double>* qiKB;
std::vector<long double> ZQ;
long double ZQ_pe1, ZQ_pe2;
std::vector<int> HS;
std::vector<int> ym;
std::vector<int> dx;
int leap;
std::string SB, QB;
};