#include <alpaqa/config/config.hpp>
#include <alpaqa/util/demangled-typename.hpp>
#include <alpaqa/util/print.hpp>
#include <alpaqa-version.h>
#include "options.hpp"
#include "problem.hpp"
#include "util.hpp"
#include <algorithm>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <random>
#include <span>
#include <stdexcept>
#include <string>
#include <string_view>
#include <tuple>
#include <type_traits>
Go to the source code of this file.
◆ CheckGradientsOpts
| struct CheckGradientsOpts |
| Class Members |
|
bool |
print_full |
|
◆ print_usage()
| void print_usage |
( |
const char * |
a0 | ) |
|
◆ split_once()
| auto split_once |
( |
std::string_view |
s, |
|
|
char |
tok = '.' |
|
) |
| |
Split the string s on the first occurrence of tok.
Returns ("", s) if tok was not found.
Definition at line 80 of file gradient-checker.cpp.
◆ get_problem_path()
| auto get_problem_path |
( |
const char *const * |
argv | ) |
|
◆ check_gradients()
◆ main()
| int main |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
◆ finite_diff()
| vec finite_diff |
( |
const std::function< real_t(crvec)> & |
f, |
|
|
crvec |
x |
|
) |
| |