![]() |
SOPT
Sparse OPTimisation
|
#include <catch2/catch_all.hpp>
#include <numeric>
#include <random>
#include <utility>
#include "sopt/maths.h"
#include "sopt/relative_variation.h"
#include "sopt/sampling.h"
#include "sopt/types.h"
Go to the source code of this file.
Functions | |
TEST_CASE ("Projector on positive quadrant", "[utility][project]") | |
TEST_CASE ("Weighted l1 norm", "[utility][l1]") | |
TEST_CASE ("Soft threshhold", "[utility][threshhold]") | |
TEST_CASE ("Sampling", "[utility][sampling]") | |
TEST_CASE ("Relative variation", "[utility][convergence]") | |
TEST_CASE ("Scalar elative variation", "[utility][convergence]") | |
TEST_CASE ("Standard deviation", "[utility]") | |
TEST_CASE | ( | "Projector on positive quadrant" | , |
"" | [utility][project] | ||
) |
Definition at line 13 of file maths.cc.
References sopt::positive_quadrant().
TEST_CASE | ( | "Relative variation" | , |
"" | [utility][convergence] | ||
) |
Definition at line 148 of file maths.cc.
References sopt::RelativeVariation< TYPE >::tolerance().
TEST_CASE | ( | "Sampling" | , |
"" | [utility][sampling] | ||
) |
Definition at line 121 of file maths.cc.
TEST_CASE | ( | "Scalar elative variation" | , |
"" | [utility][convergence] | ||
) |
Definition at line 158 of file maths.cc.
References sopt::ScalarRelativeVariation< TYPE >::relative_tolerance().
TEST_CASE | ( | "Soft threshhold" | , |
"" | [utility][threshhold] | ||
) |
Definition at line 72 of file maths.cc.
References a, b, and sopt::soft_threshhold().
TEST_CASE | ( | "Standard deviation" | , |
"" | [utility] | ||
) |
Definition at line 167 of file maths.cc.
References sopt::standard_deviation().
TEST_CASE | ( | "Weighted l1 norm" | , |
"" | [utility][l1] | ||
) |
Definition at line 55 of file maths.cc.
References sopt::l1_norm().