alpaqa 1.0.0a14
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Namespaces | Functions
print.tpp File Reference
#include <alpaqa/util/print.hpp>
#include <cassert>
#include <charconv>
#include <cmath>
#include <limits>
#include <ostream>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  alpaqa
 
namespace  alpaqa::detail
 

Functions

std::string_view float_to_str_vw_snprintf (auto &&print, auto &buf, std::floating_point auto value, int precision, const char *fmt)
 
std::string_view float_to_str_vw (auto &buf, double value, int precision=std::numeric_limits< double >::max_digits10)
 
std::string_view float_to_str_vw (auto &buf, float value, int precision=std::numeric_limits< float >::max_digits10)
 
std::string_view float_to_str_vw (auto &buf, long double value, int precision=std::numeric_limits< long double >::max_digits10)
 
template<std::floating_point F>
std::string float_to_str (F value, int precision)
 
template<std::floating_point F>
void print_elem (auto &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 (auto &buf, std::complex< F > value, std::ostream &os)
 
template<class T >
std::ostream & print_csv_impl (std::ostream &os, const T &M, std::string_view sep, std::string_view begin, std::string_view end)
 
template<class T >
std::ostream & print_matlab_impl (std::ostream &os, const T &M, std::string_view end)
 
template<class T >
std::ostream & print_python_impl (std::ostream &os, const T &M, std::string_view end)