Aether  0.0
Ionosphere-Thermosphere model
tools.h
1 // Copyright 2020, the Aether Development Team (see doc/dev_team.md for members)
2 // Full license can be found in License.md
3 
4 #ifndef INCLUDE_TOOLS_H_
5 #define INCLUDE_TOOLS_H_
6 
7 std::vector<arma_cube> make_cube_vector(int64_t nLons,
8  int64_t nLats,
9  int64_t nAlts,
10  int64_t nComps);
11 
12 arma_cube dot_product(std::vector<arma_cube> vec1,
13  std::vector<arma_cube> vec2);
14 
15 std::vector<arma_cube> cross_product(std::vector<arma_cube> vec1,
16  std::vector<arma_cube> vec2);
17 
18 std::vector<precision_t> make_vector_from_fvec(arma_vec in_fvec);
19 arma_vec make_fvec_from_vector(std::vector<precision_t> in_vector);
20 
21 #endif // INCLUDE_TOOLS_H_