|
| std::string | demangled_typename (const std::type_info &t) |
| | Get the pretty name of the given type as a string.
|
| std::shared_ptr< void > | load_lib (const std::filesystem::path &so_filename, DynamicLoadFlags flags) |
| | Load a DLL or DSO file.
|
| void * | load_func (void *lib_handle, const std::string &name) |
| | Get a pointer to a function inside of a loaded DLL or SO file.
|
| template<class Rep, class Period> |
| std::string_view | parse_single_duration (std::chrono::duration< Rep, Period > &t, std::string_view s) |
| | Adds the first duration in the string s to the duration t.
|
| template<class Rep, class Period> |
| void | parse_duration (std::chrono::duration< Rep, Period > &t, std::string_view s) |
| | Adds the sum of the durations in the string s to the duration t.
|
| template<class Derived> |
| auto | as_span (Eigen::DenseBase< Derived > &v) |
| | Convert an Eigen vector view to a std::span.
|
| template<class Derived> |
| auto | as_span (Eigen::DenseBase< Derived > &&v) |
| | Convert an Eigen vector view to a std::span.
|
| template<class Derived> |
| auto | as_span (const Eigen::DenseBase< Derived > &v) |
| | Convert an Eigen vector view to a std::span.
|
| template<class T, size_t E> |
| auto | as_eigen (std::span< T, E > s) |
| | Convert a std::span to an Eigen::Vector view.
|
| template<class T, size_t E> |
| auto | as_vec (std::span< T, E > s) |
| template<class Derived, class I = typename Derived::Index> |
| auto | as_view (Eigen::DenseBase< Derived > &M, with_index_type_t< I >={}) |
| | Convert an Eigen matrix view to a guanaqo::MatrixView.
|
| template<class Derived, class I = typename Derived::Index> |
| auto | as_view (const Eigen::DenseBase< Derived > &M, with_index_type_t< I >={}) |
| | Convert an Eigen matrix view to a guanaqo::MatrixView.
|
| template<class Derived, class I = typename Derived::Index> |
| auto | as_view (Eigen::DenseBase< Derived > &&M, with_index_type_t< I >={}) |
| | Convert an Eigen matrix view to a guanaqo::MatrixView.
|
| template<class Derived, class I = typename Derived::Index> |
| auto | as_view (const Eigen::DenseBase< Derived > &&M, with_index_type_t< I >={}) |
| | Convert an Eigen matrix view to a guanaqo::MatrixView.
|
| template<class T, class I, class S, StorageOrder O> |
| auto | as_eigen (MatrixView< T, I, S, O > M) |
| | Convert a guanaqo::MatrixView to an Eigen::Matrix view.
|
| template<class Rng> |
| auto | enumerate (Rng &&rng) |
| template<class T> |
| std::from_chars_result | from_chars (const char *first, const char *last, T &value, std::chars_format fmt=std::chars_format::general) |
| template<class T> |
| std::from_chars_result | from_chars (const char *first, const char *last, T &value, int base=10) |
| template<class T, class... Args> |
| std::from_chars_result | from_chars (const char *first, const char *last, T &value, std::chars_format fmt=std::chars_format::general) |
| template<class T, class... Args> |
| std::from_chars_result | from_chars (const char *first, const char *last, T &value, int base=10) |
| template<std::floating_point F> |
| std::string | float_to_str (F value, int precision) |
| template<std::floating_point F> |
| void | print_elem (std::span< char > buf, F value, std::ostream &os) |
| template<std::integral I> |
| void | print_elem (auto &, I value, std::ostream &os) |
| template<std::floating_point F> |
| void | print_elem (std::span< char > buf, std::complex< F > value, std::ostream &os) |
| template<class T> |
| T * | start_lifetime_as_array (void *p, size_t n) noexcept |
| template<class T> |
| const T * | start_lifetime_as_array (const void *p, size_t n) noexcept |
| template<class T> |
| T * | start_lifetime_as (void *p) noexcept |
| template<class T> |
| const T * | start_lifetime_as (const void *p) noexcept |
| template<class I> |
| void | foreach_chunked (I i_begin, I i_end, auto chunk_size, auto func_chunk, auto func_rem, LoopDir dir=LoopDir::Forward) |
| template<class I> |
| void | foreach_chunked_merged (I i_begin, I i_end, auto chunk_size, auto func_chunk, LoopDir dir=LoopDir::Forward) |
| template<class I, I R, I C, class F> |
| consteval auto | make_2d_lut (F f) |
| | Returns a 2D array of the form:
|
| template<class I, I N, class F> |
| consteval auto | make_1d_lut (F f) |
| | Returns an array of the form:
|
| template<auto... Ranges, class F> |
| consteval auto | make_lut (F f) |
| | Generalization of make_1d_lut and make_2d_lut.
|
| constexpr StorageOrder | transpose (StorageOrder o) |
| | Transpose the storage order (swaps row and column major).
|
| | PERFETTO_USE_CATEGORIES_FROM_NAMESPACE (guanaqo::trace) |
| template<std::floating_point F> |
| std::string_view | float_to_str_vw (std::span< char > buf, F value, int precision=std::numeric_limits< F >::max_digits10) |
| template<class T, std::size_t E> |
| std::ostream & | print_csv (std::ostream &os, std::span< T, E > x, PrintOpts opts={}) |
| template<class T, class I, class S, StorageOrder O> |
| std::ostream & | print_csv (std::ostream &os, MatrixView< T, I, S, O > X, PrintOpts opts={}) |
| template<class T, std::size_t E> |
| std::ostream & | print_matlab (std::ostream &os, std::span< T, E > x, std::string_view end=";\n") |
| template<class T, class I, class S, StorageOrder O> |
| std::ostream & | print_matlab (std::ostream &os, MatrixView< T, I, S, O > X, std::string_view end=";\n") |
| template<class T, std::size_t E> |
| std::ostream & | print_python (std::ostream &os, std::span< T, E > x, std::string_view end="\n", bool squeeze=true) |
| template<class T, class I, class S, StorageOrder O> |
| std::ostream & | print_python (std::ostream &os, MatrixView< T, I, S, O > X, std::string_view end="\n", bool squeeze=true) |
| template<std::ranges::viewable_range R1, std::ranges::viewable_range R2, class Comp = std::ranges::less, class Proj1 = std::identity, class Proj2 = std::identity> |
| set_intersection_iterable< std::ranges::views::all_t< R1 >, std::ranges::views::all_t< R2 >, Comp, Proj1, Proj2 > | iter_set_intersection (R1 &&r1, R2 &&r2, Comp comp={}, Proj1 proj1={}, Proj2 proj2={}) |
| auto | split (std::string_view full, std::string_view tok) |
| | Split the string full on the first occurrence of tok.
|
| auto | split_second (std::string_view full, std::string_view tok) |
| | Split the string s on the first occurrence of tok.
|
| std::string | join (std::ranges::input_range auto strings, join_opt opt={}) |
| | Join the list of strings into a single string, using the separator given by opt.
|
| std::string | join_quote (std::ranges::input_range auto strings, join_quote_opt opt={}) |
| | Join the list of strings into a single string, using the separator given by opt.
|
| void | sort_case_insensitive (auto &range) |
| | Sort the given range of strings in-place in a case-insensitive manner.
|
| std::ostream & | operator<< (std::ostream &, TimingsCPU) |
| template<class T, class F, class... Args> |
| decltype(auto) | timed (T &time, F &&func, Args &&...args) |
| TraceLogger & | get_trace_logger () |
| | Get a reference to the global trace logger instance.
|
| template<class Class, auto Method, class... ExtraArgs> |
| constexpr auto | type_erased_wrapped () |
| | Returns a function that accepts a void pointer, casts it to the class type of the member function Method, launders it, and then invokes Method with it, passing on the arguments to Method.
|
| template<class VTable, class Allocator> |
| constexpr size_t | default_te_buffer_size () |
| template<class... Types> |
| constexpr size_t | required_te_buffer_size_for () |
| template<class IndexT> |
| bool | operator== (CircularIndices< IndexT > a, CircularIndices< IndexT > b) |
| template<class IndexT> |
| bool | operator!= (CircularIndices< IndexT > a, CircularIndices< IndexT > b) |
| template<class IndexT> |
| bool | operator== (CircularIndexIterator< IndexT > a, CircularIndexIterator< IndexT > b) |
| template<class IndexT> |
| bool | operator!= (CircularIndexIterator< IndexT > a, CircularIndexIterator< IndexT > b) |
| template<class IndexT> |
| bool | operator== (ReverseCircularIndexIterator< IndexT > a, ReverseCircularIndexIterator< IndexT > b) |
| template<class IndexT> |
| bool | operator!= (ReverseCircularIndexIterator< IndexT > a, ReverseCircularIndexIterator< IndexT > b) |