fix: add missing files for compilation

This commit is contained in:
Guilhem Lavaux 2024-11-07 13:56:43 +02:00
parent 31bb742903
commit 1a7195d4f4
4 changed files with 7643 additions and 1 deletions

7618
ext_src/_cosmomath.cpp Normal file

File diff suppressed because it is too large Load diff

23
ext_src/algo.hpp Normal file
View file

@ -0,0 +1,23 @@
#ifndef __COSMOTOOL_ALGO_HPP
#define __COSMOTOOL_ALGO_HPP
namespace CosmoTool
{
template<typename T>
T cube(T a)
{
return a*a*a;
}
template<typename T>
T square(T a)
{
return a*a;
}
}
#endif