openGPMP
Open Source Mathematics Package
|
Namespaces | |
rndm | |
Classes | |
class | DataTable |
class | ThreadPool |
class | ThreadDispatch |
A class that provides a function to dispatch a function call to a thread pool and return a future object for obtaining the result. More... | |
class | TypeCast |
class | Logger |
class | Misc |
A class containing miscellaneous utility functions. More... | |
Typedefs | |
typedef std::pair< std::vector< std::string >, std::vector< std::vector< std::string > > > | DataTableStr |
typedef std::pair< std::vector< int64_t >, std::vector< std::vector< int64_t > > > | DataTableInt |
typedef std::pair< std::vector< long double >, std::vector< std::vector< long double > > > | DataTableDouble |
typedef std::pair< std::vector< std::string >, std::vector< std::vector< std::variant< int64_t, long double, std::string > > > > | TableType |
typedef std::vector< std::vector< std::variant< int64_t, long double, std::string > > > | MixedType |
Enumerations | |
enum class | DataType { Unknown , String , Integer , Double , dt_uint8 , dt_int8 , dt_uint16 , dt_int16 , dt_uint32 , dt_int32 , dt_uint64 , dt_int64 , dt_double , dt_ldouble , dt_str } |
enum for representing different data types More... | |
enum class | DataType { Unknown , String , Integer , Double , dt_uint8 , dt_int8 , dt_uint16 , dt_int16 , dt_uint32 , dt_int32 , dt_uint64 , dt_int64 , dt_double , dt_ldouble , dt_str } |
enum for representing different data types More... | |
Functions | |
static void | parallel_for (unsigned nb_elements, std::function< void(int start, int end)> functor, bool use_threads=true) |
Thread rudimentary for loops. More... | |
typedef std::pair< std::vector< long double >, std::vector< std::vector< long double > > > gpmp::core::DataTableDouble |
Definition at line 74 of file datatable.hpp.
typedef std::pair< std::vector< int64_t >, std::vector< std::vector< int64_t > > > gpmp::core::DataTableInt |
Definition at line 69 of file datatable.hpp.
typedef std::pair< std::vector< std::string >, std::vector< std::vector< std::string > > > gpmp::core::DataTableStr |
Definition at line 65 of file datatable.hpp.
typedef std::vector< std::vector<std::variant<int64_t, long double, std::string> > > gpmp::core::MixedType |
Definition at line 76 of file datatable_wip.hpp.
typedef std::pair< std::vector<std::string>, std::vector<std::vector<std::variant<int64_t, long double, std::string> > > > gpmp::core::TableType |
Definition at line 72 of file datatable_wip.hpp.
|
strong |
enum for representing different data types
Definition at line 59 of file datatable.hpp.
|
strong |
enum for representing different data types
Definition at line 55 of file datatable_wip.hpp.
|
static |
Thread rudimentary for loops.
[in] | nb_elements | : size of your for loop |
[in] | functor(start,end) | : your function processing a sub chunk of the for loop. "start" is the first index to process (included) until the index "end" (excluded) for(int i = start; i < end; ++i)
computation(i);
|
use_threads | : enable / disable threads |
Definition at line 246 of file threads.hpp.