#include <iostream>
#include <armadillo/armadillo>
#include <filesystem>
#include <fmt/color.h>
#include <mutex>
#include <functional>
#include <memory>
Go to the source code of this file.
|
| std::string | suanpan::pattern (const std::string_view header, const std::string_view &file_name, const std::string_view &format) |
| |
| template<typename... T> |
| void | suanpan::debug (const std::string_view file_name, const int line, const std::string_view format_str, const T &... args) |
| |
| template<typename... T> |
| void | suanpan::warning (const std::string_view file_name, const int line, const std::string_view format_str, const T &... args) |
| |
| template<typename... T> |
| void | suanpan::error (const std::string_view file_name, const int line, const std::string_view format_str, const T &... args) |
| |
| template<typename... T> |
| void | suanpan::fatal (const std::string_view file_name, const int line, const std::string_view format_str, const T &... args) |
| |
| template<typename... T> |
| void | suanpan::info (const std::string_view format_str, const T &... args) |
| |
| template<typename... T> |
| std::string | suanpan::format (const std::string_view format_str, const T &... args) |
| |
| template<typename T > |
| std::string | suanpan::format (const Col< T > &in_vec) |
| |
| template<typename T > |
| void | suanpan::info (const Col< T > &in_vec) |
| |
| template<typename T > |
| void | suanpan::info (const std::string_view format_str, const Col< T > &in_vec) |
| |
| template<typename... T> |
| void | suanpan::highlight (const std::string_view format_str, const T &... args) |
| |
| void | suanpan_assert (const std::function< void()> &F) |
| |
| template<class IN , class FN > |
| void | suanpan::for_all (IN &from, FN &&func) |
| |
◆ _strcmpi
| #define _strcmpi strcasecmp |
◆ ARMA_CERR_STREAM
◆ ARMA_COUT_STREAM
◆ ARMA_USE_SUPERLU
◆ SUANPAN_DEBUG
◆ suanpan_debug
| #define suanpan_debug |
( |
|
... | ) |
suanpan::debug(__FILE__, __LINE__, ##__VA_ARGS__) |
◆ suanpan_error
| #define suanpan_error |
( |
|
... | ) |
suanpan::error(__FILE__, __LINE__, ##__VA_ARGS__) |
◆ SUANPAN_EXPORT
| #define SUANPAN_EXPORT extern "C" |
◆ SUANPAN_EXTRA_DEBUG
| #define SUANPAN_EXTRA_DEBUG |
◆ suanpan_fatal
| #define suanpan_fatal |
( |
|
... | ) |
suanpan::fatal(__FILE__, __LINE__, ##__VA_ARGS__) |
◆ suanpan_for_each
| #define suanpan_for_each std::for_each |
◆ suanpan_highlight
◆ SUANPAN_IMPORT
| #define SUANPAN_IMPORT extern "C" |
◆ suanpan_info
◆ suanpan_sort
| #define suanpan_sort std::sort |
◆ suanpan_warning
| #define suanpan_warning |
( |
|
... | ) |
suanpan::warning(__FILE__, __LINE__, ##__VA_ARGS__) |
◆ suanpan_assert()
| void suanpan_assert |
( |
const std::function< void()> & |
F | ) |
|
|
inline |
◆ sp_d
template<class T >
| concept sp_d = std::is_floating_point_v<T> |
◆ sp_i
template<class T >
| concept sp_i = std::is_integral_v<T> |
◆ SUANPAN_CERR
| auto& SUANPAN_CERR = std::cout |
|
inline |
◆ SUANPAN_CFTL
| auto& SUANPAN_CFTL = std::cout |
|
inline |
◆ SUANPAN_COLOR
◆ SUANPAN_COUT
| auto& SUANPAN_COUT = std::cout |
|
inline |
◆ SUANPAN_CWRN
| auto& SUANPAN_CWRN = std::cout |
|
inline |
◆ SUANPAN_EXIT
| constexpr auto SUANPAN_EXIT = 1 |
|
constexpr |
◆ SUANPAN_FAIL
| constexpr auto SUANPAN_FAIL = -1 |
|
constexpr |
◆ SUANPAN_PRINT
◆ SUANPAN_SUCCESS
| constexpr auto SUANPAN_SUCCESS = 0 |
|
constexpr |
◆ SUANPAN_VERBOSE